Skip to main content
Glama

layer_setWarpLayer

Link or unlink a Smart Warp or Curver VectorLayer from a target layer by setting or omitting the warp layer ID/name.

Instructions

Link (or unlink when warpLayerId/Name omitted) a Smart Warp or Curver VectorLayer to a target layer.

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

Input Schema

NameRequiredDescriptionDefault
layerIdNoNumeric depth-first layer ID (from layer_list)
layerNameNoExact layer name
layerUuidNoLayer UUID
warpLayerIdNo
warpLayerNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/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; it does disclose the important dual behavior that omission of the warp parameters silently degrades into an unlink, which is real added value. It says nothing about permissions, whether an existing binding is overwritten, whether unlinking destroys the warp object, or what is returned.

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?

A single front-loaded sentence with the primary action first and the edge case parenthesized; every clause earns its place.

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 5-parameter mutation tool with no annotations and no output schema, the description is too thin: it omits target-layer type constraints, overwrite behavior, and any mention of the three mutually redundant identifier parameters.

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 coverage is 60% – layerId, layerName and layerUuid are documented in the schema, while warpLayerId and warpLayerName are bare. The description compensates only for the bare pair by explaining that their omission triggers unlinking; it never clarifies precedence among the three target-identifier parameters.

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 sentence names a specific verb pair ("Link (or unlink)") and concrete resources (a Smart Warp or Curver VectorLayer to a target layer), so an agent can tell this apart from sibling creation tools like mesh_createSmartWarp. The only blemish is the typo "Curver" and no explicit sibling comparison.

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?

It gives one useful conditional: omitting warpLayerId/warpLayerName performs an unlink rather than a link. Beyond that there is no guidance on prerequisites (which layer types may be targeted), when to prefer this over mesh_createSmartWarp, or how it relates to layer_convertType.

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