Skip to main content
Glama

set_screenshots

Enable or disable per-step screenshots for a browser session so each action returns a screenshot for verification.

Instructions

Turn per-step screenshots on or off for a session (each action then returns a screenshot).

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": {
      "session_id": "<session_id>",
      "enabled": "<enabled>"
    },
    "name": "set_screenshots"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes
session_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

The description adds real behavioral context beyond the annotations by explaining that enabling the flag changes what every subsequent action returns. However, it does not say whether the setting persists after the session ends, whether it can be toggled mid-session, or whether it applies retroactively. The annotations already declare this is a non-read-only, non-destructive mutation.

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?

It is a single sentence that front-loads the operation, with a parenthetical that earns its place by describing the observable effect. There is no filler.

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?

For a two-parameter toggle with an output schema present, the definition covers purpose, effect, and scope adequately, and the return shape need not be explained. Only the lifetime and reversibility of the setting are left implicit.

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 0%, so the description must carry the full burden. It implicitly covers both parameters: 'for a session' clarifies session_id, and 'on or off' clarifies the boolean enabled. It does not state the format or provenance of session_id, however, so a full 4 is not warranted.

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 names a specific operation on a specific resource: turning per-step screenshots on or off for a session. The parenthetical '(each action then returns a screenshot)' distinguishes it functionally from the sibling 'screenshot' tool, which captures a single image, even though that sibling is not named explicitly.

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 rather than stated: the agent can infer this is a mode switch that affects subsequent actions in a session, but there is no explicit when-to-use versus when-not guidance, and no alternative is named or ruled out.

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