Skip to main content
Glama
putervision
by putervision

manage_spatial_spec

Set, verify, and list spatial specifications to enforce physical constraints like clearance, containment, and occupancy, ensuring compliance with baseline contracts.

Instructions

Manage Spatial Spec-Driven Development (Spatial SDD) baseline contracts and live compliance verification against physical constraints (min clearance, containment, occupancy).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName of the spatial specification
actionNoAction to perform (default: list)
boundsNoSpatial bounding box limits
projectNoOptional project identifier
toleranceNoVerification tolerance percentage (default: 0.05)
constraintsNoList of spatial constraints
descriptionNoSpecification description
sdd_requirement_idNoLinked state-memory SDD requirement node ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.8/5.0
Behavior2/5

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

Annotations indicate the tool is not read-only, not idempotent, and not destructive, but the description adds no extra behavioral context. It does not disclose side effects (e.g., overwriting existing specs, returning pass/fail for verification, or requiring specific permissions). Since the agent only knows it can modify state, but not how, the description fails to enhance transparency beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single dense sentence with jargon ('Spatial SDD') and a long list of parenthetical constraint types. It is not overly long but could be clearer and more front-loaded by stating the primary actions first. Every phrase serves some purpose, but the structure buries the core action under modifiers.

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?

With 8 parameters, nested objects, and no output schema, the description should provide an overview of what each action returns and how the tool fits into the spatial workflow. It does not explain that 'set' creates/updates a spec, 'verify' checks compliance, or 'list' enumerates specs. It also doesn't relate to sibling tools or clarify prerequisites. The description is too sparse for a tool of this complexity.

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 parameter is documented. The description adds a little context by mentioning physical constraints (min clearance, containment, occupancy), which maps to constraint types in the schema, but it does not clarify how parameters like bounds, tolerance, or constraints interact. It does not compensate for any ambiguity in the schema, so a baseline 3 is appropriate.

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 identifies the resource (Spatial SDD baseline contracts) and the primary operations (managing contracts and verifying compliance against physical constraints). It names specific constraint types (min clearance, containment, occupancy), which helps distinguish it from sibling tools like get_spatial_map or simulate_movement. However, the verb 'manage' is generic and doesn't explicitly enumerate the actions (set/verify/list) that the schema reveals.

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. It does not state 'use this to define a spatial spec' or 'when you need to check compliance', nor does it exclude scenarios better handled by siblings such as get_spatial_map or simulate_movement. The usage context is only implied by the tool name and schema.

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