Skip to main content
Glama

wariwari

Edit a category

update_category
Destructive

Use this to rename a category, change its emoji or move it. expectedRevision is the category's lockVersion from get_group.

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>",
      "categoryToken": "<categoryToken>",
      "expectedRevision": "<expectedRevision>"
    },
    "name": "update_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe category's new name.
emojiNoA new emoji for the category.
positionNoIts place in the category list, 1 first. 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`.
categoryTokenYesThe category's token, from `showGroup`.
expectedRevisionYesThe `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / emoji / description
      Added value: +"A new emoji for the category."
    • addedInput schema / properties / name / description
      Added value: +"The category's new name."
    • addedInput schema / properties / position / description
      Added value: +"Its place in the category list, 1 first. Only this category's number\nchanges: categories on the same number keep the order they were added in.\n"
  2. Changed5 schema fields changed
    • addedInput schema / properties / categoryToken / description
      Added value: +"The category's token, from `showGroup`."
    • addedInput schema / properties / expectedRevision
      Added value: +{
      +  "description": "The `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / groupToken / description
      Added value: +"The group's token, from `listGroups` or `listSearchResults`."
    • removedInput schema / properties / lockVersion
      Removed value: -{
      -  "description": "Latest lock version from the category being updated.",
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "groupToken",
      -  "categoryToken",
      -  "lockVersion"
      -]New value: +[
      +  "groupToken",
      +  "categoryToken",
      +  "expectedRevision"
      +]
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already disclose that this is a non-read-only, destructive mutation; the description adds that expectedRevision comes from get_group's lockVersion. It does not explain what side effects a destructive category update could have, such as whether moving affects ordering or associated data, so it adds some but not rich behavioral context.

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?

Two tightly written sentences: the first front-loads the purpose, and the second supplies the only non-obvious cross-tool detail. There is no redundant or wasted wording.

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?

Given a six-parameter mutation with 100% schema coverage and explicit annotations, the description is adequate for invocation. However, it leaves unexplained the destructive implications flagged by annotations, such as permissions required or what moving a category affects.

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 coverage is 100%, so the schema already documents all six parameters thoroughly. The description adds a useful cross-tool mapping for expectedRevision, but otherwise does not deepen parameter semantics 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 names a specific verb set (rename, change emoji, move) and the exact resource (category), so an agent knows this is a category-editing tool. It does not explicitly distinguish itself from siblings such as add_category or delete_category, which keeps it short of a 5.

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?

The opening phrase "Use this to..." gives a clear usage context for category edits. It does not state when not to use this tool or name alternatives, so it lacks the exclusions expected 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.

Resources