Skip to main content
Glama

category_get_attributes

Read-only

Retrieve a category's system-defined attributes for icbuCatProp, including required ones. Each attr_id maps to publish field p-; car_model needs hierarchical-attribute API.

Instructions

Get a category's system-defined attributes (for icbuCatProp), including which are required. Public API — no authorization needed. Each attribute's attr_id maps to the publish schema field p-<attr_id>; car_model attributes need the hierarchical-attribute API for their next level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
category_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
countNo
errorNo
cat_idNo
requiredNo
attributesNo
error_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description usefully adds that no authorization is needed and how attr_id maps to publish schema fields. This is genuinely additive behavioral context rather than a restatement of the annotations, though it says nothing about rate limits or output shape.

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 with the core purpose front-loaded and the edge-case caveat trailing. Slightly dense with inline identifiers but every clause carries information.

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 not be described; the description covers the remaining gaps an agent needs — auth requirement, the attr_id-to-publish-field mapping, and the car_model escalation path. Complete for a single-parameter read tool.

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?

Schema coverage is 0% and there is one required parameter (category_id) whose format and provenance are never explained in either the schema or the description. The description explains attribute-level semantics (attr_id, car_model) rather than the input, so it only partially compensates.

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?

States a specific verb and resource ('Get a category's system-defined attributes') and adds scope ('including which are required'). It distinguishes the output from the broader publish schema (icbuCatProp, p-<attr_id> mapping), though it never names a sibling tool that an agent could confuse it with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives one conditional routing hint ('car_model attributes need the hierarchical-attribute API for their next level') and notes the API is public, but offers no explicit when-to-use-vs-alternatives guidance relative to siblings like product_get_schema.

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