Skip to main content
Glama

selection_validate

Validates a named, generated, or spatial selection by resolving it and checking its dimension, count, measurements, and physical bindings before use.

Instructions

Resolve a named/generated/spatial selection now and check dimension, count, measurements and physical bindings.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "contract": "<contract>"
    },
    "name": "selection_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractYes
geometryNogeom1
componentNocomp1
model_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose what is verified (dimensions, count, measurements, physical bindings), which is real behavioral content. However, it never clarifies whether 'Resolve ... now' mutates model state or is a pure check, nor what happens on a failed validation or what errors/permissions are involved.

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 the action first and the checked properties second; no filler. It is compact but packs multiple concepts into one clause chain, which slightly reduces scannability.

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 tool with a nested, undocumented required object, no annotations, and no output schema, the definition is too thin: an agent cannot construct the contract, know whether state changes, or anticipate the return. The listed checks help but do not cover the calling requirements.

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

Parameters1/5

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

Schema description coverage is 0% across four parameters, including a required 'contract' object with additionalProperties=true whose structure is entirely opaque. The description mentions none of contract, geometry, component, or model_name, so nothing compensates for the zero documented coverage; the 'named/generated/spatial' phrasing only faintly hints at what the contract might hold.

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 pairs a specific verb ('Resolve ... and check') with a clear resource ('selection'), and enumerates what is examined (dimension, count, measurements, physical bindings). It stops short of distinguishing itself from near-neighbors like selection_bind_checked, and the 'named/generated/spatial' qualifier is domain jargon an agent may not decode.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named. The word 'now' hints that this is the immediate/immediate-resolution variant, but an agent cannot tell from the text why it would pick this over selection_bind_checked or how it relates to geometry_create_box_selection.

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