Skip to main content
Glama

createBenefitCategory

Create a benefit category in a location. Returns the created category. Call getLocations to list locations, or getLocation to fetch one by locationId. 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": {
      "category": "<category>"
    },
    "name": "createBenefitCategory"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesBenefit category to create.

Output Schema

NameRequiredDescriptionDefault
categoryYes

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?

Annotations already declare readOnly=false, destructive=false and openWorld=false, so the write nature and safety profile are covered. The description adds that the created category is returned and reinforces the no-fabricated-UUID rule, but says nothing about duplicate-title handling, permission requirements, or failure modes for an invalid locationRef. Some value beyond annotations, 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?

Three short sentences, front-loaded with the action and return value, then the prerequisite lookups, then the UUID caution. Every sentence carries information an agent needs and there is no 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?

An output schema exists, so the description needn't explain return shape, and it only briefly notes the created category is returned. Annotations cover safety, the schema covers parameters, and the description covers the location-resolution prerequisite. Only the absence of duplication/error behavior keeps it below 5.

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% and the nested object already documents both title and locationRef with formats and constraints, so the baseline is 3. The description contributes one genuinely new semantic constraint - locationRef values must come from prior tool responses rather than being invented - which the schema's uuid pattern alone cannot express.

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?

States a specific verb and resource ("Create a benefit category") plus the scoping notion "in a location", which lets an agent distinguish it from getBenefitCategory or updateBenefitCategory. It does not differentiate itself from createShopCategory or createBenefit, so the purpose is clear but sibling separation is only partial.

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: resolve the location via getLocations (list) or getLocation (fetch by locationId), which tells the agent which sibling to call first. The "Never invent UUIDs; only use values from prior tool responses" rule is an explicit do/don't constraint. It stops short of stating when to prefer this over creating a benefit or shop category instead.

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