Skip to main content
Glama
etruong42

Prometheus MCP

by etruong42

prometheus_query_range

Query Prometheus for time series metrics and generate a plotted image to visualize infrastructure status over a specified time range.

Instructions

Query Prometheus /query_range API endpoint and return
an image of a plot of the time series monitoring data.
Use this tool whenever the user asks about the status
of their compute infrastructure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepYes
queryYes
end_timeYes
start_timeYes
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that the tool returns an image, which is a key behavior. However, it omits details like whether the operation is read-only, rate limits, or required permissions.

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?

Two sentences, front-loaded with core purpose, no redundancy. Every sentence adds value.

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?

Given the complexity (4 required params, no schema descriptions, no output schema), the description is too sparse. It does not clarify parameter format, return image type, error handling, or how the tool integrates with the sibling.

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

Parameters1/5

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

Schema coverage is 0%, and the description does not explain any of the four required parameters (query, start_time, end_time, step). Even though 0 parameters have descriptions, the description fails to compensate, offering no semantic guidance.

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 queries the Prometheus /query_range API and returns an image plot. It explicitly distinguishes itself from the sibling prometheus_alert_rules by focusing on time series data and plots.

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 provides a clear usage context: 'Use this tool whenever the user asks about the status of their compute infrastructure.' While it doesn't explicitly exclude alternatives, it gives direct guidance on when to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/etruong42/prometheus-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server