Skip to main content
Glama
Analytics MCP Server

Analytics MCP Server

by piyusht007

list_kpis

Read-onlyIdempotent

Lists every KPI in the governed catalog with unit, good direction, dimensions, and available data date range. Call this first to discover metrics before querying or comparing periods.

Instructions

List every KPI in the catalog with unit, good direction, dimensions and the date range the data covers. Call this first.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, closed-world), so the description's job is additive context. It does add useful detail: the listing includes per-KPI metadata and the date range the underlying data covers, which matters for deciding downstream calls. No rate limits, pagination, or size expectations are given, so 4 rather than 5.

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, front-loaded with the verb and scope, ending on the actionable workflow instruction. Every clause carries information; nothing is repeated from the annotations or schema.

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 no parameters, an output schema present, and annotations declaring the safety profile, the description covers what an agent needs to pick this tool first and know what it will learn. The only gap is scale expectations (catalog size, whether the listing is truncated), which is minor given the output schema.

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 the baseline for this dimension is 4. There is nothing for the description to disambiguate, and it correctly implies a no-argument full-catalog listing without inventing filters.

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 every KPI in the catalog, and names what each entry carries (unit, good direction, dimensions, date coverage). That makes the scope clear without opening the schema. It does not explicitly differentiate itself from describe_kpi or query_kpi, keeping it short of a 5.

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?

"Call this first" gives an explicit workflow ordering that tells the agent this is the discovery entry point before describe/query/compare tools. It stops short of a full when/when-not statement or naming specific alternatives, so it is clear context rather than complete routing.

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