Skip to main content
Glama
YogevKr

Wraith MCP Server

by YogevKr

screenshot

Capture a screenshot of the current page.

Instructions

Capture a screenshot of the current page.

Returns an inline PNG image (so a multimodal model can see the page and disambiguate by the same element indices). On an SDK without image content support, falls back to saving a temp PNG and returning its path. Wraith blocks this tool after a secret fill. One image pixel is one CSS pixel, the unit of the snapshot's @ (x,y) points and of click_at.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "screenshotOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does substantial work: return format (inline PNG vs. temp-file path fallback on SDKs without image content), a hard security constraint (blocked after a secret fill), and the coordinate unit contract tying one image pixel to one CSS pixel for `@ (x,y)` and `click_at`. It does not say whether the capture is viewport-only or full-page, which is the main remaining behavioral 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?

Four short sentences, each carrying distinct information: what it does, what it returns, the fallback, the blocking constraint, and the coordinate semantics. The primary capability is front-loaded and nothing is repeated from structured fields.

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?

Given zero params, no annotations and no output schema, the description covers return shape, fallback path, a security exclusion and coordinate units — enough for correct invocation. The one omission is capture scope (viewport vs. full page) and any size/perf caveat, which an agent may need when deciding between this and `snapshot`.

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, so there is nothing for the description to disambiguate and the baseline is 4. The description instead clarifies the implicit output contract, which is the useful thing to add here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Capture a screenshot of the current page') and immediately clarifies the output form. It also distinguishes itself from the sibling `snapshot` by explaining that the image lets a multimodal model disambiguate by the same element indices, so the agent can tell the two apart without opening either tool.

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?

Clearly gives the conditions under which this is the right call (multimodal model needs to see the page) and states an explicit exclusion mechanism ('Wraith blocks this tool after a secret fill'). It stops short of naming a direct alternative such as 'use snapshot for element indices only', so the when-not guidance is environmental rather than comparative.

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