Skip to main content
Glama

create_category

Create a new transaction category. Supports nested categories via parentId — child categories inherit the parent color if none is provided. Use when the user wants a new category to classify transactions.

Input Schema

NameRequiredDescriptionDefault
iconNoOptional icon identifier for the category.
nameYesCategory name.
typeNoCategory type: "custom" (default, user-editable) or "internal" (system-managed).
colorNoHex color code (e.g. "#4CAF50"). Inherited from parent if omitted.
parentIdNoID of the parent category to create a subcategory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose real behavior — nested categories via parentId and color inheritance from the parent — but says nothing about permissions, duplicate-name handling, the effect of type='internal', or what the call returns, which leaves meaningful gaps for a mutation tool.

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 core action before the nesting detail and the usage note. Each sentence carries information, though the closing 'use when' sentence is close to filler given the already-clear purpose.

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

Completeness3/5

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

For a 5-parameter mutation tool with no annotations and no output schema, the description covers purpose and one notable behavior but omits return value, error/conflict behavior, and prerequisite permissions. Adequate but visibly incomplete.

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%, so the baseline is 3. The description reinforces parentId/color inheritance but largely restates what the schema's own field descriptions already state, adding no new syntax or constraint detail.

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 ('Create a new transaction category') that is unambiguous against catalog siblings such as create_tag and create_payee. It does not explicitly differentiate itself from those siblings, but the resource noun is distinct enough that no confusion arises.

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?

'Use when the user wants a new category to classify transactions' gives a clear triggering condition. There is no when-not guidance and no mention of alternatives (e.g. update_category for existing ones), which keeps it short of a 5.

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.