get_category
Gets a category by its ID. Returns the category's title, colour, parent category (if any), and whether it is a transfer or bill category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique identifier of the category. |
Gets a category by its ID. Returns the category's title, colour, parent category (if any), and whether it is a transfer or bill category.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique identifier of the category. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely useful context by enumerating what the response contains (title, colour, parent, transfer/bill flag), which matters because no output schema exists.
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 compact sentences: purpose front-loaded, then return contents. Zero filler.
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?
For a single-entity getter with three annotations and one fully documented parameter, this is close to complete, and the return-field enumeration compensates for the missing output schema. A brief note on behavior for a nonexistent ID would have made it full.
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?
There is a single parameter with 100% schema coverage, so the schema already explains 'id'. The description adds nothing about ID format, validity, or error behavior for unknown IDs; baseline 3 applies for a fully documented single param.
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 ('Gets a category by its ID') and the ID-based scope implicitly distinguishes it from the sibling list_categories. It does not name a sibling explicitly, but the read-a-single-entity framing is unambiguous.
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?
Usage is only implied: an agent infers it should call this when it already has a category ID. There is no explicit statement of when to prefer it over list_categories or when it is unnecessary, and no prerequisites are mentioned.
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.