Skip to main content
Glama

Get a category

categories_get
Read-onlyIdempotent

[Catalog] A category's rules: mandatory characteristics, allowed values, whether an EAN is required. Works on: Demo shop (sample data).

Input Schema

NameRequiredDescriptionDefault
accountNoAccount id from list_accounts. Optional when only one account is connected.
category_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld=false, so safety is covered. The description adds a genuinely useful behavioral constraint not present in the annotations: this only works against Demo shop sample data. It does not cover error behavior for an invalid category_id, but the added scope constraint is real 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?

Two short sentences, front-loaded with a bracketed catalog tag followed immediately by the substance. Efficient, with no filler, though the tag adds little for an agent.

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?

An output schema exists, so return values need no explanation, and the description characterizes what the response contains. For a single-required-parameter read tool with full annotation coverage, nothing essential to calling it correctly is missing.

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 coverage is 50%: the 'account' parameter is documented, but 'category_id' has no description in the schema (only a union type) and the description says nothing about it — not its format, nor where to obtain it. With a coverage gap this size, the description is expected to compensate and does not.

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+resource (retrieve a category's rules) and enumerates what those rules contain: mandatory characteristics, allowed values, EAN requirement. That is concrete enough to distinguish it from categories_search, though the distinction is never stated 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?

There is no when-to-use guidance and no mention of the obvious alternative categories_search. The only routing-adjacent information is the 'Works on: Demo shop (sample data)' scope note, which limits the environment rather than advising on tool selection.

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