Skip to main content
Glama
Image Annotator MCP Server

Image Annotator MCP Server

by vapvarun

frame_screenshot

Wrap raw or annotated screenshots in a documentation-ready frame with rounded corners, drop shadow, padding, and an optional browser title bar. Export as PNG, WebP, or JPEG with optional downscaling.

Instructions

Wrap a screenshot in a premium frame for docs: rounded corners, soft drop shadow, padding on a matte background, and an optional browser title bar with traffic-light dots. Use on a raw or already-annotated screenshot. Supports webp/jpeg output and downscale.

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

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format (default png)
radiusNoCorner radius (default 14)
shadowNoDrop shadow (default true)
paddingNoPadding around the screenshot (default 64)
qualityNoQuality 1-100 for webp/jpeg (default 90)
downscaleNoResize factor, e.g. 0.6 (default 1)
backgroundNoMatte color behind the frame (default #EEF1F5)
input_pathYes
browser_barNoAdd a browser title bar with traffic-light dots
output_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It discloses the visual transformation precisely and notes webp/jpeg output and downscaling, but never says the tool writes a file, what happens when output_path is omitted, whether an existing file is overwritten, or what the tool returns. For a file-producing mutation tool these are meaningful gaps, though the effect description is above bare minimum.

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?

Three sentences, front-loaded with the core transformation, no filler. The closing 'Supports webp/jpeg output and downscale' is partly redundant with the enum and parameter descriptions already in the schema, keeping it from a full score.

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

Completeness3/5

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

For a 10-parameter tool with no annotations and no output schema, the description covers the visual result well but leaves the file-write behavior and return value unaddressed. An agent still has to guess where output lands when output_path is not supplied.

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 coverage is 80%, which sets the baseline at 3. The description adds a little meaning (quality applies to webp/jpeg, downscale is a resize factor, browser_bar's traffic-light dots) but largely restates what the schema descriptions already say, and omits any discussion of output_path or defaults.

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?

States a specific verb and resource ('Wrap a screenshot in a premium frame for docs') and then enumerates exactly what the frame consists of: rounded corners, drop shadow, padding on a matte background, optional browser title bar. It also distinguishes its role from annotate_screenshot by saying it operates 'on a raw or already-annotated screenshot', so an agent can place it in the pipeline without opening the schema.

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?

Gives a clear use context ('for docs') and the input condition ('raw or already-annotated screenshot'), which implies this is a finishing step applied after annotation. It does not name any alternative or state when not to use it, so the guidance stops short of explicit routing.

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