Skip to main content
Glama

get_category

get_category
Read-onlyIdempotent

Describe one category and the attributes listings in it can be filtered by. Each attribute has a name (the key to use when filtering), a label, and a type giving the JSON value a filter must supply: string, number, boolean or date (ISO 8601). An attribute may also carry options, which are the only accepted values for it; value_type with min and max, bounding what numbers are accepted; or a picklist_path, whose accepted values are not listed here and must be fetched with get_picklist_values. A picklist_depends_on names another attribute whose value narrows this one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryIdYesNumeric category id, as returned by get_categories

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already declare readOnlyHint=true and idempotentHint=true, and the description aligns with these. It goes beyond annotations by detailing attribute structure, accepted value types, options restriction, numeric bounds, picklist paths, and dependency behavior, which are important for correct usage.

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?

The description starts with the main purpose and then efficiently explains the attribute contract with necessary detail. It is somewhat dense, but every clause earns its place and avoids filler or repetition.

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-parameter, read-only tool with no output schema, the description fully explains what the response contains and how to interpret each attribute field. It even routes to get_picklist_values for values not listed inline. Nothing essential is missing for an agent to call and consume the tool correctly.

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

Parameters3/5

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

The input schema covers the only parameter fully with a clear description ('Numeric category id, as returned by get_categories'), so the description does not need to repeat parameter details. It adds no extra parameter semantics, but the schema is already sufficient, making the baseline 3 appropriate.

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 verb ('Describe') and a specific resource ('one category'), with a distinctive focus on filter attributes. This clearly differentiates it from get_categories, which presumably lists categories, without needing to rely on the name alone.

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?

The description implies the tool is the way to obtain category-specific filter attributes and gives clear guidance that picklist_path values must be fetched with get_picklist_values. It does not explicitly state exclusions or when to prefer other siblings, but the context and the explicit reference to get_picklist_values provide practical routing.

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