Skip to main content
Glama

List filter values

list_facets
Read-onlyIdempotent

The filter vocabulary with real counts (number of flows): platform, flowIntents, uiComponents, pageType and screenPatterns. Call this before filtering search_screens or search_flows so filters are real values, not guesses. Optional query/filters narrow every count, flowIntents included.

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
queryNo
filtersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the description's burden is lighter. It adds useful non-obvious context: counts reflect the number of flows, and optional query/filters narrow every count including flowIntents, but it does not describe the response shape or count semantics (e.g. whether counts are pre- or post-filter).

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

Conciseness5/5

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

Two sentences, zero filler, with the return contents front-loaded followed by the call-ordering rule. Every clause carries information.

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?

For a two-parameter read-only tool with no output schema, the description conveys what is returned (facet values plus flow counts) and how inputs modify it. It could go slightly further on exact response structure and whether facet entries are always present when counts are zero, but nothing essential to a correct call is missing.

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

Parameters4/5

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

Top-level query and filters have no schema descriptions (0% reported coverage), so the description carries the weight, and it does explain that both params act as narrowing constraints on the returned counts rather than as result filters. That is a non-obvious semantic the agent could not infer from the schema alone.

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 first sentence names the specific resource (the filter vocabulary) and enumerates the five facet groups returned (platform, flowIntents, uiComponents, pageType, screenPatterns) with their counts. It is clearly distinct from the search_* siblings, though the verb is nominal rather than an explicit 'list'.

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?

Explicitly directs the agent to call this before filtering search_screens or search_flows 'so filters are real values, not guesses', naming the siblings and the sequencing. It stops short of stating when not to call it (e.g. that closed enum facets need no discovery), so it is strong but not complete.

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