Skip to main content
Glama

Screenshot Execute Action

execute_action
Destructive

Trigger a screenshot capture.

Required parameters: • url: Full URL to capture. • workspace_id: Workspace returned by query_contexts(request='accounts').

Optional parameters: • include_desktop / include_mobile (bool) • modes (list[str]) – override capture variants. e.g., ['desktop','mobile','desktop-full']

The API returns desktop/mobile public URLs plus quota metadata.

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>",
      "workspace_id": "<workspace_id>"
    },
    "name": "execute_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
modesNo
workspace_idYes
include_mobileNo
include_desktopNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is known. The description adds genuine context by noting the API returns desktop/mobile public URLs plus quota metadata, hinting at cost/quota implications, but it never explains that captures consume quota, whether modes overrides bypass include_* flags, or what 'destructive' means for an apparently additive capture operation.

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?

The action statement is front-loaded in a single sentence, followed by a scannable required/optional breakdown and a one-line return note. Almost every line carries information; only the 'e.g.' mode list feels slightly padded.

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 five-parameter create-style action with an output schema present, the description covers the essentials: required inputs, their sourcing, optional overrides, and a return summary. The remaining gap is quota/cost behavior and default mode selection, which an agent needs to choose parameters well.

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?

Schema description coverage is 0%, so the description must carry the full burden, and it does document all five parameters including the non-obvious derivation of workspace_id and a concrete example for modes (['desktop','mobile','desktop-full']). It still leaves the default capture variants and the interaction between modes and include_desktop/include_mobile unexplained, so it is good but not complete.

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+resource combination ('Trigger a screenshot capture') that is unambiguous and clearly distinct from the read-oriented siblings query_contexts/query_data. It does not explicitly name the siblings as alternatives, so it falls short of full differentiation, but no agent would confuse this for a query tool.

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?

It provides useful routing information by stating workspace_id is 'Workspace returned by query_contexts(request=\'accounts\')', which tells the agent the prerequisite call. However, there is no guidance on when to use modes versus include_desktop/include_mobile, and no statement of when not to use this tool or what quota limits might block it.

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.