Skip to main content
Glama
ps5debug-mcp

ps5debug-mcp

by renan-marcel

ps5_debug_read_stack

Walk a live PS5 process's RBP stack server-side, capturing up to 64 frames to debug crashes and reverse engineer execution flow.

Instructions

Perform server-side RBP stack walk (up to 64 frames).

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": {
      "rbp": "<rbp>",
      "rsp": "<rsp>"
    },
    "name": "ps5_debug_read_stack"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo
rbpYes
rspYes
depthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

No annotations exist, so the description carries full behavioral burden, yet it only discloses the 64-frame cap and that the walk is server-side. It omits whether the target thread must be stopped, what happens with an invalid or null RBP, and whether an attached debugger or permissions are required.

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 with zero waste. It is efficient, though its brevity reflects under-specification rather than maximal information density.

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?

For a debug tool with four undocumented parameters, no annotations, and no output schema, the description leaves critical gaps: session prerequisites, address format, and return shape. An agent could plausibly call it at the wrong time or pass malformed addresses.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and there are four parameters. The description adds no syntax or format guidance for pid, rbp, rsp, or depth, so it does not compensate for the absent schema documentation. The 'up to 64 frames' phrasing only faintly hints at the depth parameter and says nothing about address encoding for rbp/rsp.

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 names a specific operation: a server-side RBP stack walk, capped at 64 frames. That is a clear verb+resource an agent can distinguish from sibling read tools like ps5_read_memory or ps5_debug_get_regs, though it never explicitly contrasts itself with them.

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 when-to-use guidance, no mention of alternatives for obtaining a backtrace, and no stated prerequisite such as an attached or suspended debugger. The agent must infer that this applies only during an active debug session.

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