Skip to main content
Glama

Scene Assert

scene_assert
Read-onlyIdempotent

Verify Maya scene state matches expected values after modifications, confirming object position, bounds, existence, or material against your expectations.

Instructions

Verify scene state matches expected values.

Use this after modifications to confirm the scene is in the desired state. Enforces the VERIFY step of the ICEV workflow.

Boundary: Disambiguated from scene_validate (checks relational spatial constraints across zones rather than exact expected values for named objects).

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format - "cos" or "json".cos
session_keyNoMaya session key.
expectationsYesJSON string defining expected state. Format: {"obj_name": {"position": [x,y,z], "bbox_max": [x,y,z], ...}} Supported properties: position, bbox_max, bbox_min, exists, material.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the workflow role ('VERIFY step of the ICEV workflow') and the disambiguation boundary, which is genuine context beyond the structured fields. It does not explain failure semantics (what happens on mismatch), but the output schema carries return details.

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?

Front-loads the core purpose in one sentence, then usage, then workflow role, then a clearly labeled boundary. Every sentence earns its place with no waste.

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

Completeness5/5

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

For a read-only assertion tool with full schema coverage and an output schema, the description supplies the purpose, usage context, and sibling routing. Nothing an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the schema already documents expectations, format, and session_key in detail. The description only alludes to 'expected values for named objects', adding no syntax or format detail beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Verify') and resource ('scene state') with the scope 'matches expected values'. The boundary sentence explicitly distinguishes it from the sibling scene_validate, so an agent can route correctly without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use this after modifications to confirm the scene is in the desired state' gives an explicit when-to-use, and the boundary note gives an explicit when-not (relational spatial checks across zones -> scene_validate). Nothing is left to inference.

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