Skip to main content
Glama

prtg_list_logs

Read-onlyIdempotent

Retrieve recent PRTG log entries for the whole server or a specific object and its children, newest first, with time-window and paging filters.

Instructions

Recent PRTG log entries (state changes, alarms, notifications, acknowledgements, configuration changes), newest first, for the whole server or one object and everything below it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prtg_list_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return (1-500).
offsetNoRows to skip, for the next page (use nextOffset from the previous result).
periodNoTime window.today
object_idNoOnly entries for this PRTG object (probe, group, device or sensor ID) and below.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 needs no restating. The description adds real value beyond that with content types and newest-first ordering, but says nothing about pagination behavior, retention limits, or whether the log is server-wide versus per-object filtered results.

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 that names the resource first, then qualifies it with the entry types, ordering and scope. The parenthetical enumeration is long but each item earns its place by clarifying what appears in the log.

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?

For a read-only, annotation-covered listing tool with no output schema and four fully documented parameters, the description covers content, ordering and filtering scope adequately. Pagination and retention/volume expectations are the only notable omissions, and the schema already explains the paging parameters.

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 limit, offset, period and object_id are fully documented in the schema and the baseline is 3. The description's scope phrase ('one object and everything below it') merely restates the object_id schema text and gives no additional meaning for period or paging.

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 resource (PRTG log entries) with enumerated entry kinds, an ordering ('newest first') and a scope ('whole server or one object and everything below it'), so the agent knows exactly what is returned. It does not explicitly distinguish itself from prtg_list_alarms or prtg_status, which enumerate similar-sounding concepts (alarms, acknowledgements), leaving mild ambiguity about which tool surfaces that data.

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 reader infers 'use this for recent log/history entries' and the scope sentence hints at when to pass object_id. There is no explicit when-to-use, when-not-to-use, or named alternative such as prtg_list_alarms for alarm state versus log entries.

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