Skip to main content
Glama

create_connector

Create a FigJam connector line between two nodes or free canvas points, with optional arrow caps, line type, stroke, and label text for diagramming flows and relationships.

Instructions

Create a FigJam connector line (FigJam only). Each end is either attached to a node (startNodeId/endNodeId + magnet, default AUTO) or a free canvas point (startX/startY, endX/endY). Optional label text.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_connector"
  }
}

Input Schema

NameRequiredDescriptionDefault
endXNo
endYNo
fileNoTarget file (fileKey, id or name). Defaults to the most recently active file.
nameNo
labelNo
endCapNo
startXNo
startYNo
strokeNoHex
lineTypeNoFigma default when omitted
parentIdNo
startCapNo
endMagnetNo
endNodeIdNo
startMagnetNo
startNodeIdNo
strokeWeightNo
labelFontSizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the two endpoint modes, the AUTO magnet default, and that label text is optional, but it says nothing about whether the node-attached and canvas-point modes are mutually exclusive, what must be supplied at minimum (0 required params), what happens if neither endpoint is given, whether the operation is reversible, or what the call returns.

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?

Three short sentences, front-loaded with the resource and its platform restriction, then the parameter-shape rule, then the optional label. No filler or redundancy.

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 an 18-parameter, zero-required mutation tool with no annotations and no output schema, the description covers the decisive endpoint semantics but omits the styling surface and the `file` parameter's targeting behavior, leaving an agent to consult the schema for most options. Adequate for the main path, incomplete for the full surface.

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 only 17% across 18 parameters, yet the description adds genuine meaning for the core ones: startNodeId/endNodeId pair with a magnet (default AUTO), while startX/startY and endX/endY define free canvas points, and label is optional. That said, roughly a dozen parameters (file, name, parentId, startCap/endCap, stroke, strokeWeight, lineType, labelFontSize) get no explanation in either place, so it only partially compensates for the coverage gap.

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 ('Create a FigJam connector line') and immediately scopes it with '(FigJam only)', which separates it from the general-purpose shape/content siblings like create_shape and create_sticky. An agent can decide whether this tool applies without inspecting 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 Guidelines3/5

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

The FigJam-only constraint implies when the tool is applicable, and the endpoint-mode explanation implies how to choose parameters, but there is no explicit when-to-use versus alternatives guidance and no mention of prerequisites such as needing the file to be a FigJam file. Usage is implied rather than directed.

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