Skip to main content
Glama
Image Annotator MCP Server

Image Annotator MCP Server

by vapvarun

annotate_screenshot

Add markers, arrows, callouts, highlights, spotlights, and blur to screenshots so you can explain steps, report bugs, and produce clear documentation or tutorials.

Instructions

Add professional annotations to a screenshot image.

Annotation types available: • marker - Numbered circles (1, 2, 3...) with gradient and shadow • arrow - Straight arrows with customizable heads • curved-arrow - Smooth curved arrows • callout - Text boxes with pointers (speech bubbles) • rect - Rectangle highlights • circle - Circle highlights • label - Text labels with optional backgrounds • highlight - Semi-transparent overlays • blur - Blur sensitive content • connector - Dashed lines between elements • icon - Icon badges (check, x, warning, info, question) • spotlight - Dim the whole screenshot and softly highlight one area (place FIRST)

Themes: documentation, tutorial, bugReport, highlight

Colors: red, orange, yellow, green, blue, purple, pink, cyan, teal, white, black, gray, lightGray, darkGray, success, warning, error, info, primary, secondary, accent

PREMIUM TIPS for clean docs: • Markers auto-size to the screenshot resolution (retina-aware). Pass "scale" to override. • To avoid covering the UI, give a marker a "target": [x,y] of the element and let it sit in a clear area — it draws a leader line to the target automatically. • Set "margin" (e.g. 60) to pad the canvas so edge callouts/labels are never clipped. • Add a "spotlight" annotation FIRST to dim everything but the focus area. • Set "frame": { "browserBar": true } for a rounded browser chrome + drop shadow. • "format": "webp" + "downscale": 0.6 give crisp, light images for docs sites. • Text now uses a clean professional font by default (no handwriting).

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": {
      "input_path": "<input_path>",
      "annotations": "<annotations>"
    },
    "name": "annotate_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameNoWrap the result in a premium frame. Pass {} for defaults or customize.
matteNoBackground color for the margin area (hex or color name). Default white.
scaleNoAnnotation size multiplier. Omit to auto-scale from image width (retina-aware). Use 1 for raw sizes.
themeNoApply a preset theme for consistent styling
formatNoOutput format. Default png (or inferred from output_path extension).
marginNoPadding (px) added around the screenshot so gutter callouts/markers are not clipped. Default 0.
qualityNoQuality (1-100) for webp/jpeg. Default 90.
downscaleNoResize factor for the final image, e.g. 0.5 halves a 2x capture. Default 1 (no resize).
input_pathYesAbsolute path to the input screenshot
annotationsYesArray of annotation objects
output_pathNoOutput path (optional, defaults to input-annotated.png)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden; it discloses rendering behavior well (retina-aware auto-scaling, leader lines, margin padding to prevent clipping, spotlight dimming). It is silent on the things that matter for an image-writing tool: whether output_path overwrites an existing file, whether input_path is ever modified, and what happens on invalid coordinates or a missing input. Several tips also merely restate schema defaults rather than adding new behavioral information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first line and the type/color lists are scannable, but the section is long and the tips block substantially duplicates defaults already spelled out in the schema (scale, margin, frame.browserBar, format/downscale). The color list alone spans five lines. Trimming the tips that restate schema defaults would lose nothing.

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 an 11-parameter tool with a deeply nested annotation array, no annotations, and no output schema, the description supplies a lot: the full type vocabulary, theme presets, color vocabulary, defaults, and composition ordering. The remaining gaps are the coordinate reference frame and file-write/overwrite semantics, both of which an agent needs to call this correctly without trial and error.

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 goes beyond the schema in one meaningful way: it enumerates the accepted color names even though the schema declares color as an unconstrained string with no enum. It also reinforces ordering (spotlight first) and the target/leader interaction, which the schema documents only piecemeal. It does not explain the coordinate space for x/y (original pixels vs. post-margin canvas), which is the one semantic detail the schema leaves ambiguous.

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?

A concrete verb ("Add professional annotations") plus a concrete resource (a screenshot image), followed by an explicit enumeration of the 12 supported annotation types. It stops short of a 5 because it never distinguishes itself from the very siblings that overlap with its own type list (add_callout, blur_area, highlight_area), so an agent cannot tell from this text alone which entry point to pick.

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?

Usage context is implied through the themes (documentation, tutorial, bugReport, highlight) and the "PREMIUM TIPS for clean docs" section, and one real ordering rule is stated ("place spotlight FIRST"). However there is no explicit when-to-use versus when-to-use-a-sibling guidance, and no statement of prerequisites or exclusions despite heavy overlap with blur_area/highlight_area/add_callout.

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