Skip to main content
Glama

prtg_get_device

Read-onlyIdempotent

Fetches one PRTG device's host, group, probe, state, sensor counts, and down-sensor messages to inspect device health and troubleshoot issues.

Instructions

One PRTG device: host, group, probe, state, sensor counts, every sensor that is not up (with its message) and the names of the ones that are.

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": {
      "device_id": "<device_id>"
    },
    "name": "prtg_get_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idYesPRTG device ID.
sensor_limitNoMost sensors to list (1-500).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/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 real behavioral information beyond that: it discloses the asymmetric return shape (full detail plus messages for non-up sensors, names only for healthy ones) and implies the sensor list is capped. It does not say what happens when the cap is hit or how errors surface for a bad device_id, keeping it below 5.

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 no filler, and the most decision-relevant content (what a device record contains) is front-loaded. It is slightly telegraphic — a verbless list following a colon — but nothing is wasted.

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 carries the burden of explaining return values, and it does so in detail, which is the main thing an agent needs here. Gaps remain around truncation behavior when sensor_limit is exceeded and around error cases, but for a simple two-parameter read tool the coverage is close to sufficient.

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 device_id and sensor_limit are already documented with types, bounds and defaults. The description hints at the sensor_limit by describing which sensors get listed, but adds no format or edge-case semantics (e.g. whether the limit applies to down sensors only or all sensors). Baseline 3 is appropriate.

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 (a single PRTG device) and enumerates the exact contents returned: host, group, probe, state, sensor counts, non-up sensors with messages, and the names of healthy sensors. That is far more concrete than the title alone and implicitly distinguishes it from the plural prtg_list_devices. It never names a sibling explicitly, so it lands at 4 rather than 5.

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 at all: nothing says to call this when you already have a device_id versus using prtg_list_devices to discover one, or prtg_get_sensor for a single sensor's detail. The only implicit cue is the required device_id, which signals 'you must already know the device'. No alternatives or exclusions are stated.

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