Skip to main content
Glama

wariwari

Add a category

add_category

Use this to add an expense category to a group, with an emoji and a name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "groupToken": "<groupToken>",
      "emoji": "<emoji>",
      "name": "<name>"
    },
    "name": "add_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe category's name, such as Food or Rent.
emojiYesAn emoji shown beside the category's name.
positionNoIts place in the category list, 1 first; omit to put it last. Only this category's number changes: categories on the same number keep the order they were added in.
groupTokenYesThe group's token, from `listGroups` or `listSearchResults`.
idempotencyKeyNoA UUID you make up for this call. If the call fails or gets no answer and you try again, send the same UUID so nothing is added twice. Use a new one for each new thing you add.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / emoji / description
      Added value: +"An emoji shown beside the category's name."
    • addedInput schema / properties / name / description
      Added value: +"The category's name, such as Food or Rent."
    • addedInput schema / properties / position / description
      Added value: +"Its place in the category list, 1 first; omit to put it last. Only this category's number\nchanges: categories on the same number keep the order they were added in.\n"
  2. Changed2 schema fields changed
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "A UUID you make up for this call. If the call fails or gets no answer and you try again, send the same UUID so nothing is added twice. Use a new one for each new thing you add.",
      +  "format": "uuid",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the mutation and safety profile is covered structurally. The description adds only that a category is created with an emoji and name; it says nothing about required permissions, ordering side effects on the category list, or what happens when the call fails — topics the schema handles only partially via idempotencyKey and position.

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?

A single front-loaded sentence with no filler or repetition; the purpose lands immediately. It is slightly thin rather than padded, so it earns its place but does not demonstrate model structure.

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 five-parameter create tool with full schema coverage and annotations, the definition is adequate to invoke correctly. However, with no output schema, the description could have said what is returned (e.g. the created category and its id) and whether the group token is validated, which would close the remaining gap.

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%, with groupToken, position, and idempotencyKey all documented in-schema, so the schema carries the parameter burden. The description merely echoes two of the five parameters (emoji, name) without adding format or behavior detail beyond what the schema states.

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 specific verb+resource ('add an expense category to a group') plus the two identifying fields (emoji, name), so an agent knows exactly what the tool creates. It stops short of naming the sibling it is distinct from (update_category, delete_category), leaving differentiation to inference.

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 opening 'Use this to add...' frames the intent, which is enough to select the tool for a create scenario, but there is no explicit when-not guidance and no pointer to update_category for modifying an existing category. Usage is implied rather than stated.

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