Skip to main content
Glama

Load ROM

load_rom

Load a ROM into the emulator, starting the game paused and returning the first screenshot. Provide a library name or ROM data with a filename.

Instructions

Loads a ROM into the emulator and starts the game, paused, ready for the next tool call. Provide either "name" (from list_roms) or "romBase64" + "fileName" for a ROM not in the library. Returns the first screenshot once the game has booted — this can take a while the first time a system's core is downloaded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoA ROM name or fileName from list_roms().
fileNameNoRequired with romBase64 — needs a real extension (e.g. "game.nes") for system detection.
romBase64NoBase64-encoded ROM bytes, for a ROM not in the library.
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses that the game starts paused, returns the first screenshot after boot, and may be slow on first core download. These behavioral traits go beyond a simple 'loads a ROM' statement, though it does not mention failure modes or side effects.

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 two sentences, front-loaded with the core action, then efficiently covers the two input modes and the return behavior. Every sentence contributes meaningful information without redundancy.

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

Completeness5/5

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

For a tool with 3 parameters, no output schema, and no annotations, this description covers the input options, the resulting state (paused), the return value (screenshot), and a timing caveat (core download). It provides an agent with enough context to invoke the tool correctly.

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 schema already provides 100% parameter coverage, but the description adds crucial semantics: the mutually exclusive use of name vs. romBase64+fileName, and the requirement for fileName to have a real extension for system detection. This enriches the bare schema definitions.

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 clearly states the tool's function: 'Loads a ROM into the emulator and starts the game, paused.' It also distinguishes the tool from siblings like list_roms by referencing it and focusing on the loading action, making the purpose unambiguous.

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?

The description provides explicit usage guidance: use 'name' from list_roms for library ROMs, or romBase64+fileName for external ROMs. It does not explicitly contrast with sibling tools like reset_emulator or control_emulator, but the pairing with list_roms gives sufficient context for when to invoke load_rom.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thevalmarch/opalemu-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server