Skip to main content
Glama

metric-comparability

Whether two metric definitions measure the same thing, and which fields differ — Compares two structured metric definitions field by field (numerator, denominator, aggregation, weighting, population, filters, exclusions, period grain and calendar, timezone, currency, FX and tax basis, unit) and returns which differences make the numbers not comparable, which are adjustable with raw data, and which fields are missing from one side. In drift mode a is the old and b the new defin

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "metric-comparability"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes
modeNodrift: a is the previous definition and b the current one under the same name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does much of it: it discloses that results are classified into differences that make numbers not comparable, differences adjustable with raw data, and fields missing from one side. It still does not state that the tool is a pure read-only analysis with no side effects, nor how errors (e.g. mismatched names in compare mode) are handled.

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?

The core question and the field list are front-loaded and each item earns its place. However, the definition ends mid-word ('the new defin'), which is a structural defect that leaves the mode semantics incomplete and makes the entry feel clipped rather than concise.

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 nested two-object comparison tool with no output schema, the description adequately covers inputs (the compared fields), processing (field-by-field), and output categories (not comparable / adjustable / missing). The one gap is the truncated drift-mode explanation, which leaves the alternate mode's interpretation only partially specified.

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?

Schema description coverage is only 33%, but the description compensates by enumerating the semantic fields that matter in objects a and b, telling the agent what will actually be diffed (including FX/tax basis and calendar grain). The mode parameter's meaning is partly reinforced ('drift mode a is the old and b the new'), though the sentence truncates before completing the explanation.

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?

The description names a specific verb (compares) and resource (two structured metric definitions) and then enumerates the exact fields compared — numerator, denominator, aggregation, weighting, population, filters, exclusions, period grain/calendar, timezone, currency, FX/tax basis, unit. An agent can tell immediately this is a field-by-field comparability analysis, not a generic diff or validation tool.

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 only usage signal is the mode distinction: 'In drift mode a is the old and b the new definition,' which tells the agent when drift applies. There is no statement of when to pick this over alternatives (e.g. diff-gatekeeper or cross-field-rules) and no exclusion guidance, and the sentence is cut off mid-word, so the guidance is implied rather than explicit.

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