Skip to main content
Glama

display

Read back what a PS2 program wrote to GS video registers that cannot be read directly, including write counts and decoded frame-buffer/screen areas for debugging.

Instructions

What a console's program has written to the GS's display registers, which can't be read from the GS itself: PMODE, SMODE2, DISPFB1 and 2, DISPLAY1 and 2, BGCOLOR and their neighbours, each as it was last written, with writes, how many there have been since the program started. DISPFB and DISPLAY are taken apart too, as circuits: where the frame buffer is and what of it is shown. Only writes since the program started are known; the kernel's own, made when it sets the video mode, are among them.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does well: it discloses that these registers cannot be read from the GS itself, that values are 'as last written', that `writes` counts writes since program start, and that the kernel's mode-setting writes are included in that count. This provenance and staleness information materially changes how an agent should interpret the returned values. It does not state whether the call has any side effects or cost, leaving a small gap.

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?

It is front-loaded with the core answer ('what has been written to the display registers') and every clause adds information – no filler or repetition. It is dense and comma-heavy, bordering on run-on, which slightly hurts scanability but does not waste words.

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 read tool with an output schema already present, the description supplies the context the schema cannot: data provenance, the 'as last written' semantics, and the inclusion of kernel writes. Missing only a note on read-only nature/cost and any pointer to sibling tools, both minor for an inspection tool.

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, which is the baseline-4 case; there is no argument meaning to explain. The description instead spends its words on output semantics, which is a reasonable use of space given the absence of inputs.

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?

The description concretely names the resource being inspected – the GS display registers (PMODE, SMODE2, DISPFB1/2, DISPLAY1/2, BGCOLOR) as written by the console's program – and mentions the derived `circuits` breakdown. It is far more specific than a title restatement. It stops short of differentiating from plausible siblings such as `registers` or `status`, so an agent must infer that this covers graphics-synthesizer display state rather than CPU register state.

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?

There is no explicit statement of when to use this tool, when not to, or which sibling to use for adjacent questions (e.g. CPU registers, memory dumps). Usage is only implied by the subject matter. The caveat that values reflect last-written state is a behavioral constraint, not routing guidance.

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