Skip to main content
Glama

mesh_getData

Retrieve detailed vector mesh data from a Moho layer—points, curves, shapes, colors, handles, and warp/curver flags—to inspect geometry before editing.

Instructions

Inspect points (with width, opacity, colorDrift, curvature, Point Colors, worldPos, handles), curves (with segment visibility and stroke exposure), shapes (Soft Edge, Gradients, Styles, Brushes, Liquid Shape clusters), and warp/curver flags.

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

Input Schema

NameRequiredDescriptionDefault
frameNo
layerIdNoNumeric depth-first layer ID (from layer_list)
layerNameNoExact layer name
layerUuidNoLayer UUID
maxPointsNo
includeHandlesNo
includePointColorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/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 lists the kinds of data returned, including point attributes, curve details, shape properties, and warp/curver flags, but it does not state that the operation is read-only, explain defaults for frame or layer selection, or describe any limits.

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?

The description is a single dense sentence that front-loads the core action and then enumerates inspected data categories. It contains no filler, though the long parenthetical list makes it somewhat harder to parse than a more structured format.

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 7-parameter retrieval tool with no annotations and no output schema, the definition is incomplete. It describes output categories but omits key behavioral details such as defaults for frame and maxPoints, how layerId/layerName/layerUuid are resolved, and what happens when no layer is specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 43%, so the description must compensate. It incidentally mentions 'handles' and 'Point Colors,' which correspond to includeHandles and includePointColors, but it does not explain frame, maxPoints, or layer-selection behavior, leaving several parameters semantically opaque.

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 uses a specific verb, 'Inspect,' and names the mesh resources covered: points with attributes, curves, shapes, and warp/curver flags. This is clear enough to distinguish it from mesh editing tools, but it does not explicitly contrast itself with sibling tools such as mesh_editPoints or layer_getProperties.

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?

The description only states what can be inspected; it gives no explicit guidance about when to use this tool instead of alternatives like mesh_editPoints, mesh_editShape, or layer_getProperties. There are no stated prerequisites, exclusions, or selection criteria.

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