Skip to main content
Glama
Prometheus MCP Server

Prometheus MCP Server

by Elad-Health

query_node_exporter

Queries CPU, memory, disk, network, load, and filesystem metrics from a Linux server instance to monitor health and diagnose resource issues over a chosen time range.

Instructions

Query common Linux metrics from node_exporter (CPU, memory, disk, network, load)

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_node_exporter"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 largely does not meet it. 'Query' implies a read, but the description never covers authentication to node_exporter, rate-limit or timeout behavior, or that timeRange only affects rate-based metrics; it also says nothing about the shape of results returned.

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 no filler, and the resource-and-scope information comes first. It is efficient, though the brevity borders on under-specification rather than tightness.

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?

With three parameters, no annotations, and no output schema, the description should explain what a result looks like and how the metric families differ. Instead it only repeats the metric list, leaving return format, rate semantics for timeRange, and error behavior entirely unaddressed.

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%, with all three parameters, including the metric enum, documented in the schema, so the baseline is 3. The description's metric list merely restates the enum values and adds no syntax, format, or defaults (e.g. the 5m default) beyond the schema.

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 (common Linux metrics from node_exporter) and enumerates the metric families covered (CPU, memory, disk, network, load), so an agent can tell it is a Prometheus-node_exporter query tool distinct from blackbox/windows exporter siblings. It stops short of naming those siblings, so differentiation is inferred from the platform keyword rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use, when-not-to-use, or alternative routing guidance. The word 'Linux' weakly implies this is for Linux hosts rather than the Windows/blackbox variants, but nothing tells the agent which to pick when several exporters are available, nor whether this is for instant values vs range queries covered by query_range/query_instant.

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