Skip to main content
Glama
sketchflow-mcp

sketchflow-mcp

by 4Ship-ca

mechanism

Turn drawn links and shared joints on the active layer into pin-jointed linkages, drive them with motors, simulate motion or locking, trace paths, and play the animation.

Instructions

Kinematics / linkages: every drawn item on the active layer is a rigid link; joints shared by two items are pin joints. Pin joints to ground, put a motor on a link (rotating about a pivot joint), trace joints, then simulate (returns joint paths and whether it locks) and/or play the animation for the user. Build the links with draw first (exact shared coordinates = pin joints).

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": "mechanism"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinsNo
playNo
clearNo
stepsNosamples per motor turn (default 72)
watchNojoints whose paths to return
motorsNo
tracesNo
simulateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0-beta.1

TDQS

A3.6/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 burden and does disclose useful behavior: simulate returns joint paths and a lock indicator, play animates for the user. However, it says nothing about side effects of clear, whether the mechanism adds persistent items or state, whether results are cached, or any cost limits for a simulation over many links. The safety/mutation profile of the call is left entirely inferential.

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?

It is a single front-loaded paragraph that establishes the conceptual model before the workflow, so a reader gets the mental frame immediately. The prose is dense and slightly run-on with several ideas packed into one sentence, but no sentence is filler.

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 8-parameter tool with no annotations and no output schema, the description reasonably compensates by describing what simulate returns and how joints are defined geometrically. Gaps remain around clear's behavior, the difference between pins and traces, and whether play requires simulate to have been run, which an agent would need to guess.

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 25% and only steps, watch, and the motor item field carry inline text, so the description must compensate. It does explain the roles of pins (ground joints), motors (a link driven about a pivot), and traces (joints to trace), but the distinction in effect between the pins and traces arrays is ambiguous, and clear and simulate/play interactions are not clarified beyond their names.

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 names the domain (kinematics/linkages) and states the concrete outcome: simulate and get joint paths plus whether the mechanism locks, and/or play the animation. It also implicitly distinguishes itself from siblings by instructing that links must be built with draw first. It loses a point because the opening is a topic label rather than a direct verb+resource statement, so the agent must read the whole sentence to know exactly what the tool does.

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?

It gives an explicit workflow order (pin joints to ground, motor on a link, trace joints, then simulate/play) and a clear prerequisite: build links with draw first, using exact shared coordinates. It does not spell out when to prefer simulate versus play alone, or when this tool should be skipped in favor of pure drawing edits, so it stops short of full when/when-not guidance.

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