Skip to main content
Glama
elizabethpammi

prom-evidence-mcp

instant_query

Run a PromQL query and receive an evidence block with exact query, execution time, series counts, and warnings to cite when making claims from the data.

Instructions

Run an instant PromQL query. The response includes an evidence block (exact query, execution time, series and sample counts, and warnings about empty or high cardinality results) that MUST be cited when making claims from this data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeNoOptional RFC3339 or unix timestamp to evaluate at (defaults to now)
promqlYesThe PromQL expression to evaluate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the response structure (evidence block with exact query, execution time, series/sample counts, warnings) and mandates citation of that evidence. It does not mention side effects, rate limits, or auth, but for a read-only query tool this covers the most important behavioral aspects.

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 with zero fluff. It front-loads the core purpose ('Run an instant PromQL query') and then adds the critical response/citation detail. Every word earns its place.

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?

Given there is no output schema, the description explains the response's key components (evidence block) and the mandatory citation behavior. It also covers the instant evaluation nature. It omits potential error handling or edge cases, but for a straightforward query tool this is sufficient for an agent to call it correctly.

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%, so both parameters (promql and time) are already documented. The description does not add parameter-specific detail beyond the schema, which is acceptable; the baseline of 3 applies.

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 clearly states the tool runs an instant PromQL query, specifying the verb 'run' and the resource 'PromQL query'. The word 'instant' distinguishes it from likely time-range siblings like range_query, though it does not explicitly name them, so it's not a perfect 5.

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 description implies the tool is for point-in-time queries via the word 'instant', but it does not explicitly state when to use this tool versus alternatives like range_query or list_metrics. There is no direct comparison or exclusion of sibling tools, leaving some inference to the agent.

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

Deploy Server

Other Tools