Skip to main content
Glama
ps5debug-mcp

ps5debug-mcp

by renan-marcel

ps5_find_xrefs_to

Finds instructions in a PS5 memory range whose RIP-relative operand targets a specific address, enabling cross-reference discovery for reverse engineering and code analysis.

Instructions

Find instructions in a memory range whose RIP-relative operand targets a specific address.

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": {
      "target": "<target>"
    },
    "name": "ps5_find_xrefs_to"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo
startNoDefaults to module base
lengthNoDefaults to module size
moduleNoeboot.bin
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, yet it only says what is searched. It does not disclose whether the operation is read-only, whether it requires an attached debuggee, whether it scans the whole module by default and how costly that is, or what the results look like (addresses, instruction text, count).

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 well-formed sentence with no filler and the key constraint (RIP-relative operand targeting an address) front-loaded. It is appropriately sized, though the space saved is not redirected toward operational detail.

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 five-parameter analysis tool with no output schema and no annotations, the description is thin: it omits prerequisites, default scan scope behavior, expected result shape, and any parameter meaning. An agent could form a call but would be unsure about environment requirements and how to interpret results.

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

Parameters2/5

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

Schema description coverage is only 40%, and the description adds essentially nothing: it never explains that 'target' is the address being referenced, that 'start'/'length' define the scan window, or what 'pid' and 'module' select. The phrase 'memory range' only loosely implies the start/length pair, leaving the undocumented parameters unexplained in both places.

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 uses a specific verb (Find) and a precise resource (instructions in a memory range whose RIP-relative operand targets a specific address), which is far more informative than the tool name alone. It stops short of distinguishing itself from nearby analysis siblings such as ps5_disasm_region or ps5_aob_scan, so an agent still has to infer which scanning tool is appropriate.

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 statement of prerequisites (e.g., whether a process must be attached or the console connected), and no reference to alternatives for locating code that references an address. The agent must guess the operational context entirely.

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