Skip to main content
Glama

describe_metric

Get the definition and access context for a metric or dataset your role may query, so you can verify governed lakehouse data before analysis.

Instructions

Describe one metric or dataset your role may query.

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses very little: not whether inaccessible/unknown names error or return empty, not that results are permission-filtered per role, and not what kind of detail (metadata, schema, sample) comes back. The phrase "your role may query" is the only behavioral hint and is left unexploited.

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 short sentence with no filler and the key scope (one metric or dataset) front-loaded. It is efficient, though brevity here shades into under-specification rather than tightness.

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

Completeness3/5

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

The presence of an output schema means return values need not be described, which covers the biggest potential gap. Still, for an unannotated tool with an undocumented required parameter and an ambiguous metric-versus-dataset target, the definition leaves an agent guessing about input format and failure behavior.

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?

There is one required parameter with 0% schema description coverage, so the description must compensate and does not. It never explains that `name` identifies the single metric or dataset, whether it accepts a metric ID versus a dataset name, whether the two are interchangeable, or what format/casing is expected.

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 pairs the verb "Describe" with a specific resource ("one metric or dataset"), so an agent can tell this is a single-item metadata/introspection lookup rather than a data query. It does not name or differentiate itself from siblings like query_metric or list_metrics, leaving that routing to inference.

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?

"your role may query" implies this is a discovery step for metrics the caller has access to, and "one" hints at single-item scope versus a list tool. However, it never states when to call this instead of query_metric or list_metrics, nor any prerequisites such as knowing the exact name first.

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