Skip to main content
Glama

shoot

Captures a web page from a URL and returns an annotated image, using element targets instead of rectangles for marks; automatically redacts sensitive fields and supports draft previews.

Instructions

One call from URL to annotated image: capture_web + annotate, with marks that point at elements by "target" instead of "rect". Use it for web pages when you know the visible text, role or selector of every element; use capture_web + annotate when you need to inspect rects first. spec = render spec without input/scale, plus url (or cdp_url + page_url_contains), preset, actions and marks with "target": {...} (same forms as capture_web). Emails, tokens, card numbers and password fields are redacted with solid blocks automatically. Loads the page over the network; actions run in the page. Draft by default (temp folder): check the preview, then call again with draft=false to save to the output folder. Returns paths, warnings, legend, redactions, the capture's resolved rects and a preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lookNoMark style: "default" (bold, built in) or the name of an installed look package (e.g. "neat"). Omit it to use the spec's look, else the user's default (AINOTATE_LOOK, config.toml). A look that is not installed or fails falls back to default with a warning listing the installed looks.
specYesRender spec as a JSON object (or a JSON string). Full schema: resource ainotate://spec.
draftNotrue (default): write to a temp folder so you can check the preview first. false: save to the output folder (~/Pictures/AInotate unless configured) and the backup folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / draft / description
      Added value: +"true (default): write to a temp folder so you can check the preview first. false: save to the output folder (~/Pictures/AInotate unless configured) and the backup folder."
    • addedInput schema / properties / spec / description
      Added value: +"Render spec as a JSON object (or a JSON string). Full schema: resource ainotate://spec."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the safety envelope (readOnlyHint=false, openWorldHint=true, destructiveHint=false). The description adds behavior beyond that: automatic redaction of emails/tokens/card numbers/password fields with solid blocks, network page loading, in-page action execution, and where artifacts land in draft vs non-draft mode. This is exactly the extra context annotations cannot carry.

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?

Dense but front-loaded: purpose and sibling routing come first, then spec contents, redaction, and the draft workflow. The spec sentence is a long parenthetical list, but every clause maps to a real caller decision, so little 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?

Despite no output schema, the description enumerates the return payload ('paths, warnings, legend, redactions, the capture's resolved rects and a preview'), and it covers prerequisites (network access, known selectors/text) plus the fallback path to sibling tools. Nothing an agent needs to invoke it correctly is missing.

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 100%, so baseline is 3. The description does add real value for 'spec', enumerating its contents (url or cdp_url + page_url_contains, preset, actions, marks with target) which the schema merely delegates to the ainotate://spec resource, but it says nothing extra about 'look', leaving the balance of meaning to the schema.

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?

Opens with a precise verb+resource framing — 'One call from URL to annotated image: capture_web + annotate' — and immediately states the differentiator ('marks that point at elements by "target" instead of "rect"'). An agent can distinguish it from capture_web, annotate and preview 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly gives the when-to-use and when-not-to-use rule: use shoot 'when you know the visible text, role or selector of every element; use capture_web + annotate when you need to inspect rects first.' It also prescribes the two-step draft workflow ('check the preview, then call again with draft=false').

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