Skip to main content
Glama

updateBenefitCategory

Destructive

Rename a benefit category: pass categoryId and a category object with the new title. Returns the updated category. Get categoryId from getBenefitCategories. Never invent UUIDs; only use values from prior tool responses.

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": {
      "categoryId": "<categoryId>",
      "category": "<category>"
    },
    "name": "updateBenefitCategory"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesBenefit category to update.
categoryIdYesThe id of the benefit category.

Output Schema

NameRequiredDescriptionDefault
categoryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation profile is known structurally. The description adds the return value ("Returns the updated category") and the id-provenance rule, but never mentions that the existing title is overwritten or what happens on an invalid/empty title, leaving the destructive condition unexplained.

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 the action, followed by argument shape, return value, and the id-sourcing caveat. No redundant restatement of the tool name or filler.

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 two-parameter mutation with a fully described schema, existing output schema, and clear annotations, the description covers the main failure mode (invented ids) and the return. It is only slightly short on edge-case behavior such as empty titles or whether other category fields are preserved.

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 coverage is 100% and the nested title field is already documented, so the schema does the heavy lifting. The description still adds real meaning by specifying that categoryId must be sourced from getBenefitCategories output rather than invented, which the schema cannot express.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Rename a benefit category") and immediately clarifies that the operation is limited to setting a new title, which distinguishes it from the broad update* siblings. An agent can identify the effect without opening the schema.

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?

Gives a concrete prerequisite workflow: retrieve the id via getBenefitCategories and never fabricate UUIDs from prior tool responses. It does not explicitly state when to choose this over alternatives such as updateBenefit or deleteBenefitCategory, so it stops short of full when/when-not routing.

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