Skip to main content
Glama

prtg_get_sensor

Read-onlyIdempotent

Retrieve detailed status and metrics for a single PRTG sensor by sensor ID, including device, state, last message/value, check interval, uptime/downtime, and channel values.

Instructions

One PRTG sensor: type, device, state, last message and value, check interval, last up/down, uptime and downtime, and every channel's last value.

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": {
      "sensor_id": "<sensor_id>"
    },
    "name": "prtg_get_sensor"
  }
}

Input Schema

NameRequiredDescriptionDefault
sensor_idYesPRTG sensor ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds value by disclosing the breadth of returned state, including per-channel last values and uptime/downtime, but says nothing about missing-sensor behavior, data freshness, or permissions.

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 dense sentence with zero waste, front-loaded with the resource and then the returned facets. It is a fragment rather than a sentence, but every clause 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?

With no output schema, the description must describe return values, and it does so thoroughly by enumerating the fields. Remaining gaps are error behavior and freshness semantics, which are minor for a simple read-only single-entity fetch.

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% and sensor_id is fully documented, so the schema carries the parameter burden. The description adds no extra meaning about ID format, validity, or lookup failure, which is acceptable at this coverage level.

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 names a specific resource ('One PRTG sensor') and enumerates the exact facets returned (type, device, state, last message/value, interval, uptime/downtime, channels), which clearly separates it from prtg_list_sensors and prtg_get_sensor_history. It lacks an explicit verb like 'retrieve,' but the field list makes the operation unambiguous.

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 when-to-use guidance and no mention of alternatives such as prtg_get_sensor_history for time series or prtg_list_sensors for enumeration. The agent must infer from the field list that this is a single-sensor current-state snapshot.

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