Skip to main content
Glama

browser_screenshot

Destructive

Take a screenshot of a page in the tenant's hosted browser and store it as a document (PNG). Required: url. Optional: full_page (default true), width, height, title, entity/entity_id to file it against a record. Returns document_id — view it with get_document_link.

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": {
      "url": "<url>"
    },
    "name": "browser_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL of the page to capture
titleNoTitle of the stored screenshot document
widthNoViewport width in pixels
entityNoRecord type to file the screenshot against; use with entity_id
heightNoViewport height in pixels
entity_idNoID of the record
full_pageNoCapture the whole page (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / entity / description
      Added value: +"Record type to file the screenshot against; use with entity_id"
    • addedInput schema / properties / entity_id / description
      Added value: +"ID of the record"
    • addedInput schema / properties / full_page / description
      Added value: +"Capture the whole page (default true)"
    • addedInput schema / properties / height / description
      Added value: +"Viewport height in pixels"
    • addedInput schema / properties / title / description
      Added value: +"Title of the stored screenshot document"
    • addedInput schema / properties / url / description
      Added value: +"URL of the page to capture"
    • addedInput schema / properties / width / description
      Added value: +"Viewport width in pixels"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, open-world, non-idempotent, destructive operation; the description adds genuine context beyond that by naming the output artifact (PNG document), the return value (document_id), and the filing behavior against a record. It does not address what 'destructive' means here (e.g. whether an existing document can be overwritten) or any auth/rate constraints.

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 tight sentences, front-loaded with the action and artifact, followed by a compact parameter summary and a next-step pointer. No filler wording.

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 no output schema, the description correctly discloses the return value (document_id) and how to view it, and covers all parameter groups. The main residual gaps are session/auth prerequisites and the meaning of the destructive annotation for a screenshot-and-store operation.

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 the schema already documents all seven parameters including defaults. The description only adds marginal framing: it restates the required url, the full_page default, and the entity/entity_id pairing 'to file it against a record', which the schema already states as 'use with entity_id'.

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 ('Take a screenshot of a page in the tenant's hosted browser') plus the artifact produced ('store it as a document (PNG)'), which is far more than a restatement of the name. It does not, however, explicitly distinguish itself from nearby browser tools such as browser_fetch_page or browser_download_image.

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 is implied by 'tenant's hosted browser' and by the closing pointer to get_document_link, which tells the agent what to do after capture. There is no explicit when-to-use/when-not guidance and no stated prerequisite that the hosted browser session must already be signed in.

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.