List employees

List employees, with their department and contract type.

MCP tool shiftbase_read → list_employees

read

Returns the employee id, name, department and contract type. Which employees appear depends on the departments your role can open.

Parameters

Parameters: list_employees
NameTypeDescription
department_id string string Only employees of this department.
query string string Part of a name.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "shiftbase_read",
    "arguments": {
      "operation": "list_employees",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "employees": [
      {
        "id": "501",
        "name": "Lena Ortiz",
        "department": "Harbor Cafe",
        "contract_type": "Part-time"
      },
      {
        "id": "502",
        "name": "Sam Okafor",
        "department": "Harbor Cafe",
        "contract_type": "Full-time"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.