Skip to main content
Glama
field-analytics

field-analytics

by cicerao

describe_metric

Retrieve a metric's full definition and the written rules for its subject to interpret governed analytics values correctly.

Instructions

Return the full definition of one metric, plus the written rules of its subject.

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": {
      "name": "<name>"
    },
    "name": "describe_metric"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It implies a read-only lookup and says the response includes a definition plus written rules, but it does not disclose permissions, error behavior for missing metrics, output format, or what 'written rules of its subject' concretely means.

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?

The definition is a single efficient sentence with the core action front-loaded. The phrase 'written rules of its subject' is slightly vague, but there is no wasted wording.

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

Completeness2/5

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

The tool is simple and has no output schema, so the description should be complete enough to tell the agent what will come back. It says 'full definition' and 'written rules' without describing structure, field content, or not-found behavior, and the sole parameter remains underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has one parameter with 0% description coverage, so the description should compensate. It implies that 'name' identifies the metric, but it does not state whether the name is an ID, display name, case-sensitive string, or qualified path, leaving meaningful ambiguity.

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 ('Return') and resource ('full definition of one metric'), and adds that it also returns the written rules of the metric's subject. This distinguishes it from a data-query tool like query_metric, though it does not explicitly name or contrast with siblings.

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?

Usage is implied by the purpose: use this to retrieve a metric's definition rather than its values. However, the description gives no explicit when-to-use guidance, no exclusions, and no comparison to alternatives such as query_metric, explain_change, or list_metrics.

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