Skip to main content
Glama

Get Screenshot

get_screenshot
Read-onlyIdempotent

Fetch a screenshot captured during a play as a viewable image. Use the screenshotKey from a step in get_play_status.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "scriptRunId": "<scriptRunId>",
      "screenshotKey": "<screenshotKey>"
    },
    "name": "get_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYes
scriptRunIdYes
screenshotKeyYesThe screenshotKey reported by a step in get_play_status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds that the result is a 'viewable image', hinting the return is image content rather than a bare path, but it never says whether it is a URL, binary payload, or what happens if the screenshot has expired or the key is stale. With no output schema, that return-format ambiguity is a real 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?

Two sentences, zero filler, with the core action stated first and the prerequisite second. Nothing could be removed without losing information.

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 three-required-parameter retrieval tool with no output schema, the description covers the key parameter chain but leaves projectId/scriptRunId unexplained and the return payload under-specified. Adequate to invoke, not complete enough to predict the result.

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?

Schema description coverage is 33%: only screenshotKey is documented, and the description merely restates that guidance. projectId and scriptRunId receive no explanation in either the schema or the description, leaving two of three required parameters semantically opaque.

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?

"Fetch a screenshot captured during a play as a viewable image" gives a specific verb (fetch) and resource (a screenshot from a play), and implicitly separates it from get_play_status by framing that tool as the source of the key rather than the retriever. It does not explicitly contrast with other asset-ish siblings such as get_script_asset, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence supplies a concrete prerequisite workflow: obtain the screenshotKey from a step in get_play_status first. That is actionable context most tools lack. It stops short of 5 because it offers no exclusion or 'do not use when' guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.