Skip to main content
Glama

gb_load_rom

Loads a Game Boy ROM file into the emulator, returning status, parsed ROM title, and resolved path; supports headless mode by default.

Instructions

Load a Game Boy ROM file into the emulator.

    Returns status, the parsed ROM title, and the resolved path.
    Supports headless mode (default: true).
    

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": {
      "rom_path": "<rom_path>"
    },
    "name": "gb_load_rom"
  }
}

Input Schema

NameRequiredDescriptionDefault
headlessNo
rom_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses the return payload (status, ROM title, resolved path) and that headless defaults to true, but says nothing about side effects on existing emulator state, whether a reset occurs, permission or file-access failures, or what 'status' contains on failure.

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?

Three short, front-loaded lines with no wasted words; the purpose comes first, then returns, then the notable default. Minor redundancy between the first sentence and the tool name, but nothing is padded.

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

Completeness3/5

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

For a simple two-parameter tool with no output schema, the description covers purpose, return fields, and one default. It is not complete enough for a stateful emulator tool because the effect on existing session state and the meaning of headless remain unstated.

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 0%, so the description must compensate for both parameters. It only mentions headless mode existing with a default of true, without defining what headless does, and gives no information on rom_path format (absolute vs relative, accepted extensions).

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 and resource: loads a Game Boy ROM file into the emulator, and names the inputs implicitly via 'ROM file'. It is distinguishable from gb_load_state (state snapshot) by the resource named, though the description never explicitly contrasts the two.

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 usage is implied by the name and first sentence: this is the entry point for getting a ROM running. There is no explicit guidance on when to call it versus gb_load_state or gb_reset, and no stated prerequisites such as whether it must precede gb_step or whether it discards an already-loaded ROM.

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