Skip to main content
Glama

gb_get_lcd_status

Reads Game Boy LCD/PPU registers and returns parsed state, decoding control and status bits for display inspection; errors when no ROM is loaded.

Instructions

Read LCD/PPU registers and return parsed state.

Reads LCDC (0xFF40), STAT (0xFF41), SCY/SCX, LY/LYC, WY/WX. LCDC and STAT bits are decoded into named fields. 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": "gb_get_lcd_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/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 a fair job: it discloses the specific addresses read, that LCDC/STAT bits are decoded into named fields, and that the call errors when no ROM is loaded. It does not say whether the read has side effects, what the decoded field names look like, or how PPU mode timing affects the snapshot.

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?

Four short lines, front-loaded with the action and result, followed by the address list and the error condition. Minor redundancy between 'Read LCD/PPU registers' and 'Reads LCDC...', but nothing is wasted.

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 no-param read tool this is nearly sufficient, and the error case is a useful addition. Since there is no output schema, the description should say more about the shape of the returned 'parsed state' (field names, whether raw hex is included alongside decoded bits).

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 nothing for the description to disambiguate; baseline 4 applies. The schema is an empty object and the description correctly implies a no-argument call.

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 ('Read') and resource ('LCD/PPU registers') plus the returned artifact ('parsed state'), then enumerates the exact registers (LCDC, STAT, SCY/SCX, LY/LYC, WY/WX). This is clearly distinguishable from a generic register read, though it never explicitly names gb_get_registers as the sibling it differs from.

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?

Usage is implied by the resource: call it when you need LCD/PPU state. There is no explicit when-to-use framing, no statement of when to prefer gb_get_registers or gb_screenshot instead, and no exclusions.

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