Skip to main content
Glama

Suggest topology fixes (advisory)

suggest
Read-onlyIdempotent

Generate ready-to-paste door and window statements for ArchLang floor plans, with rationales and placement options, so you can choose and insert needed openings without applying changes.

Instructions

Suggest the doors and windows a plan's room graph needs, as data; nothing is applied. For a room with no path back, a building with no entrance, a bath reachable only through a bedroom, or a windowless bedroom, it returns ready-to-paste door/window statements with a rationale, for you to choose among and insert. Each names its wall by an authored id or a unique wall category, else by absolute at (x, y) coordinates. Door candidates avoid furniture in the door's approach; window candidates do not consider furniture. On a plan of level blocks each suggestion also carries level (its storey) and insertAt (the offset of that storey's closing }, where its statements go), and no door to the outside is offered on a storey reached only by a stair or lift, nor onto the roof of a storey below.

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": {
      "source": "<source>"
    },
    "name": "suggest"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesArchLang source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the readOnly/idempotent/non-destructive annotations: nothing is applied, output is ready-to-paste statements with rationale, wall references use authored ids/categories or absolute coordinates, door candidates avoid furniture in the approach while window candidates do not, and level/insertAt are provided for multi-storey plans. It also discloses nuanced restrictions on doors to the outside for stair/lift-only storeys and roof access.

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 purpose is front-loaded in the first clause, and the dense remaining text mostly earns its place by covering output shape and edge cases. It is a long single paragraph, but the complexity of the advisory behavior justifies most of the length.

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?

There is no output schema, so the description must explain return values, and it does: ready-to-paste door/window statements, rationale, wall identification via ids/categories or coordinates, and level/insertAt fields. It also covers key edge cases, making the definition complete enough for an agent to call and use the tool correctly.

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 the baseline is 3. The description contextualizes the source as a plan with a room graph and level blocks, but it does not add syntax or format guidance beyond the schema's 'ArchLang source' description.

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: 'Suggest the doors and windows a plan's room graph needs, as data'. The advisory framing ('nothing is applied') distinguishes it from likely mutation siblings like fix and repair without needing to name them.

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

Usage Guidelines4/5

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

Gives concrete situations that warrant a suggestion pass: no path back, no entrance, bath reachable only through a bedroom, windowless bedroom. It also says the user should choose among and insert results, clarifying the advisory workflow, but does not explicitly name fix/repair as the applying alternatives or state when not to use it.

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