Skip to main content
Glama

halt

Pauses a running PlayStation 2 program at the next thread instruction, enabling register inspection, stepping, and resuming execution.

Instructions

Holds the program that's running, wherever it is, as a breakpoint there would: the state is "held", and registers, step and resume follow. A console holds it at the next instruction one of its threads does. A program whose threads are all waiting (for a semaphore, the next frame) is still "running" when this returns, and is held when one next runs; one that's waiting for good is ended with stop.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses that state becomes 'held', that `registers`, `step`, and `resume` follow, and that a program with all threads waiting remains 'running' upon return until a thread next runs. It omits error cases or already-held state, but the core behavior and edge cases are transparent.

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?

The effect is front-loaded and every sentence adds behavioral detail about state transitions or thread-waiting edge cases. The phrasing is somewhat dense and informal ('as a breakpoint there would', 'waiting for good'), which slightly reduces immediate clarity but does not waste space.

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?

For a zero-parameter tool with an output schema, the description covers the nuanced behavior: console versus program distinction, thread waiting states, and the `stop` alternative for termination. It does not document already-held or error conditions, but it is complete enough for an agent to understand what `halt` does and when to invoke it.

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?

The tool has zero parameters, so there is no parameter semantics for the description to add. The baseline for a 0-parameter tool is 4.

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?

States a specific verb ('holds') and resource ('the program that's running, wherever it is'). It distinguishes itself from `breakpoint` by contrast ('as a breakpoint there would') and from `stop` by noting that a program waiting for good is ended with `stop`. The distinction from `breakpoint` is implicit rather than explicit, keeping it from a 5.

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?

Explains the operational context: use on a running program, with console and thread-waiting nuances, and names `stop` as the alternative when a program is waiting for good. It does not explicitly say when to choose `halt` over the sibling `breakpoint`, but the contrast and conditions are clear enough to guide selection.

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