Skip to main content
Glama
LamPyrid
by RadCod3

List Categories

list_categories
Read-onlyIdempotent

Retrieve all transaction categories and their IDs to choose the correct category before assigning it to transactions.

Instructions

List all categories.

Categories are a finer-grained classification of transactions (e.g. "vegetables", "personal hygiene") that complement budgets. Use this to find category IDs/names before assigning them to transactions.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so safety and idempotency are covered. The description adds the domain framing and notes the result supplies IDs/names, but says nothing about ordering, pagination, or whether the list is scoped to the authenticated user.

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

Conciseness4/5

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

Three short sentences, front-loaded with the action, then the domain definition, then the practical use. Each sentence earns its place, though the parenthetical examples ("vegetables", "personal hygiene") are slightly more illustrative detail than an agent strictly needs.

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?

This is a simple zero-argument list tool with an output schema, so return-value detail is correctly omitted. The description supplies the domain meaning and the intended workflow, leaving only minor gaps like result ordering or scoping.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the schema is an empty closed object. Baseline 4 applies, with no gap introduced by the description.

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

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("List all categories") and goes further by defining what a category is ("a finer-grained classification of transactions ... that complement budgets"). This implicitly separates it from the singular get_category and from list_budgets, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete use case: "Use this to find category IDs/names before assigning them to transactions." That is a clear when-to-use signal. It stops short of naming an alternative (e.g. get_category for a single lookup) or stating any exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.