Skip to main content
Glama
hellstein-dev

fusion-mcp

sketch_delete

Deletes specified curves, points, constraints, dimensions, and texts from a Fusion sketch while keeping the sketch; all refs are validated before any deletion.

Instructions

Delete sketch entities (not the sketch itself).

All refs are checked first: a stale or foreign ref fails with ENTITY_NOT_FOUND / INVALID_PARAMS and nothing is deleted. Then dimensions, constraints, texts, curves and points are deleted in that order; entities Fusion already removed with another one (e.g. a constraint of a deleted line) are listed in cascaded.

NOT ATOMIC (the only such sketch tool): Fusion cannot undo a deletion. If Fusion itself fails in the middle of the batch, the entities deleted so far stay deleted — the error is FUSION_API_ERROR with details.deleted; re-read the sketch with sketch_get before continuing.

Returns {"deleted": [refs], "cascaded": [refs], "status", "profiles"}.

Example: sketch_delete(sketch=, entities=[, ]).

Input Schema

NameRequiredDescriptionDefault
sketchYesSketch ref (from sketch_create)
entitiesYesCurves, points, constraints, dimensions, texts
return_profilesNoAdd the current profiles to the result (false = faster)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: it discloses non-atomicity, irreversible deletion, the exact failure codes for stale/foreign refs, cascaded deletions, and the FUSION_API_ERROR partial-delete case with details.deleted. This is exactly the kind of context an agent needs before invoking a destructive operation.

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 front-loaded with the core purpose, then proceeds through preconditions, ordering, failure behavior, and return shape. Despite its length, every sentence earns its place by covering behavior that annotations and schema do not.

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

Completeness5/5

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

For a destructive sketch-entity tool with no annotations and no output schema, the description is complete: it explains scope, preconditions, failure modes, non-atomicity, recovery guidance, and the return object. An agent has enough information to call it correctly and handle partial failures.

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 already documents sketch, entities, and return_profiles. The description adds an example and deletion ordering for entity types, but it does not add substantial parameter semantics beyond what the schema provides, so the baseline 3 applies.

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?

The description states a specific verb and resource: delete sketch entities, explicitly excluding the sketch itself. It is clearly distinguishable from siblings such as sketch_trim and sketch_get by naming the exact operation and scope.

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 clear operational context: refs are checked first, deletion proceeds in a defined order, and after a partial failure the agent should re-read with sketch_get. It does not explicitly compare when to choose this over sketch_trim or other sketch-editing siblings, so it falls short of full alternative guidance.

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

Deploy Server

Other Tools