Skip to main content
Glama

get_vector_table

Retrieve RST and interrupt vectors with entry-point bytes from a loaded Game Boy ROM, and return an error when no ROM is loaded.

Instructions

Return RST vectors, interrupt vectors, and entry point with first bytes.

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_vector_table"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden and does disclose one important failure mode (no ROM loaded) and the general shape of the returned data. It does not state read-only safety explicitly, nor the format of the 'first bytes' field or whether an address map accompanies the vectors, leaving meaningful behavioral gaps for an annotation-free tool.

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 with no wasted wording, and the returned fields are front-loaded. The stray indentation and line breaks are cosmetic only and do not impede comprehension.

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 zero-parameter, annotation-free tool with no output schema, the description supplies enough: what is returned (RST vectors, interrupt vectors, entry point, first bytes) and the single error condition. Minor gaps remain around exact return layout and address ranges, but nothing essential to invoking it correctly is missing.

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 per the baseline there is nothing for the description to disambiguate. The empty schema is self-explanatory and the description correctly adds no parameter noise.

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 clear verb ('Return') and specific resource content (RST vectors, interrupt vectors, entry point with first bytes), which lets an agent distinguish it from generic readers like gb_read_memory. It does not explicitly differentiate itself from adjacent siblings such as get_rom_header or gb_get_interrupt_status, but the resource is concrete enough to select on.

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 only guidance is the precondition 'Returns error if no ROM loaded', which usefully implies it should be called after a ROM load. There is no explicit statement of when to prefer this over get_rom_header or the other status readers, so usage is only implied.

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