Skip to main content
Glama

Draw on a picture the tester can then edit

qa_shot_mark

Add movable boxes, arrows, captions, and blur panes to saved QA screenshots without altering the clean image, so testers can edit or remove annotations later.

Instructions

ADD MARKS TO A SHOT ON THE SHELF. They are stored beside the clean image, never burned into it, so the tester can move them, resize them and delete them afterwards — and so you can read them back later. Coordinates are in IMAGE pixels; qa_screenshot returns a map of the page in exactly those pixels, so a box from the map can be passed straight through. Shapes: box round a region, arrow from one point to another, text for a caption with its own words, blur for a pane that makes what is under it unreadable. Weight is k; colour is one of the five the panel offers. A caption carries an optional to — the point it is ABOUT — and a leader line is then drawn from the plate to that point, in both the editor and the exported file. Give a box a caption with to set to the middle of that box and you get the callout a person would draw by hand; the tester can then drag the words anywhere and the line follows. A blur pane hides an address, a customer name or a staging token. It is applied when the picture is EXPORTED, copied or built into a report — the clean shot stays clean on the shelf, which is what lets the pane be moved and removed afterwards. Adds by default; pass replace: true to put your marks in place of everything on the picture — which is the destructive one, and it is opt-in for that reason. The reply is the STATE — how many marks the picture now carries and all of them in full — rather than the word «done».

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": {
      "shot": "<shot>",
      "marks": "<marks>"
    },
    "name": "qa_shot_mark"
  }
}

Input Schema

NameRequiredDescriptionDefault
shotYesThe name from qa_shot_list
marksYesUp to 60. More than that covers the picture instead of marking it.
tabIdNoTarget tab (from qa_tabs); omit for the active tab
replaceNoReplace every existing mark instead of adding to them

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: marks are stored beside the clean image rather than burned in, blur is applied only at export/copy/report time, replace destroys all existing marks and is opt-in, and the reply is the full mark state rather than an acknowledgement. These are exactly the behavioral facts an agent needs before mutating a screenshot.

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?

It is front-loaded with the core action and shape list, and every paragraph carries information. It is somewhat long and repeats the blur/clean-image point twice, plus the all-caps emphasis is noisy, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by stating the return value (mark count plus all marks in full). Combined with coordinate sourcing, destructive-replace warnings, and export-time blur semantics, an agent has everything needed to call this correctly.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning beyond it: coordinates are explicitly IMAGE pixels sourced from qa_screenshot's map, `to` is explained as the point a caption is about with a following leader line, and the `k` weight and five-colour palette are given practical framing. It earns a point above baseline.

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?

The opening line names a specific verb and resource ('ADD MARKS TO A SHOT ON THE SHELF') and the description enumerates the four supported shapes (box, arrow, text, blur), so an agent knows exactly what the tool produces. It is clearly a non-destructive markup tool, distinguishable from screenshot capture or shot management siblings.

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?

It gives concrete usage context: coordinates come from qa_screenshot's page map and can be passed straight through, shot names come from qa_shot_list, and replace:true is explicitly framed as the destructive opt-in path. It stops short of naming a sibling to prefer for a different task, so it is clear context without explicit alternatives.

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