Skip to main content
Glama

leases: GET /api/leases/:id/payment-requests

get_leases_by_id_payment_requests_63e69e55363a306051c18702
Read-onlyIdempotent

GET /api/leases/:id/payment-requests. GET /api/leases/:id/payment-requests. Operation ID: 63e69e55363a306051c18702; 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 and mutability are fully covered. The description adds nothing beyond that — no pagination, filtering behavior, permission requirements, or result shape — so it earns only the minimum for not contradicting the 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 description literally repeats the same sentence twice ('GET /api/leases/:id/payment-requests. GET /api/leases/:id/payment-requests.'), wasting half its length. What remains is a path dump plus a boilerplate operation-ID note, with no front-loaded explanation of what a payment request is.

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?

There is no output schema, and the description does not describe what a payment request contains or how results are returned, so the agent has no model of the response. With zero parameter documentation and an unexplained free-form query object, the definition is not sufficient to call the tool confidently without first invoking describe_operation.

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 description documents neither the required `id` (implicitly the lease id from the path) nor the free-form `query` object. The path token ':id' gives a faint hint about the required parameter, but nothing about what query options are accepted, which is a real gap for a 2-parameter tool with a nested free-form object.

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 is a verbatim copy of the title, itself just a raw HTTP path. It does convey that this retrieves payment requests scoped to a lease, but it restates the name/title rather than describing the operation in human terms, and it offers no differentiation from the hundreds of other lease-subresource GET siblings.

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 versus a sibling like get_leases_by_id_payments or the accounting lease payment-schedule endpoints. The only routing hint is that describe_operation 'provides native request schemas,' which is a schema-fetch 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