Skip to main content
Glama
sylvanai-mcp
by Arwalk

Get screenshot

get_screenshot
Read-onlyIdempotent

Retrieve a captured screenshot as a JPEG with its path and size to answer spatial or UI questions, choosing latest or a specific screenshot and an optional crop region.

Instructions

A screenshot the user took, as a JPEG image plus its path and size. Use only for spatial or UI questions.

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

Input Schema

NameRequiredDescriptionDefault
idNoScreenshot id from list_screenshots, or "latest".latest
regionNoCrop; center avoids chat and names.center
max_edgeNoLongest image edge in px; tokens ~ (w/28)*(h/28).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive behavior, so the safety profile is covered. The description adds value beyond them by disclosing the payload format (JPEG) and that path and size metadata accompany the image, plus a scope restriction on when the image is appropriate.

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 short sentences, the payload description first and the usage constraint second. No filler and nothing that could be moved earlier.

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?

There is no output schema, and the description compensates by naming the return payload components (image, path, size). Combined with fully documented parameters and annotations, an agent has what it needs to call and interpret it; only fine details like image dimensions are left to the schema.

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%, and the schema already explains the id lookup, crop regions and the max_edge token tradeoff. The description mentions 'size' but adds no syntax or guidance beyond what the parameter descriptions already say, so baseline 3 applies.

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 identifies the resource (a screenshot the user took) and its return shape (JPEG image plus path and size), which is more than a restatement of the name. It doesn't explicitly contrast itself with list_screenshots, but the 'user took' framing and image payload make the distinction readable.

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?

'Use only for spatial or UI questions' is an explicit exclusion that steers the agent away from non-visual queries. It stops short of naming alternatives (e.g. list_screenshots for discovery or text-based tools for non-spatial questions), so it is clear context without full routing.

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