Skip to main content
Glama

PocketSmith (read-only)

get_category

Read-onlyIdempotent

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.

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": {
      "id": "<id>"
    },
    "name": "get_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe unique identifier of the category.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.8/5.0
Behavior4/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 safety is covered; the description adds value by disclosing the return payload (title, colour, parent, transfer/bill classification), which matters because no output schema exists. It stops short of stating failure behavior for an unknown ID, keeping it below top marks.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, no filler, with the action clause front-loaded and the return contract second. Every phrase carries information an agent can use.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with rich annotations, the definition is nearly sufficient: it explains both the inputs and the shape of the result in lieu of an output schema. The only gap is error/not-found behavior for an invalid ID.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single parameter `id` is fully documented as "the unique identifier of the category." The description's "by its ID" merely restates that, adding no syntax, format, or sourcing guidance, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

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 then enumerates exactly what comes back: title, colour, parent category, transfer/bill flag. That level of detail distinguishes it from mutation siblings like create_category/update_category and from list-style getters without the reader opening any schema.

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?

The description never says when to reach for this tool versus alternatives, nor any preconditions (e.g. that the ID must already be known, or that there is no lookup-by-name fallback). Usage is only implied by "by its ID"; no exclusions or routing guidance are offered.

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