Skip to main content
Glama

list_categories

List product categories with slugs and names, optionally filtered by case-insensitive substring. Use to find the right category for browsing products.

Instructions

Category slugs mapped to names; filter is a case-insensitive substring match.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filterNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose the filter matching behavior (case-insensitive substring) and the return shape, but says nothing about ordering, pagination, or read-only/scope characteristics; for a simple enumeration tool this is adequate but thin.

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?

A single compact sentence that front-loads the resource and return shape, then clarifies the parameter. Every clause earns its place with no filler.

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

Completeness3/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 values, and the single parameter is covered. However, for a tool in a crowded category-browsing namespace, the lack of any when-to-use guidance leaves the agent with an unresolved choice among siblings.

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 description coverage is 0%, so the description must carry the parameter meaning, and it does: 'filter' is defined as a case-insensitive substring match over category slugs/names. That is genuinely additive beyond the bare 'Filter' title in the schema, though it doesn't cover empty/default behavior.

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 the resource (categories) and states the returned shape ('slugs mapped to names'), which makes the tool's job clear to an agent. The verb 'list' is only implicit from the tool name, and nothing distinguishes it from siblings like get_category_filters or browse_category, so it falls short of the 5 criteria.

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 statement of when to use this tool versus alternatives, nor any prerequisites or exclusions. With siblings such as get_category_filters and browse_category in the same namespace, the absence of routing guidance is a real gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.