Skip to main content
Glama

leases: GET /api/leases/:leaseId/accounting-history/compare

get_leases_by_leaseId_accounting_histor_36f63bb15511bf11747bd283
Read-onlyIdempotent

GET /api/leases/:leaseId/accounting-history/compare. GET /api/leases/:leaseId/accounting-history/compare. Operation ID: 36f63bb15511bf11747bd283; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds nothing about the comparison semantics, which is the key behavioral unknown for this endpoint — what is compared against what, and whether it requires multiple periods to exist.

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 duplicated endpoint sentence wastes the entire first half of the description. Structure is technically front-loaded but the content is redundant filler rather than substance.

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

Completeness1/5

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

A comparison endpoint with an unconstrained free-form query object, no output schema, and no annotation-independent explanation is left essentially undefined. An agent has no basis for constructing a correct call.

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% and the description provides no parameter information at all. The free-form 'query' object and required 'leaseId' path param are undocumented anywhere, leaving the agent to guess what query options the compare endpoint accepts.

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 endpoint path and title verbatim, twice. It never explains what an accounting-history 'compare' returns — which periods are compared, what dimensions, or how it differs from the sibling get_leases_by_leaseId_accounting_histor_35d90a80d4acb9346b658a7e. An agent cannot distinguish the two without opening both schemas.

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 when-to-use guidance and no mention of the near-identical sibling. The only actionable pointer is 'describe_operation provides native request schemas', which tells the agent to go elsewhere for input details rather than when to pick this tool.

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