Skip to main content
Glama

prtg_search

Read-onlyIdempotent

Search PRTG groups, devices, and sensors by name or host address to find the ID of a client, site, device, or sensor.

Instructions

Search PRTG by text: groups and sensors whose name contains it, devices whose name or host (address) contains it. Use it to find the ID of a client, site, device or sensor.

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": {
      "query": "<query>"
    },
    "name": "prtg_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoWhat to search (default all).
limitNoRows to return (1-100).
queryYesText to look for (2-100 characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, which lowers the bar. The description does add real behavior beyond that, namely that devices match on host address as well as name, but it omits result ordering/relevance and how truncation behaves when limit is hit.

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 with no filler, and the matching semantics come before the usage hint, so the most decision-relevant information is front-loaded.

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?

Complete enough that an agent can tell which resources are covered, what text is matched, and that the result is meant to be an ID. With no output schema, though, it never says whether results include names, paths, or just IDs, or how multiple hits are ordered.

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 the schema already documents query (2-100 chars), kinds (default all), and limit (1-100, default 20), making the baseline 3. The description's per-kind matching note adds a little meaning about what the query string is compared against, but nothing about the kinds or limit parameters themselves.

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?

Names a specific verb (search) plus the exact match semantics per resource type: groups and sensors match on name, devices on name or host address. It also states the practical goal — resolving an ID — which separates it from the prtg_list_* and prtg_get_* siblings without needing to name them.

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?

"Use it to find the ID of a client, site, device or sensor" gives a clear trigger for when to reach for this tool over the listing tools. It stops short of explicit exclusions, such as saying to use prtg_list_* when no text filter is known, so it falls just short of full routing guidance.

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