Skip to main content
Glama

Show the game to the user

live_view

Streams a live local URL showing the real page the agent drives, with JPEG frames, current passage, step, and actions. Use it to watch headless gameplay; set open to launch your browser.

Instructions

Show the user the real page the agent drives: a local URL streaming JPEG frames (~1/s) plus passage, step, actions. Works headless. open:true launches the default browser. Repeat calls return the same URL.

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

Input Schema

NameRequiredDescriptionDefault
openNoAlso open the URL in the default browser (at most once per game).
game_idNoSession id from open_game. Omit when a single game is open.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.0
    • changedInput schema / properties / game_id / description
      Previous value: -"Session id returned by open_game."New value: +"Session id from open_game. Omit when a single game is open."
    • changedInput schema / properties / open / description
      Previous value: -"Also open the URL in the default browser on this machine (default false). Only pass true when the user wants you to open it — at most once per game."New value: +"Also open the URL in the default browser (at most once per game)."
    • removedInput schema / required
      Removed value: -[
      -  "game_id"
      -]
  2. First observedv0.1.3

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 supply real behavioral facts: ~1 frame/second JPEG streaming, headless compatibility, browser launch only via open:true, and that repeated calls return the same URL (idempotent behavior). It omits how long the URL lives, whether the view is read-only/safe to spam, and what happens without an open game.

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?

Dense and front-loaded, with the core promise in the first clause and behavioral caveats after it; no filler sentences. The telegraphic 'plus passage, step, actions' is slightly opaque about what those fields are, costing a bit of clarity.

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 two-parameter, zero-required, no-output-schema tool with no annotations, the description covers what is returned (a streaming URL), rendering behavior (~1/s JPEG), headless operation, and browser launch. Only edge cases like missing game_id or URL lifetime are left unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters are already documented, including the 'at most once per game' constraint on open. The description restates open:true's effect and adds the idempotency note about repeated calls, but contributes no new meaning about game_id scoping or the default single-game behavior.

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 and resource: shows the user a live local URL streaming JPEG frames of the real page the agent drives, along with passage, step, and actions. It is clearly distinguishable from a static capture, though it never names a sibling tool (e.g., screenshot/observe) to make the contrast explicit.

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 only implied: 'show the user the real page' suggests use when the human wants to watch progress, and 'works headless' implies it is safe in headless sessions. There is no explicit when-to-use/when-not or comparison against screenshot or observe, and no prerequisites stated.

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