Skip to main content
Glama

List categories, tags and picks

list_facets
Read-onlyIdempotent

Filter ids, rules and counts by category, tag, pattern, pick, kind, sector and tone. Shows catalog freshness and sector page counts. Sparse tones are a weak signal.

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_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoText language (default en).

Output Schema

NameRequiredDescriptionDefault
tagsYes
kindsYes
picksYes
tonesYes
catalogYes
sectorsYes
patternsYes
categoriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language of the returned text: \"en\" (default) or \"pt\"."New value: +"Text language (default en)."
  2. Changed2 schema fields changed
    • addedInput schema / properties / lang
      Added value: +{
      +  "description": "Language of the returned text: \"en\" (default) or \"pt\".",
      +  "enum": [
      +    "en",
      +    "pt"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "catalog": {
      +      "properties": {
      +        "cards": {
      +          "type": "integer"
      +        },
      +        "updated": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "cards",
      +        "updated"
      +      ],
      +      "type": "object"
      +    },
      +    "categories": {
      +      "items": {
      +        "properties": {
      +          "count": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "label",
      +          "count"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "kinds": {
      +      "items": {
      +        "properties": {
      +          "count": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "rule": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "words": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "label",
      +          "count"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "patterns": {
      +      "items": {
      +        "properties": {
      +          "count": {
      +            "type": "integer"
      +          },
      +          "group": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "rule": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "label",
      +          "count"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "picks": {
      +      "items": {
      +        "properties": {
      +          "blurb": {
      +            "type": "string"
      +          },
      +          "count": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "title",
      +          "blurb",
      +          "count"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "sectors": {
      +      "items": {
      +        "properties": {
      +          "count": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "pages": {
      +            "type": "integer"
      +          },
      +          "rule": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "words": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "label",
      +          "count",
      +          "pages"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "tags": {
      +      "items": {
      +        "properties": {
      +          "count": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "rule": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "label",
      +          "count"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "tones": {
      +      "items": {
      +        "properties": {
      +          "count": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "rule": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "words": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "label",
      +          "count"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "catalog",
      +    "categories",
      +    "tags",
      +    "patterns",
      +    "kinds",
      +    "sectors",
      +    "tones",
      +    "picks"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

B3/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful output context by saying it shows catalog freshness and sector page counts, plus a caveat that sparse tones are a weak signal; it does not cover auth or rate limits, but that is a minor gap given the annotations.

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?

It is three short sentences with no filler, and the output-content and caveat sentences earn their place. The first sentence is a dense list and the core 'lists facets' framing is not front-loaded, but the definition is not verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, one-parameter facet-listing tool with rich annotations and an output schema, the description gives return content and a useful caveat. It still leaves the selection decision vague because it does not explain when to call this instead of search, fetch, or get_collection, so it is only adequately complete.

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

Parameters2/5

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

The schema fully documents the sole parameter, lang, with its enum and default. The description says nothing about lang and instead names category, tag, pattern, pick, kind, sector, and tone, which are not input parameters in the schema; this can mislead an agent into trying unsupported filters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title names categories, tags, and picks, but the description opens with 'Filter ids, rules and counts by...' rather than explicitly saying it lists facets. The scope is inferable from the field list and the freshness/page-count sentence, but the core purpose is not stated cleanly and no sibling is named.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternative among search, fetch, or get_collection is named. 'Sparse tones are a weak signal' is a data-quality caveat, not routing guidance.

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