Skip to main content
Glama

Add category

add_category

A new category (or sub-category under a parent). Id is derived from the name unless given.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
iconNoMaterial icon name, e.g. 'restaurant'
kindNoDefault expense; sub-categories inherit
nameYes
parent_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Beyond the annotations, the description discloses that 'Id is derived from the name unless given,' which is a meaningful behavioral detail not visible in the schema. It does not address duplicate handling or side effects, so it is adequate but not rich.

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?

One sentence conveys creation, parent relationship, and ID derivation with no filler. The most important behavior is front-loaded.

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 5-parameter creation tool with an output schema, the description covers the core behavior and unusual ID rule, and the schema covers icon and kind. It omits duplicate-name behavior and explicit alternatives, but those are not required for a basic invocation.

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 description coverage is only 40%, and the description compensates for two undocumented parameters: id (derived from name) and parent_id (sub-category placement). It does not elaborate on name, but the explicit id behavior gives the most important missing semantics.

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 phrase 'A new category' clearly describes a creation action on the category resource, and '(or sub-category under a parent)' adds scope. It does not explicitly contrast with update_category, so it falls short of full differentiation.

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

Usage Guidelines3/5

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

The description implies when to use the tool by emphasizing 'new' and by mentioning parent relationships, but it does not state alternatives or give explicit exclusions. An agent must infer that modifications belong to update_category.

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.