Skip to main content
Glama

get_rom_header

Parses and returns the loaded Game Boy ROM header (0x0100-0x014F) for cartridge metadata inspection, and reports an error if no ROM is loaded.

Instructions

Parse and return the ROM header (0x0100-0x014F).

    Delegates to domain/rom_header.parse(). Returns error if no ROM loaded.
    

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose one important behavioral trait: the tool errors when no ROM is loaded. It adds nothing about what the parsed header contains, whether parsing is idempotent, or how errors are surfaced beyond a generic 'error'.

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?

Two short sentences, front-loaded with the action and the address range. The second sentence includes an internal implementation note ('Delegates to domain/rom_header.parse()') that adds little for an agent, while the genuinely useful error condition is packed into the same line.

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 zero-parameter reader with no output schema, the description should say what the returned header looks like, and it never enumerates fields or shape. It is otherwise adequate: purpose, memory range, and the no-ROM error case are all covered.

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 takes zero parameters, so there is no parameter meaning to convey and the baseline of 4 applies. The address range in the description is a useful scoping detail even though no inputs exist.

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 ('Parse and return') and resource ('the ROM header') with an explicit address range (0x0100-0x014F), so an agent knows exactly what data comes back. It does not explicitly contrast with the sibling read_rom_bytes, which could also fetch this range, leaving the differentiation implicit.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance and never mentions read_rom_bytes or any alternative, so an agent has no stated rule for choosing this specialized parser over a raw byte read. The only conditional present is the failure case ('Returns error if no ROM loaded').

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