Skip to main content
Glama

leases: GET /api/leases/:id/documents

get_leases_by_id_documents_fe5db3a4d9cfb76ab99ac616
Read-onlyIdempotent

GET /api/leases/:id/documents. GET /api/leases/:id/documents. Operation ID: fe5db3a4d9cfb76ab99ac616; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsYes

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=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is fully covered without help. The description adds nothing beyond that — no note on whether results are paginated, whether documents include metadata or links, or how many are returned. No contradiction with annotations.

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 text is short, but it wastes a full sentence duplicating the route verbatim and front-loads an opaque URL rather than a meaningful statement of what is returned.

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?

No output schema exists and parameters are undocumented, so the description should carry the burden of explaining return shape and filtering; it does neither. The only real information conveyed is the read-only safety profile, which annotations already supply.

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 the tool has two parameters (a free-form `query` object and `params.id`). The path fragment implies `:id` is a lease identifier, but the description never explains what `query` accepts or what the id refers to, so it fails to compensate for the coverage gap.

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 route twice ("GET /api/leases/:id/documents. GET /api/leases/:id/documents.") without translating it into plain-language purpose. An agent can infer it reads documents belonging to a lease, but nothing distinguishes it from the many sibling document endpoints such as get_leases_by_id_documents_by_documentI... or get_leases_by_id_documents_ai_priority....

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 call this versus the sibling document tools. The only routing hint is that describe_operation 'provides native request schemas,' which is a generic pointer rather than a use case or exclusion.

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