Skip to main content
Glama

list_metrics

Retrieve governed metrics available to query, with definitions, base models, time columns, and dimensions for grouping or filtering.

Instructions

List the governed metrics you can query, with their definitions, base model, time column and the dimensions each metric can be grouped or filtered by.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
metricsYes
catalog_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'List' plus the enumerated return contents reliably signal a non-mutating catalog read, and it discloses the per-metric fields an agent will receive. It is silent on scope (all metrics vs. only those permitted for the caller) and on ordering or volume, which matter for a governed-metrics catalog.

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?

A single sentence with the resource and the returned fields front-loaded and no filler. Nothing could be removed without losing information an agent needs.

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 zero-argument discovery tool with an output schema, the description covers purpose and payload well enough to call it correctly. The only residual gap is scope and ordering, which the output schema cannot convey but an agent would benefit from knowing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline applies. The description does not over-claim optional filters that the empty schema would contradict, which is the right call.

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?

Names a specific verb (list) and resource (governed metrics you can query), and enumerates what each entry carries: definitions, base model, time column, and groupable/filterable dimensions. That separates it from query_metric and run_sql, which execute against data rather than enumerate the catalog, though no sibling is named explicitly.

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 phrase 'metrics you can query' implies this is a discovery step preceding query_metric, but there is no explicit when-to-use statement, no exclusion, and no stated prerequisite or next step. An agent can infer the role but must guess whether this is the right entry point.

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