Skip to main content
Glama

shop

Categories

categories
Read-onlyIdempotent

The store's product categories with their ids and product counts, in menu order. Browse one with search and category: [id] (subcategories included), for example with sort newest or bestseller.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile needs no repetition. The description adds real behavioral context beyond that: results come in menu order, the payload includes product counts and ids, and querying a category via search includes subcategories (a hierarchy behavior an agent could otherwise get wrong).

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 tight sentences, front-loaded with what the tool returns and followed by the usage handoff. The parenthetical '(subcategories included)' is the only slightly embedded aside, but it earns its place by preventing a misinterpretation of the search call.

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?

With no output schema and no parameters, the description carries the burden of explaining the return shape, and it does: ids, product counts, menu ordering. It could go further on whether empty categories appear or how nesting is represented, but for a zero-parameter read-only listing tool it is close to complete.

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?

The tool takes zero parameters, so there is no input schema semantics to add and the baseline is 4. The mention of `category: [id]` and sort options describes a downstream call to `search`, not parameters of this tool, which is correctly framed as guidance rather than schema restatement.

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 resource (the store's product categories) and what it returns (ids, product counts, menu order) in the first sentence. It also names the sibling tool `search` for the follow-up action, so the agent can distinguish this listing tool from the search tool without opening either 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?

Explicitly tells the agent how to act on the results: browse one category with `search` and `category: [id]`, with concrete examples (sort newest or bestseller). It gives clear positive guidance but doesn't state when this tool should be avoided (e.g. vs store_info for general metadata).

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