Skip to main content
Glama

game_screenshot

Captures the current game viewport as a PNG image without advancing simulation ticks, enabling repeatable visual inspection and playtesting snapshots.

Instructions

Capture the current game viewport as a PNG image without advancing simulation ticks.

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

Input Schema

NameRequiredDescriptionDefault
maxWidthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations exist, so the description must carry the full behavioral load. It usefully discloses the key non-mutating trait (no simulation tick advanced), but says nothing about whether the game must already be running, whether the image is returned inline (base64) or written to a path, or any size limits. For a tool with zero annotation coverage and no output schema, that is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tight sentence with the action front-loaded and the important non-side-effect caveat attached. No filler whatsoever.

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 one-optional-parameter capture tool, the core purpose is covered, but without an output schema the description should explain the return form (inline image data vs. file path) and the maxWidth semantics. Those omissions leave an agent guessing on invocation results.

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

Parameters2/5

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

The single parameter maxWidth has 0% schema description coverage, and the description never mentions resizing, scaling behavior, aspect-ratio preservation, or what happens when it is omitted. The description thus adds no meaning beyond the bare schema property name.

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 — 'Capture the current game viewport as a PNG image' — and the clause 'without advancing simulation ticks' behaviorally separates it from the stepping sibling (game_step). It stops short of naming an alternative outright, but the action and output format are unambiguous.

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 context is only implied: the note about not advancing ticks hints that this is the side-effect-free observation path versus game_step. There is no explicit when-to-use, when-not-to-use, or named alternative, and no stated prerequisite that the game be launched/running.

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