Skip to main content
Glama

Set screenshot provider

set_screenshot_provider
Idempotent

Configure this tenant's screenshot provider (stored in the 'screenshot' integration). provider='browserless' (token + optional base_url) or 'cloudflare' (account_id + token). Admin only. capture_screenshot then uses it. The token is stored server-side and never returned.

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": {
      "provider": "<provider>",
      "token": "<token>"
    },
    "name": "set_screenshot_provider"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesAPI token/key for the provider
base_urlNoBrowserless base URL (default https://production-sfo.browserless.io)
providerYesWhich screenshot service to use
account_idNoCloudflare account id (required for provider=cloudflare)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the agent knows this is a repeatable write. The description adds real value beyond that: an admin-permission requirement and the security property that the token is stored server-side and never returned. It does not say what happens to previously configured fields when switching provider (e.g. whether a stale account_id persists), which is the main behavioral question for a config-setter.

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?

Three compact sentences, each carrying distinct information: what is configured and where, the per-provider credential matrix, and the permission/security constraints. Nothing is padded or repeated from structured fields verbatim.

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?

No output schema exists, so the description carries the burden and does explain the post-condition (capture_screenshot uses the stored config) and secret handling. It is nearly complete for a 4-parameter write; the gap is the absence of any note on overwrite semantics or how to verify the result via get_screenshot_provider.

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 coverage is 100%, including per-property descriptions and an enum on provider, so the baseline is 3. The description partially restates and adds conditional pairing (browserless → token + optional base_url; cloudflare → account_id + token), which is genuinely useful cross-parameter logic, but the schema's own account_id description already notes it is required for cloudflare, so the added meaning is incremental rather than new.

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 ('Configure this tenant's screenshot provider'), names the storage location ('screenshot' integration), and enumerates the two supported provider values with their credential shapes. An agent can distinguish this from capture_screenshot (which consumes the config) and get_screenshot_provider without opening any schema.

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?

Gives clear operational context: 'Admin only' and 'capture_screenshot then uses it', which tells the agent the prerequisite permission level and the downstream consumer. It stops short of stating when to prefer this over re-reading config via get_screenshot_provider, or whether re-running it replaces prior credentials.

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