Skip to main content
Glama

List categories and tags

catalog_list_facets
Read-only

Lists every filter of the catalog search with counts: categories (home and also-in), tags, and countries a utility is specific to. Each item has its id (category and tag ids, ISO 3166-1 alpha-2 country codes), its name in the page language and its number of utilities; everywhere counts utilities that are not specific to any country. Use the ids with catalog_search_utilities.

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": "catalog_list_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeNo

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 safety is covered. The description goes beyond them by disclosing that counts are attached to each item, that names are rendered in the page language, and that the `everywhere` bucket counts utilities not tied to any country — a non-obvious semantic an agent could otherwise misread.

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 sentences, both dense with useful content, with the core purpose front-loaded and the id-consumption guidance at the end where it belongs. Slightly heavy parenthetical nesting, but nothing is wasted.

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?

There is no output schema, so the description carries the burden of describing return shape — and it does: each item has an id (with format for categories, tags, and ISO 3166-1 alpha-2 country codes), a localized name, and a utility count. Combined with the read-only annotations, an agent has what it needs to call this 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?

Schema description coverage is 0% for the single `locale` parameter, whose enum values are undocumented in the schema. The description partially compensates by saying names come 'in the page language', which hints at locale's effect, but it never names the parameter, its accepted values, or its default.

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?

Starts with a specific verb and resource ('Lists every filter of the catalog search with counts') and enumerates the facet families: categories (home and also-in), tags, and countries. This is clearly distinguishable from catalog_search_utilities, which it names.

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 closing sentence 'Use the ids with catalog_search_utilities' gives explicit downstream routing, making the intended workflow clear: discover facet ids here, then filter there. It stops short of stating when NOT to use it or what to do if a facet is missing, but the context is unambiguous.

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