Skip to main content
Glama

breakpoint

Sets or removes instruction-level pause points so a PlayStation 2 program is held before the selected instruction executes, and returns all active pause points.

Instructions

Sets a breakpoint at an instruction of the EE's program, or removes one. A program that reaches it is held there, before the instruction is done: run and resume return with the state "held". Breakpoints are kept from one run to the next, and can be set before the program is run or while it runs. Returns all that are set.

While a program is held its breakpoints are out of its memory, which reads as the program's own. One in a branch's delay slot is reported at the branch.

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": {
      "address": "<address>"
    },
    "name": "breakpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
removeNo
addressYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it discloses that the program is held *before* the instruction executes, that breakpoints persist across runs, and non-obvious quirks (breakpoints absent from the held program's memory view, delay-slot breakpoints reported at the branch). It omits failure behavior (e.g., invalid address) and any permission/state prerequisites, keeping it short of exhaustive.

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?

Front-loads the primary action and its effect, then uses a second paragraph for edge-case behavior. Two short paragraphs with no filler; the delay-slot sentence is niche but genuinely informative rather than padded.

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

Completeness4/5

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

A mutation-style tool with no annotations but a present output schema, so return values need not be described. The description covers timing, persistence, interaction with `run`/`resume`, and memory-view quirks; the remaining gap is that it never states error or precondition behavior for an invalid or unreachable address.

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 conveys that `address` names an instruction and that the tool can remove rather than add. However it never clarifies the anyOf(integer | string) address union — whether symbolic labels or hex strings are accepted — which is the main ambiguity an agent would face.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair and resource: 'Sets a breakpoint at an instruction of the EE's program, or removes one', and immediately ties it to observable effects on the sibling tools `run` and `resume`. An agent can distinguish this from `watchpoint` by the described hold-before-execution behavior without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context for when the tool applies: 'can be set before the program is run or while it runs', and explains the consequence of hitting one (run/resume return 'held'). It does not explicitly contrast with `watchpoint` or state preconditions/error cases, so there is no true exclusion guidance.

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