Skip to main content
Glama

Hundo

get_categories

Read-only

List the user's transaction categories. Call it before proposing an income or expense, and give each one the categoryId of the category that best matches what was bought or paid (a child over its parent); omit categoryId only when nothing reasonably fits. Never invent an id. Also use it to resolve a category the user names, for a transaction or an asset trade. If the result is truncated, call again with a more specific nameLike.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameLikeNoOptional case-insensitive substring filter on category name. Omit to list all categories.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, so the safety profile is covered. The description adds substantive behavior beyond that: prefer child categories over parents, never fabricate an id, and what truncation means and how to recover. It does not mention auth or rate limits, but those are minor here.

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?

The leading sentence states the operation first, followed by conditional usage rules. It is dense with operative instructions but every clause addresses a real decision (which id to attach, when to omit, how to recover from truncation); only minor tightening is possible.

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 still conveys the key returned field (categoryId) and the truncation caveat, which is enough for an agent to call the tool correctly. It stops short of describing the full result shape, but the essential decision-relevant context is present.

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?

Schema coverage is 100% and the schema already documents nameLike as a case-insensitive substring filter. The description adds operative meaning by tying nameLike to the truncation-recovery scenario, which the schema does not state.

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 ("List the user's transaction categories") and is clearly distinguishable from siblings like get_accounts and get_assets. An agent can identify the tool's domain without opening the schema.

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

Usage Guidelines5/5

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

Explicitly prescribes when to call it: before proposing an income or expense, to resolve a user-named category, and for asset trades. It also gives fallback behavior (omit categoryId only when nothing fits) and a recovery path for truncation via nameLike.

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