Skip to main content
Glama

departments: GET /api/departments

get_departments_2202a406028b39999cd39cda
Read-onlyIdempotent

GET /api/departments. GET /api/departments. Operation ID: 2202a406028b39999cd39cda; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so safety is covered. The description adds nothing about pagination, filtering, default result size, or permission requirements — for a list endpoint, that missing operational context is the main gap.

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

Conciseness2/5

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

The single meaningful line is duplicated verbatim ('GET /api/departments. GET /api/departments.'), which is pure waste at this length. What remains is an operation ID and a pointer, with no informative content front-loaded.

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

Completeness2/5

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

With nested parameters, zero schema coverage, and no output schema, the description must carry the explanatory load but does not. An agent cannot determine valid query fields or the shape of the response from anything provided.

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

Parameters2/5

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

Schema description coverage is 0% and both parameters (query, params, the latter a nested object) are undocumented. The description offers no field meaning and only defers to describe_operation, which does not tell the agent what can be passed here.

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

Purpose2/5

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

The description only restates the HTTP verb and path ('GET /api/departments') — effectively a tautology of the title and tool name. It never says what a department represents in this domain or how the result differs from sibling resources like sites or entities.

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 indication of when to call this instead of related list endpoints (get_sites, get_entities, get_users). The only directional hint is that describe_operation holds the native request schemas, which is a schema pointer, not usage guidance.

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.

Resources