Skip to main content
Glama

Take a picture of an app

screenshot_app
Read-only

Opens one page of a deployed app in a browser and returns a picture of it, with any errors the page reported while it loaded. Use it after a deploy to see what a person will see, which rows and logs cannot show: a blank page, a broken layout, text that does not fit. A preview deployed without an account is shown as a guest. An app in the account is shown signed in as the connected person. Only for apps the person owns or administers.

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

Input Schema

NameRequiredDescriptionDefault
appNoThe app's slug: the first label of its address (my-app for https://my-app.fuast.com). list_apps shows the slugs you can use.
darkNoThe visitor's dark setting. Default light.
pathNoThe page, as a path from the app's root, like /orders or /orders/12?tab=open. Default /.
widthNoWindow width in pixels, to override the default.
heightNoWindow height in pixels, to override the default.
mobileNoA phone (390 by 844) instead of a desktop window (1280 by 800).
full_pageNoThe whole page, not only the first screen.
edit_tokenNoThe edit_token deploy_app returned when it deployed a preview without an account. It is a secret: keep it in this conversation only.

Output Schema

NameRequiredDescriptionDefault
urlYes
slugYes
titleNo
widthYes
errorsYes
heightYes
signed_in_asNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered structurally. The description does add real context beyond that: what errors come back with the image, and the identity model (guest for an account-less preview, signed in as the connected person for owned apps). It does not mention capture latency or failure modes like an app that never finishes loading.

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?

Three short sentences, front-loaded with what the tool does and its return, then the use case, then the access constraint. The illustrative list 'a blank page, a broken layout, text that does not fit' earns its place by explaining the value. No filler or repetition.

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?

With an output schema present the description needn't explain return shape, and with annotations plus full schema coverage it only needs to convey purpose, timing, and access rules, which it does. The remaining gap is a lack of any note on how long a capture takes or what happens when the page errors out entirely.

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 every one of the eight parameters is already documented in the schema, which sets the baseline at 3. The description adds a little framing for identity selection (guest versus signed-in), which helps interpret edit_token, but it offers no extra guidance on path, viewport, or dark/mobile choices beyond what the schema says.

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 gives a concrete verb and resource ('Opens one page of a deployed app in a browser') plus the return ('a picture of it, with any errors the page reported'), so the agent knows exactly what this produces. It implicitly contrasts with log-reading siblings via 'which rows and logs cannot show,' but does not name or differentiate from nearby visual/diagnostic siblings like inspect_app or call_app.

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 it after a deploy to see what a person will see' states the triggering situation clearly, and 'Only for apps the person owns or administers' adds a hard eligibility constraint. It stops short of naming an explicit when-not case or an alternative tool to use when the app isn't owned.

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.

Resources