Skip to main content
Glama

server_logs

Retrieve recent RP1 logs to inspect runtime activity and troubleshoot issues; optionally filter by log level and limit the number of entries returned.

Instructions

Retrieve recent RP1 server logs, optionally filtered by level

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": "server_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoFilter by log level
limitNoNumber of log entries (default: 50)
profileNoConnection profile name from config. Defaults to "default".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden and does not meet it: it never states that this is a read-only operation, what "recent" means (time window), that results are capped at 500, or what a log entry contains. Only the existence of a level filter is conveyed.

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 short sentence with the resource front-loaded and the optional filter trailing; nothing is wasted. It is concise to the point of under-specification rather than verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A low-complexity, zero-required-parameter tool with fully described schema and no output schema, so the basics are covered. It still omits the recency window and read-only nature, which an agent would want before deciding to call it.

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 coverage is 100%, so all three parameters (level, limit, profile) are already documented with enums, bounds and defaults. The description only repeats the level filter and adds no semantics beyond the schema, which is the baseline 3 case.

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 and resource ("Retrieve recent RP1 server logs") plus the optional filter, which is enough to separate it from siblings like server_status or server_config. It stops short of any explicit sibling differentiation, so it is clear but not distinguishing.

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?

The description offers no when-to-use or when-not-to-use guidance and never points at an alternative (e.g. server_status for health checks). The agent must infer that this tool is for diagnostics from the word "logs" alone.

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