Skip to main content
Glama
Analytics MCP server

Analytics MCP server

by aby3941

list_metrics

Read-onlyIdempotent

Lists semantic-layer metrics with agreed definitions, units, and available grouping dimensions to help identify the correct business measures for analysis.

Instructions

List the semantic-layer metrics: name, agreed definition, unit and the dimensions each can be grouped 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
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description's added value is limited to naming the returned fields, which the output schema largely encodes already; it says nothing about ordering, scale, or whether unreleased metrics are excluded.

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 front-loaded sentence with no filler and no repetition; the resource is stated first and the returned fields follow. 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?

With zero parameters, rich annotations and an output schema, the burden on the description is light and it covers what an agent needs to select this tool. What is missing is workflow context — e.g. that this is a discovery entry point feeding get_metric or run_sql — so it is complete for invocation but not for orchestration.

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 at the argument level. A baseline of 4 is appropriate; it cannot meaningfully go higher since no parameter meaning exists to add.

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 description uses a specific verb ("List") on a specific resource ("semantic-layer metrics") and even enumerates the fields returned (name, agreed definition, unit, grouping dimensions), so an agent immediately knows what it retrieves. It does not explicitly contrast itself with get_metric or list_tables, so it stops short of full sibling differentiation.

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?

When-to-use is only implied: the plural "List" suggests a discovery/browse step before calling get_metric or run_sql, but the description never says so. There are no exclusions or named alternatives, and no statement about when this is a poor choice versus get_metric for a single metric.

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