Skip to main content
Glama
Prometheus MCP Server

Prometheus MCP Server

by Elad-Health

query_windows_exporter

Query CPU, memory, disk, network, or service metrics from a Windows exporter target by instance and time range to inspect server health.

Instructions

Query common Windows metrics from windows_exporter (CPU, memory, disk, etc.)

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": {
      "instance": "<instance>",
      "metric": "<metric>"
    },
    "name": "query_windows_exporter"
  }
}

Input Schema

NameRequiredDescriptionDefault
metricYesType of metrics to query
instanceYesWindows server instance (hostname:port)
timeRangeNoTime range for averaging (e.g., "5m", "1h")5m

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 disclosure burden, and it discloses very little. 'Query' implies a read-only operation, but nothing is said about return shape, whether timeRange averages values, error behavior for unreachable instances, or whether unknown metrics are silently empty. For an unannotated tool this leaves significant behavioral gaps.

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 front-loaded sentence with the resource and scope stated first and no filler. The trailing 'etc.' is slightly imprecise but does not bloat the text.

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?

The tool is simple: three params, all fully described in the schema, no output schema, and the enum constrains the metric choice, so the description does not need to enumerate return values. The gaps around aggregation semantics and instance reachability are modest rather than crippling for a straightforward read-only query.

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 all three parameters are already documented, establishing a baseline of 3. The description's mention of CPU, memory, disk only echoes the metric enum values and adds no meaning for instance format or the timeRange averaging semantics beyond what the schema states.

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?

States a specific verb (Query) and resource (Windows metrics from windows_exporter) with examples of metric families, which is enough to distinguish it from generic Prometheus query tools. It does not explicitly contrast itself with query_node_exporter or query_blackbox_exporter, which is the main remaining ambiguity for an agent choosing among exporter-specific tools.

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 only implied: the word 'Windows' signals this is for Windows targets, and 'common metrics' hints at a prebuilt convenience query rather than a raw PromQL call. There is no explicit when-to-use/when-not, no mention of preferring query_instant/query_range for custom expressions, and no prerequisites about the exporter being reachable.

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