Skip to main content
Glama

Create category

create_category

Create a category in one of your stores.

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": {
      "store_id": "<store_id>",
      "slug": "<slug>",
      "name": "<name>"
    },
    "name": "create_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNo
nameYes
slugYes
sortNo
colorNo
store_idYes
descriptionNo
uebersetzungenNoÜbersetzungen: { en: { name: "…", description: "…" } } (Ticket cb21dbcb); null = keine

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, so the description only needs to add context, and it adds almost none. It doesn't say what happens on a duplicate slug (non-idempotent operation), whether categories nest, or whether sort/color take defaults.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence, front-loaded and free of waste, but so terse that it reads as a restatement of the title rather than a full definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 parameters, 13% schema coverage, a mutation, and no output schema, the definition leaves an agent without enough information to call it correctly. It should at minimum describe slug uniqueness, optional field defaults, and the translations object shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 13% – only uebersetzungen is documented in the schema – so the description must carry the load for 8 parameters, and it explains none of them. Only an implicit hint that store_id selects the target store; slug format, sort ordering semantics, and icon/color value formats are all unexplained.

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 plus a scope constraint: 'Create a category in one of your stores.' Clearly distinguishes it from delete_category and update_category by verb, though it doesn't name any sibling explicitly.

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

Usage Guidelines2/5

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

No guidance on when to use this versus update_category or when a category should exist at all. No prerequisites such as needing a valid store_id or permission requirements are mentioned.

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