Skip to main content
Glama

draw_line

Draw straight lines on an SVG canvas by specifying start and end coordinates, with options to customize color, thickness, and opacity for professional graphics creation.

Instructions

직선을 그립니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1Yes시작점 X 좌표
y1Yes시작점 Y 좌표
x2Yes끝점 X 좌표
y2Yes끝점 Y 좌표
strokeNo선 색상#000000
strokeWidthNo선 두께
opacityNo불투명도
idNo요소 ID
classNoCSS 클래스명
Behavior2/5

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

With no annotations provided, the description carries full burden but only states the basic action. It doesn't disclose behavioral traits like whether this creates a permanent SVG element, requires a canvas context, has side effects, or returns anything. For a 9-parameter tool with no annotation coverage, this is insufficient.

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

Conciseness5/5

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

The description is a single, efficient sentence in Korean that directly states the tool's purpose with zero wasted words. It's appropriately sized for such a simple statement and front-loaded with the core action.

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?

Given the complexity (9 parameters, no annotations, no output schema) and rich sibling tools (many drawing alternatives), the description is incomplete. It doesn't explain the drawing context, return values, or how this fits within the SVG tool ecosystem. The agent would struggle to use this effectively without additional context.

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 schema fully documents all 9 parameters with descriptions. The description adds no parameter information beyond what's in the schema, meeting the baseline of 3 where the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '직선을 그립니다' (Draws a straight line) clearly states the action and resource, but it's vague about the context (SVG drawing tool) and doesn't distinguish from siblings like draw_path or draw_polyline that also create lines. It's better than a tautology but lacks specificity about what kind of line or where it's drawn.

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 provided about when to use this tool versus alternatives like draw_path (for curved lines) or draw_polyline (for multi-segment lines). The description doesn't mention prerequisites, context, or exclusions, leaving the agent to infer usage from the tool name alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kim62210/svg-canvas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server