Skip to main content
Glama

modo_get_selection

Read-only

Retrieve the current Modo selection as items, vertices, edges, or polygons to verify selection mode and diagnose commands that fail due to missing or mismatched selections.

Instructions

Current selection. kind='items' returns selected items; 'vertices', 'edges' or 'polygons' return component indices for the active mesh. Many Modo commands depend on both the selection and the selection mode, so check this when a command fails for no obvious reason.

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

Input Schema

NameRequiredDescriptionDefault
kindNoitems
limitNo
offsetNo
instanceNoThis chat's Modo instance token (modo-xxxxxx) from modo_use_instance or modo_launch_instance. Pass it on every call once you have one; leave empty only while a single chat works with Modo.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description adds real behavioral context by explaining that selection state silently affects other Modo commands and that different kinds return different shapes (items vs component indices for the active mesh). It does not mention pagination behavior or what an empty selection looks like.

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?

Two sentences, front-loaded with the resource and the kind semantics, then the diagnostic use case. Dense but every clause contributes; no boilerplate or restatement of the title.

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

Completeness4/5

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

With an output schema present, return values need not be described, and the description covers the key read semantics and the diagnostic motivation. It is largely complete for a simple read tool, with the notable gap being pagination (limit/offset) semantics for large selections.

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 only 25% (only 'instance' is documented), so the description must carry more weight. It meaningfully explains 'kind' beyond the bare enum labels, but says nothing about 'limit' and 'offset', leaving two parameters undocumented in both places.

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 resource ('Current selection') and immediately explains what each kind value returns, including that non-item kinds give component indices for the active mesh. It is distinguishable from sibling readers like modo_get_item or modo_get_scene_graph, though it never names them explicitly.

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?

Gives a concrete, non-obvious trigger for calling it: 'check this when a command fails for no obvious reason', because many commands depend on selection and selection mode. No explicit when-not or named alternative is given, so it falls short of a 5.

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