Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as LeaseCommand. If you published it, claim ownership there.

accounting: GET /api/accounting/leases/:id/book-context

get_accounting_leases_by_id_book_contex_bd621532f343a02898bb75be
Read-onlyIdempotent

GET /api/accounting/leases/:id/book-context. GET /api/accounting/leases/:id/book-context. Operation ID: bd621532f343a02898bb75be; describe_operation provides native request schemas.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "params": "<params>"
    },
    "name": "get_accounting_leases_by_id_book_contex_bd621532f343a02898bb75be"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

D1.9/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. The description adds nothing beyond that — no note on what the book context contains, whether it requires a closed/booked period, or any error/empty-state behavior, which matters for an accounting-period scoped read.

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?

It is short, but the opening sentence is duplicated verbatim and the operation-ID hash adds no decision-relevant content. Front-loading the path is reasonable, yet the two sentences present carry almost no informational value per token.

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, no parameter documentation, and a nested open-ended query object, so the description should carry substantial weight — instead it delegates to describe_operation and gives no indication of the return shape or the meaning of the endpoint. Inadequate for a lease-scoped accounting read among ~30 near-identical siblings.

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% across two parameters, including a nested free-form 'query' object with additionalProperties and a required string 'id' bounded to 2000 chars. The description says nothing about the id's format (lease UUID vs. business id) or what query keys the open-ended object accepts, 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 endpoint path 'GET /api/accounting/leases/:id/book-context' twice, which is a tautological repetition of the title. It never explains what a 'book context' is or what the response represents, so an agent cannot tell from the text alone how this differs from the many sibling lease sub-resource endpoints beyond the URL suffix.

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 or when-not-to-use guidance, and no prerequisites or alternatives are named. The only directive is the note that describe_operation provides native request schemas, which points at a discovery step rather than explaining when this specific tool should be chosen.

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