Skip to main content
Glama

sites: GET /api/sites/:siteId/units

get_sites_by_siteId_units_dc0b1d794ecb4aaef96e4212
Read-onlyIdempotent

GET /api/sites/:siteId/units. GET /api/sites/:siteId/units. Operation ID: dc0b1d794ecb4aaef96e4212; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds no behavioral context such as pagination, response shape, or auth requirements beyond repeating the endpoint.

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 first two sentences are identical repetitions of the endpoint path, wasting space without adding information. The remaining text is minimal and front-loaded only in the sense that it immediately names the endpoint.

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?

For a list endpoint with a free-form query object and no output schema, the description says almost nothing about what is returned or how to shape the query. The only aid is the generic pointer to describe_operation.

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

Parameters1/5

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

Schema description coverage is 0% for 2 parameters, and the description explains neither the required siteId nor the arbitrary query object. It does not compensate for the schema gap.

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?

The description identifies the exact endpoint, GET /api/sites/:siteId/units, so an agent can infer that it lists units for a given site. However, it does not distinguish this tool from the closely related get_sites_by_siteId_units_by_unitId sibling.

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 guidance on when to use this tool versus the by_unitId variant or any other sibling. The only pointer is to describe_operation for schemas, not for usage selection.

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