Skip to main content
Glama

check_passages

Read-only

Detect doorways and corridors in a Blender level that are too narrow. It traces walkable center lines, measures free width including agent radius, and returns violation positions and a map.

Instructions

Find doorways and corridors of a level that are too narrow. It follows the centre line of the walkable area and reports narrow runs: a run up to door_length metres long is a doorway (limit min_door), a longer one a corridor (limit min_corridor). The width is the free width including the agent radius, accurate to about one cell, and it errs on the small side. Returns violations with positions and a map. start picks the area when there are several levels.

Input Schema

NameRequiredDescriptionDefault
cellNo
namesNo
startNo
min_doorNo
door_lengthNo
agent_heightNo
agent_radiusNo
min_corridorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / cell / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / cell / default
      Previous value: -0.25New value: +null
    • removedInput schema / properties / cell / type
      Removed value: -"number"
  2. First observedv0.4.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and a closed world, so safety is covered. The description adds real behavioral value beyond that: width is measured as free width including agent radius, accuracy is 'about one cell', and the error 'errs on the small side' — a conservative bias an agent must know when interpreting pass/fail. It also discloses the return shape ('violations with positions and a map').

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?

The core purpose is front-loaded in the first sentence, and the following sentences each add a distinct fact (classification rule, measurement semantics, accuracy, return shape, level selection). It is dense but nearly every clause earns its place; the run-on middle sentence is the only mild structural wrinkle.

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?

For a read-only analysis tool with no output schema, the description covers what an agent needs to call and interpret it: the measurement definition, the conservative error direction, and the returned artifacts. Minor gaps remain around 'names' and 'agent_height' and around cost/scale on large levels, but nothing essential for correct invocation is missing.

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

Parameters4/5

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

Schema description coverage is 0% across 8 parameters, so the description must carry the load, and it does substantially: it defines min_door, min_corridor, door_length, the role of start, and implies agent_radius ('including the agent radius') and cell ('accurate to about one cell'). Only 'names' and 'agent_height' are left undefined, so it compensates well but not completely.

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 and resource — 'Find doorways and corridors of a level that are too narrow' — and defines the check precisely (narrow runs along the walkable centre line, doorway vs corridor classification). It is clearly distinguishable from siblings like walkable_map, route, and line_of_sight, which deal with reachability rather than narrowness.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the tool is evidently a navigation-clearance validator, but the description never says when to prefer it over walkable_map, check_game_ready, or measure, nor does it state prerequisites such as needing geometry already built. The mention that 'start' picks the area 'when there are several levels' is the only contextual trigger offered.

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