Get transaction
modern_treasury_get_transactionGet a single transaction by id. API: GET /transactions/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Transaction id. |
modern_treasury_get_transactionGet a single transaction by id. API: GET /transactions/{id}.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Transaction id. |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safe-read profile is covered. The description adds only the underlying API route (GET /transactions/{id}), which is mildly useful for mapping but discloses no behavior such as error handling or what happens on an unknown id.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the action; nothing is padded. The API-route sentence is arguably redundant for an agent but is compact and does convey the underlying endpoint.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, so the description carries the burden of indicating what a transaction object contains or returns, and it says nothing about the response payload. Adequate for invocation, incomplete for interpreting results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single 'id' parameter is documented in the schema. The description adds no format, prefix, or example detail beyond what the schema already provides, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get a single transaction by id'), and the word 'single' implicitly distinguishes it from the sibling list_transactions. It is clear, but it never names or contrasts with that sibling explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this versus list_transactions or other get_* siblings. The only implied cue is that an id is required, which the schema already conveys.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.