Skip to main content
Glama

Get KPI Details

get_kpi
Read-only

Full intelligence for a single KPI: definition, standard formula, common pitfalls, improvement levers, related KPIs, the KPI groups it belongs to, and metadata about its available benchmarks (benchmark values themselves come from get_benchmarks). Takes the kpi_id (slug) returned by search_kpis.

Input Schema

NameRequiredDescriptionDefault
kpi_idYesThe KPI slug from search_kpis, e.g. "asset-maintenance-ratio".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly=true, openWorld=false, and destructive=false, lowering the bar. The description adds meaningful context by enumerating the returned content and clarifying that benchmark values are excluded (retrievable via get_benchmarks), which shapes the agent's expectation of what this call actually yields.

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

Conciseness4/5

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

A single dense sentence, but every clause earns its place by naming a distinct piece of returned content or a routing hint. Front-loaded with the tool's purpose, though the long enumeration makes it slightly heavy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description fully compensates by listing the fields returned and explicitly deferring benchmark values to a sibling tool. For a one-parameter read tool with annotations covering safety, nothing an agent needs to invoke it correctly appears missing.

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% and the single parameter is fully documented as the KPI slug with an example. The description restates the same slug-from-search_kpis guidance without adding format or edge-case detail beyond the schema — baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource (retrieve full intelligence for a single KPI) and enumerates exactly what the response contains: definition, formula, pitfalls, levers, related KPIs, groups, and benchmark metadata. It also distinguishes itself from siblings by pointing to get_benchmarks for actual values and search_kpis for the id.

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?

Clearly states the prerequisite: the kpi_id slug must come from search_kpis, and it routes value lookups to get_benchmarks. This gives an agent a clear context for when this tool is the right call, though it stops short of an explicit when-not-to-use rule.

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