Skip to main content
Glama

createShopCategory

Create a shop category in a location. Returns the created category. Shop categories are part of the location's catalog settings, so this also needs the administrator to be able to edit the location's settings. 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": "createShopCategory"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesShop category to create.

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, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the permission prerequisite and the provenance rule for IDs, plus that the created entity is returned. It stops short of describing failure modes or side effects on the location's catalog, and an output schema already covers the return value.

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?

Three short sentences, front-loaded with purpose and return value, followed by prerequisite and ID-sourcing rules. Nothing is redundant, though the catalog-settings clause is slightly roundabout phrasing for the permission requirement.

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

Completeness5/5

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

For a single-object write with a full schema, complete annotations, and an output schema, an agent has everything needed: what it creates, what it returns, the permission gate, and how to source the location ID. No material gap remains.

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%, so both nested fields (title, locationRef) are already documented in the schema, making 3 the baseline. The description adds meaning the schema lacks: where locationRef values may come from (getLocations/getLocation) and the prohibition on fabricating UUIDs, which directly guides correct parameter construction.

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?

The description opens with a specific verb and resource ("Create a shop category in a location") and states the return ("Returns the created category"). The resource noun 'shop category' is distinct enough from sibling creators like createBenefitCategory that an agent can route correctly without opening schemas.

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?

It gives real usage context: a prerequisite permission (admin must be able to edit the location's settings) and explicit instructions for obtaining the location reference via getLocations or getLocation. It also forbids inventing UUIDs and requires IDs from prior responses. There is no explicit 'when not to use' or comparison against related creation tools, which keeps it below 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