Skip to main content
Glama

List Metrics

list_metrics
Read-onlyIdempotent

Shortcut to list all available metric names for a fully-specified location, supply all five levels (theme, sub_theme, topic, geography_type, geography) at once rather than calling navigate iteratively. Returns metric names like "COVID-19_cases_casesByDay" ready to pass to get_metric_data.(theme, sub_theme, topic, geography_type, geography), without walking each level. Returns metric names like "COVID-19_cases_casesByDay" or "COVID-19_deaths_ONSByDay" ready to pass to get_metric_data.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "theme": "infectious_disease",
      "topic": "COVID-19",
      "geography": "England",
      "sub_theme": "respiratory",
      "geography_type": "Nation"
    },
    "name": "list_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeYese.g. "infectious_disease".
topicYese.g. "COVID-19".
geographyYese.g. "England".
sub_themeYese.g. "respiratory".
geography_typeYese.g. "Nation".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "geography": "England",
      +    "geography_type": "Nation",
      +    "sub_theme": "respiratory",
      +    "theme": "infectious_disease",
      +    "topic": "COVID-19"
      +  }
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds one useful behavioral point beyond that: this is a shortcut that avoids multiple navigation round-trips. It says nothing about failure modes when a level name is invalid or about rate limits.

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?

Front-loaded with the shortcut framing, which is good, but the sentence about returned metric names is duplicated nearly verbatim and a parenthetical fragments the opening clause. Roughly a third of the text is redundant repetition that should be cut.

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?

With five required parameters, no output schema, and an open-world lookup, the description covers the two things an agent most needs: the requirement to supply all levels at once and the shape of the returned metric names. Only edge-case behavior remains unaddressed.

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 all five parameters are already documented with examples, making baseline 3 appropriate. The description reinforces that all five levels must be fully specified at once, which is genuine constraint information not obvious from the schema alone, but adds no syntax or format detail.

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?

States a specific verb and resource: list all available metric names for a fully-specified location, and explicitly contrasts with calling navigate iteratively and with get_metric_data (which consumes the output). The purpose is unmistakable despite the garbled, half-duplicated sentence in the middle.

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 tells the agent to supply all five levels at once rather than walking navigate level by level, and identifies get_metric_data as the downstream consumer. It lacks an explicit when-not/exclusion statement or error-handling guidance, which keeps it below a 5.

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.