Skip to main content
Glama

prism

Internal metrics

prism_metrics
Read-onlyIdempotent

Dumps Prism's in-process counters and gauges — spans shipped, upstream errors, rate-limit hits, queue depth. Two formats: 'prometheus' (default, scrape-ready text) or 'json' (a {"series{labels}": value} object). Use 'prefix' to narrow to a metric family, e.g. 'prism_spans'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNo'prometheus' returns scrape-ready text; 'json' returns a structured object.prometheus
prefixNoOnly include series whose name starts with this string (e.g. 'prism_spans', 'prism_rate').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds behavioral detail: output formats (prometheus/json) and prefix filtering, which enriches understanding beyond the annotations. It does not contradict annotations.

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?

The description is two sentences, tightly packed with purpose, formats, and prefix usage. Every sentence contributes value, and key information is front-loaded.

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?

For a simple read-only metrics tool with two optional parameters, annotations cover safety, and the description covers all parameters, formats, and filtering. No output schema exists, so return shape is not required. Nothing essential is missing.

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 coverage is 100%, so the baseline is 3. The description adds further meaning: it explains the 'prometheus' format is scrape-ready text, gives a concrete example for 'prefix' (e.g., 'prism_spans'), and explains the default format. This lifts it above the baseline.

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 clearly states the tool's verb and resource: 'Dumps Prism's in-process counters and gauges', and lists example metrics. This distinguishes it from sibling tools like prism_info or prism_config which clearly serve different purposes.

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?

The description implies usage for retrieving metrics and explains how to narrow results with 'prefix'. It does not explicitly contrast with alternatives or state when not to use it, but the distinct purpose makes selection obvious given sibling names.

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.