Skip to main content
Glama

list_categories

Retrieve catalog categories with IDs, aliases, and English names, optionally filtered by a case-insensitive name or alias substring.

Instructions

Catalog category list: id, alias, English name. Shared per environment and rarely changes; the server keeps it in memory. App categories are written to the version info: update_entity {resource: "info", body: {data: {mainCategoryId, categoryIds}}}: one main category, additional ones as a list, without the main one; categoryIds is overwritten entirely. They reach the catalog only on first publication.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoSubstring of the alias or name, case-insensitive

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful behavior: the list is shared per environment, rarely changes, and is served from an in-memory server cache. The note that categories reach the catalog only on first publication is an important staleness caveat an agent would otherwise get wrong. It still omits any auth/permission or result-size information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, which is good. However, the embedded update_entity payload snippet (resource, body.data.mainCategoryId, categoryIds overwrite semantics) is dense implementation detail on a read-only listing tool and dilutes the message; the same caveat could be stated in one sentence.

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?

There is no output schema, and the description compensates by naming the returned fields. It also supplies the non-obvious publication/caching behavior. Missing only peripheral details such as permission requirements or result limits for a simple one-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 description coverage is 100%, so the single 'query' parameter is already fully documented as a case-insensitive substring of alias or name. The description adds no further parameter meaning, so the baseline 3 applies.

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 states the resource and its returned fields explicitly ('Catalog category list: id, alias, English name'), so an agent knows exactly what it gets. It even names update_entity as the write path for the same data, which differentiates read vs. write. It lacks an explicit verb ('List') but the intent is unambiguous.

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?

The mention that app categories are written via update_entity implies the read/write split, but there is no explicit 'use this when' or exclusion statement. The guidance is about data flow (how categories get populated) rather than tool selection, and it says nothing about when to apply the query filter versus listing everything.

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