Skip to main content
Glama

List departments

shiftbase_list_departments
Read-only

List departments (sites/branches that own teams, shifts and schedules) with address and timesheet/clocking settings. GET /departments.

Input Schema

NameRequiredDescriptionDefault
limitNoResults per page, 1-200 (default 50). The reply's total and next_offset show what is left.
offsetNoIndex of the first result; pass the previous reply's next_offset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The readOnlyHint annotation already establishes this is a safe read. The description adds useful content context beyond the annotation by noting that results include address and timesheet/clocking settings, and it cites the backing endpoint. It does not discuss pagination behavior or auth requirements, though the schema covers pagination.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact clauses: the resource definition comes first, then the endpoint shorthand. No filler, nothing repeated from the schema, and the most useful disambiguating detail is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, annotation-covered read-only list tool with fully documented parameters and no output schema, the description covers what the resource is and what it contains. Only the when-to-use routing against sibling list tools is absent, which is minor for this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so limit and offset are fully documented in the schema with defaults and paging semantics. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List departments') and disambiguates what a department is ('sites/branches that own teams, shifts and schedules'), which helps separate it from siblings like shiftbase_list_locations and shiftbase_list_teams. It also names the endpoint. It stops short of explicitly differentiating itself from those siblings by name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives such as shiftbase_list_locations or shiftbase_list_teams, and no prerequisite or context guidance. Usage must be inferred entirely from the tool name and resource description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.