Skip to main content
Glama

Create Category

create_category

Create a new spending/income category (INCOME or EXPENSE). Useful before calling categorize or set_budget. Requires confirmation: true to execute.

Input Schema

NameRequiredDescriptionDefault
iconNoOptional icon identifier for the category
nameYesCategory display name
typeYesCategoryType enum value
colorNoOptional hex color (e.g. #FF5733)
confirmationYesMust be true to execute the mutation
idempotencyKeyNoOptional idempotency key — calls with the same key (per-user, within 24h) return the cached response without re-executing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare this is a non-read-only, non-destructive mutation, and the description adds the notable execution gate ('Requires confirmation: true'). However, that requirement is also spelled out in the schema, and the description says nothing further about what happens on failure or how the created category is returned.

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?

Three short sentences, front-loaded with purpose, then sequencing, then the execution gate. No filler, and the most operationally important detail (confirmation) is last and easy to scan.

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 6-parameter create tool with no output schema, the description plus a fully documented schema covers what an agent needs to invoke it correctly. The only remaining weakness is that it doesn't mention the TRANSFER category type that the schema accepts.

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 every parameter including confirmation and idempotencyKey is already documented in the input schema, which sets the baseline at 3. The description only echoes the confirmation flag and mentions INCOME/EXPENSE, omitting the TRANSFER enum value the schema actually permits, so it adds no meaning beyond the schema.

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 gives a clear verb-and-resource pair ('Create a new spending/income category') and parenthetically names the domain values, which separates it from sibling mutations like create_category_rule or create_account. It is a bit narrower than the schema, which also allows TRANSFER, but the core purpose is unmistakable.

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 names a concrete ordering context ('Useful before calling categorize or set_budget'), which tells the agent when this tool belongs in a workflow. It stops short of stating exclusions or naming a competing create path, so it is clear context rather than full when/when-not guidance.

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