Skip to main content
Glama
ps5debug-mcp

ps5debug-mcp

by renan-marcel

ps5_klog_tail

Retrieves recent /dev/klog lines and optionally filters them case-insensitively to help inspect live PS5 kernel logs during debugging.

Instructions

Return the most recent /dev/klog lines (with optional case-insensitive filter).

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

Input Schema

NameRequiredDescriptionDefault
linesNo
filter_textNo

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?

With no annotations, the description carries the full burden and discloses little: it does not say whether the call blocks, whether it drains or merely peeks at the log buffer, whether a connection/attach is required, or what form the lines take (single string vs array). The 'case-insensitive filter' note is the only behavioral detail beyond the schema.

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?

A single sentence with the resource and scope front-loaded and no filler. Every clause carries information: the target, the recency ordering, and the optional filter.

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

Completeness2/5

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

No annotations, no output schema, and 0% parameter description coverage mean the description is the only documentation, yet it omits prerequisites, return shape, and what happens when the filter matches nothing. For a log-tail tool whose semantics depend on prior state, that leaves meaningful gaps.

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 0%, so the description must compensate. It adds real meaning for filter_text by specifying case-insensitive matching, which the schema does not state, but says nothing about 'lines' beyond the schema's default of 50 (e.g., allowed range, whether the count is capped or applied after filtering).

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?

Names a specific verb ('Return') and resource ('/dev/klog lines') with the scope narrowed to 'most recent' and an optional filter, which clearly separates it from the start/stop capture siblings. It stops short of naming any sibling explicitly, so differentiation is inferred from the verb rather than stated.

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?

No statement of when to call this versus ps5_klog_start/ps5_klog_stop, and no prerequisite such as requiring ps5_connect or that klog capture has been started. The only hint is 'most recent lines', which implies a one-shot snapshot read, but the agent must guess whether capture must already be running.

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