Skip to main content
Glama
ps5debug-mcp

ps5debug-mcp

by renan-marcel

ps5_debug_get_regs

Read general-purpose registers for a live PS5 thread using its lwpid to inspect CPU state and support debugging.

Instructions

Read GP registers for a thread (lwpid).

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": {
      "lwpid": "<lwpid>"
    },
    "name": "ps5_debug_get_regs"
  }
}

Input Schema

NameRequiredDescriptionDefault
lwpidYes

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. 'Read' implies a non-destructive query and 'GP registers' bounds the register class, but it says nothing about whether an attached/suspended debugger session is required, whether the thread is left running, or what failure looks like if lwpid is stale or invalid. For a debugger-state tool this is a substantial gap.

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?

One short sentence with the resource and scoping parameter front-loaded and no wasted words. It is efficient, though the terseness is part of why behavioral context is thin.

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?

This is a simple one-parameter read with no output schema, so the description need not explain return formatting. However, missing preconditions (attach/suspend state) and the register-set scope (GP only, no FP/SIMD) leave an agent short of what it needs to call this reliably in a live debugging workflow.

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 0% for the single lwpid parameter, so the description must compensate and does so only partially: it clarifies that lwpid identifies a thread, but not its provenance (e.g. obtainable from ps5_debug_threads) or the behavior when the value is not a live thread.

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 states a specific verb and resource: 'Read GP registers' scoped to 'a thread (lwpid)'. That is enough to distinguish it from ps5_debug_read_stack or ps5_read_memory, since the resource (general-purpose CPU registers) is named explicitly.

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 guidance on when to call this versus ps5_debug_read_stack or ps5_read_memory, and no stated prerequisites such as requiring ps5_debug_attach first or the thread being suspended via ps5_debug_suspend_thread. The agent must infer both the alternatives and the preconditions.

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