Skip to main content
Glama

Scene Measure

scene_measure
Read-onlyIdempotent

Measure center-to-center, surface, or clearance distance and bounding-box overlap between two Maya objects to check spatial relationships.

Instructions

Measure spatial relationship between two objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoMeasurement type: - "center": Center-to-center distance (default) - "surface": Closest surface point distance - "clearance": Gap/clearance distance - "bbox": Bounding box overlap detectioncenter
obj_aYesFirst object name.
obj_bYesSecond object name.
formatNoOutput format - "cos" or "json".cos
session_keyNoMaya session key.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds no extra behavioral context such as session requirements, error behavior, or whether it mutates any state. It neither contradicts nor enriches what the annotations provide.

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 no wasted words. It immediately conveys the core purpose without filler. Brevity is appropriate for the core description, as structured fields handle details.

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

Completeness3/5

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

Given the tool's complexity (5 parameters, multiple measurement modes) and the rich structured data (100% schema coverage, output schema present), the description is minimally adequate. It does not mention the available modes or the distinction from siblings, leaving the agent to rely entirely on schema and annotations.

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%, with all five parameters fully documented in the input schema (including mode options and format). The description adds no parameter meaning beyond what is already in the schema, so the baseline of 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?

The description states a specific verb and resource: 'Measure spatial relationship between two objects.' This is clear and avoids tautology. However, it does not differentiate this tool from siblings like scene_inspect or scene_assert, which could also involve scene analysis.

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?

No guidance is given on when to use this tool versus alternatives. The description simply defines the function and does not mention any conditions, prerequisites, or exclusions. An agent must infer usage from the name and schema alone.

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