Skip to main content
Glama

List Catalog Taxonomy

list_catalog_taxonomy
Read-only

List the tenant's item categories, brands or item groups (kind=category|brand|group) with each entry's id, name, description and the number of live items that carry it. Categories are a tree: each has parentCategoryId and its full path ("Apparel > Shirts"); pass parentCategoryId to list one category's children. Groups also carry code, salesTaxId and depositFeeAmount. Optional case-insensitive search on name (and path); paged (Total pre-paging + limit/offset, default 100, max 500). Use the ids with set_item_classification and save_discount.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "list_catalog_taxonomy"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYescategory, brand or group.
limitNoPage size (default 100, max 500).
offsetNoZero-based offset for paging (default 0).
searchNoOptional case-insensitive substring of the name (or category path).
parentCategoryIdNoCategories only: list the direct children of this category id.

Output Schema

NameRequiredDescriptionDefault
kindNo
limitNo
totalNo
offsetNo
entriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description focuses on behavior annotations cannot express: the categories-are-a-tree structure, per-kind extra fields on groups, paging with Total pre-paging and a 500 cap, and case-insensitive name/path matching. It stops short of describing error cases or tenant scoping behavior.

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?

Front-loaded with the verb, resource and kind options, then structured by concern: tree shape, per-kind extras, search, paging, and downstream usage. It is dense but not padded; a slightly tighter phrasing of the paging clause would make it a 5.

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 five-parameter read tool with a full output schema and complete annotations, the description covers selection, filtering, tree traversal, paging and next-step tooling. Nothing an agent needs in order to invoke it correctly is missing.

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 100%, so every parameter is already documented, and the description largely restates kind, search, paging and parentCategoryId semantics. Its added value is minor – clarifying that parentCategoryId is categories-only and that search also matches category path – which justifies the baseline rather than a higher score.

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?

The first sentence names a specific verb (List) and resource (tenant's item categories, brands or item groups) and enumerates the discriminating kind values. It immediately tells an agent that this is a read-only taxonomy browser rather than a mutation tool like save_catalog_taxonomy or delete_catalog_taxonomy.

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?

It gives concrete routing: use the returned ids with set_item_classification and save_discount, and pass parentCategoryId to drill into children of a category. It does not explicitly exclude alternatives (e.g., save/delete_catalog_taxonomy), but the read-only listing context is clear enough to select the tool.

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