Skip to main content
Glama

gb_run_until

Runs Game Boy emulation until a specified address is reached or a frame limit expires, returning registers at the breakpoint or a timeout error.

Instructions

Execute until target_address is hit or timeout_frames exceeded.

    Registers a hook at the target address and ticks until the hook fires
    or the frame budget runs out. Returns registers at the breakpoint or
    {"error": "TIMEOUT", ...} if the target was not reached.
    

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_address": "<target_address>"
    },
    "name": "gb_run_until"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_addressYes
timeout_framesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 well: it discloses the hook mechanism, that execution is bounded by a frame budget, and both return shapes — registers on breakpoint hit, or {"error": "TIMEOUT", ...} when not reached. It omits whether the emulator is left paused afterward and what happens to state on timeout, which keeps it below a 5.

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?

Short, front-loaded with the stop condition, and every sentence contributes operational detail. There is mild restatement between the first line and the mechanism sentence, but the second pass adds information (hook + ticking) rather than repeating.

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 two-parameter tool with no annotations and no output schema, the description covers purpose, mechanism, and both success and failure returns, which is close to what an agent needs. The remaining gap is post-call state (is execution paused at the breakpoint?) and address formatting.

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 supply meaning and it partially does: target_address is the address to run until, and 'frame budget' clarifies that timeout_frames is counted in frames with a conceptual default. It adds no format detail (e.g., whether the address is a hex/decimal integer literal) and never states units or bounds for the timeout value.

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 ('Execute') plus the exact stopping conditions: target_address reached or timeout_frames exceeded. It is clearly distinguishable from gb_step or gb_get_registers by name and behavior, though it never explicitly names a sibling it contrasts with.

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 mechanics ('Registers a hook at the target address and ticks') imply the use case — run the emulator forward to a breakpoint rather than single-stepping. But there is no explicit when-to-use/when-not guidance, no mention of gb_step as the alternative for fine-grained advancement, and no prerequisites.

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