Skip to main content
Glama

layer_select

Selects a Moho layer by ID, name, or UUID and makes it the active layer for editing.

Instructions

Make a layer the active selection in Moho.

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_select"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says the selection changes but not whether the change is persistent, whether it affects the currently open document only, what happens on an invalid or ambiguous identifier, or what is returned. For a state-mutating tool with zero annotation coverage this is a significant gap.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its brevity is partly under-specification rather than disciplined concision.

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?

Three optional, competing identifier schemes with no output schema and no annotations make the identifier-precedence and error-behavior questions important, and the description answers neither. What remains unsaid is exactly what an agent needs to invoke this correctly.

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 each of the three parameters is already documented individually. The description adds no meaning beyond the schema, notably nothing about precedence when layerId, layerName, and layerUuid are supplied together — a real ambiguity given all three are optional. Baseline 3 applies.

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?

States a specific verb and resource: make a layer the active selection. That is distinguishable from siblings like layer_setProperties or layer_getProperties, which read or modify attributes rather than change the active-selection state. It does not explicitly name or contrast a sibling, so it stops short of 5.

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?

There is no guidance on when to use this versus layer_list, layer_getProperties, or any selection-related alternative, and no preconditions such as the layer needing to exist. The agent must infer usage entirely from the one-line purpose.

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