Skip to main content
Glama

Categories

get_categories
Read-onlyIdempotent

The user's expense and income categories, each with its subcategories, by name. Use to answer "what categories do I have", and to get exact names before add_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": "get_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so safety is covered. The description adds value beyond them by disclosing the return structure (categories each carrying their subcategories) and the fact that names are the identifying field, which matters for the add_transactions handoff. It does not discuss ordering or whether archived/custom categories are included.

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, resource first and usage second, with no filler. Every clause earns its place: the subcategory nesting and the add_transactions prerequisite both carry information an agent 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?

With no output schema, the description shoulders the burden of describing the return value, and it does so at a high level (categories plus subcategories, keyed by name). For a zero-parameter read tool that is largely sufficient; only the exact fields per category are unspecified.

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?

There are zero parameters, so the baseline is 4 and there is no parameter meaning to clarify. The 'by name' phrasing is a minor hint about result identification rather than a parameter note. Nothing is missing on the input side.

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?

The description names the specific resource (the user's expense and income categories, each with its subcategories) and the shape it is returned in (by name). It is a list-style read, though the verb is implicit rather than stated. It does not differentiate from siblings like get_spending_by_category, but the noun is specific enough that an agent can tell it is the taxonomy lookup, not an aggregation.

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?

It gives two concrete use cases: answering 'what categories do I have' and resolving exact names before calling add_transactions. That is real routing guidance including a cross-tool workflow, which most definitions lack. It stops short of stating exclusions (e.g. that spending breakdowns belong to get_spending_by_category), so it is clear but not exhaustive.

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