Skip to main content
Glama
aamar-shahzad

MCP Screenshot Server

add_line

Draw a line on an image by specifying start and end coordinates, color, and line width for clear visual annotation.

Instructions

Draw a line on the image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1YesX coordinate of the start point
x2YesX coordinate of the end point
y1YesY coordinate of the start point
y2YesY coordinate of the end point
colorNoColor of the linered
image_idYesID of the image to annotate
line_widthNoWidth of the line

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesStatus message
image_idYesImage ID that was annotated

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the action without revealing whether the image is permanently modified, whether the operation is undoable, or whether any permissions or side effects are involved. This is a significant gap for a mutation tool.

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 description is a single sentence with no redundancy, but it is so brief that it borders on under-specification. It is front-loaded with the core action but lacks the contextual details that would make it genuinely useful. It is not verbose, but it is not sufficiently informative either.

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

Completeness2/5

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

For a tool with 7 parameters and many similar siblings, the description is incomplete. It does not mention how the line integrates with the image, whether it is an overlay or a destructive edit, or what the output schema represents. With no annotations and an output schema present, more context is needed to ensure correct invocation.

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 the parameters (coordinates, color, width, image ID) are already well-documented in the schema. The description adds no additional meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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?

The description 'Draw a line on the image' clearly states the verb and resource, making the core purpose unambiguous. However, it does not differentiate from sibling tools like add_box, add_arrow, or add_circle, which are similarly named and share the same annotation pattern.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives. The description does not mention any context, prerequisites, or exclusions, leaving the agent to infer when a line is the appropriate annotation element.

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