Skip to main content
Glama

accounting: GET /api/accounting/leases/:id/direct-costs

get_accounting_leases_by_id_direct_cost_09107c5fd73b203224088e57
Read-onlyIdempotent

GET /api/accounting/leases/:id/direct-costs. GET /api/accounting/leases/:id/direct-costs. Operation ID: 09107c5fd73b203224088e57; 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, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds nothing beyond that profile—no pagination, no shape of the direct-cost record, no permission scope. It does not contradict 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?

Short, but the first sentence is duplicated verbatim, and no content is front-loaded beyond the path. Brevity here comes from under-specification rather than economy.

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 the description carries none of the burden of explaining return values, response shape, or query semantics for a nested-object request. For a two-parameter nested request with zero schema documentation, far more is needed.

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 there are two parameters (a required path id and an untyped query object). The description only mirrors ':id' from the URL and says nothing about the id format or what query filters are accepted, 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 is a verbatim restatement of the endpoint path in the tool name/title, repeated twice. An agent can infer 'fetch direct costs for a lease by id', but nothing explains what a direct cost is or how this differs from the dozens of sibling get_accounting_leases_by_id_* sub-resource tools.

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, no prerequisites, and no naming of alternatives. The only actionable sentence points at describe_operation for schemas, which is a workflow hint rather than usage guidance for this tool's 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