Skip to main content
Glama

Screenshot Setup Helper

query_contexts
Read-only

Guided setup for the screenshot API.

Step 1: request='accounts' (optional workspace_id=) • Returns the workspaces you can access. • When a workspace is selected, also returns all brands in that workspace with brand_id + guidelines.

Step 2: request='actions_details' • Returns the capture action schema, required fields, defaults, and a sample response.

Optional: request='brands', workspace_id=, brand_ids=[...] • Narrow the brand payload to one or more brand IDs.

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": {
      "request": "<request>"
    },
    "name": "query_contexts"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes
brand_idsNo
workspace_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description is consistent with a pure read. Beyond the annotation, it discloses conditional payload behavior (selecting a workspace also returns brands with brand_id and guidelines) and what actions_details contains (schema, required fields, defaults, sample). No mention of permissions or payload size limits, so not a 5.

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?

Front-loaded purpose sentence followed by clearly labeled steps and bullets, with no filler prose. The structure is slightly muddled by the trailing 'Optional' block, which reads as a step 3 but is really an alternative request value, costing a perfect score.

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 need not document return shapes, and it instead covers the multi-step workflow and conditional payload contents an agent needs to drive the tool correctly. The only shortfall is not telling the agent what to do after Step 2 (i.e., which sibling to hand off to with the obtained schema).

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 parameter burden, and it does: each enum value of `request` is explained in terms of what it returns, and `workspace_id` / `brand_ids` get usage context ('optional workspace_id', 'narrow the brand payload to one or more brand IDs') that the schema lacks entirely. The one gap is the ambiguous framing of request='brands' as 'Optional' alongside the two numbered steps, which muddies whether it is a standalone call.

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?

Opens with 'Guided setup for the screenshot API', which is a specific (if slightly broad) statement of what the tool returns: workspaces, brands, and the capture action schema. It does not explicitly contrast itself with execute_action or query_data, but the step-by-step enumeration of returned payloads makes clear it is a discovery/config tool rather than an execution tool.

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?

Provides an explicit ordered workflow (Step 1 accounts, Step 2 actions_details, then an optional brands narrowing), which is strong guidance for how to sequence calls. It stops short of naming the sibling tools or stating when not to call this instead of query_data/execute_action, so it falls below a 5.

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.