Skip to main content
Glama

step

Advances a paused PS2 program by a chosen number of instructions and reports the resulting execution state, including branch delay slots, calls, and syscalls.

Instructions

Steps a held program by count instructions, and says where that leaves it. A branch and the instruction in its delay slot are one step. A call is stepped into; a syscall is stepped over, and one that waits leaves the program "running" until it returns.

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

Input Schema

NameRequiredDescriptionDefault
countNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and succeeds in explaining important edge semantics: branch plus delay slot count as one step, calls are stepped into, syscalls are stepped over, and waiting syscalls leave the program running until return. It still does not explicitly state the program-state prerequisite or failure behavior if the program is not held, but the key stepping behavior is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core action, then adds only the edge-case semantics needed to interpret stepping correctly. Every sentence contributes useful information without repetition or filler.

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 one-parameter debugger stepping tool with an output schema, the description covers purpose, parameter meaning, and important instruction-level edge cases. It is nearly complete, though explicit usage guidance relative to run/resume/halt is still absent.

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 single `count` parameter has 0% schema description coverage, so the description must compensate. It does by explaining that `count` controls how many instructions are stepped and by defining what a step means in branch, call, and syscall cases; only minor edge cases such as bounds or negative values are left unaddressed.

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?

The description gives a specific verb and resource: "Steps a held program by `count` instructions, and says where that leaves it." It also defines what counts as one step, making the instruction-level scope clear enough to distinguish it from run/resume-style siblings.

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

Usage Guidelines3/5

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

The phrase "held program" implies the program must already be stopped/held before stepping, but the description does not explicitly state when to use this versus run, resume, or halt. Usage is inferable from the stepping semantics rather than clearly documented with alternatives or exclusions.

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