Skip to main content
Glama

link_doors

Idempotent

Connect two doors across areas to enable bidirectional transitions. Sets LinkedTo and LinkedToFlags on both doors so each points to the other.

Instructions

Link two doors for area transitions. Sets LinkedTo and LinkedToFlags on both doors bidirectionally.

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": {
      "area1": "<area1>",
      "door1Tag": "<door1Tag>",
      "area2": "<area2>",
      "door2Tag": "<door2Tag>"
    },
    "name": "link_doors"
  }
}

Input Schema

NameRequiredDescriptionDefault
area1YesFirst area resref
area2YesSecond area resref
door1TagYesTag of the door in area1
door2TagYesTag of the door in area2

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations only declare idempotentHint, so the description carries the rest — and it does disclose concrete effects: LinkedTo and LinkedToFlags are written on both doors bidirectionally. It does not say what happens if a door tag is missing, whether existing links are overwritten, or whether the operation validates tags.

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?

Two short sentences, front-loaded with the action and immediately followed by the concrete field effects; nothing is wasted or buried.

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 simple four-required-parameter mutation with full schema coverage and no output schema, the definition covers action, purpose, and side effects. Only failure modes and overwrite semantics are left unaddressed.

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 four parameters are already documented, and the description rightly does not restate them. The only added meaning is the bidirectional pairing of area1/door1Tag with area2/door2Tag, which is useful but modest.

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?

Names a specific verb and resource ("Link two doors") plus the intent ("for area transitions"), which an agent can readily map to a distinct operation. It does not, however, distinguish itself from siblings such as create_area_transition or check_area_connectivity.

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?

The phrase "for area transitions" implies the use case, but there is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool. Guidance is inferable rather than stated.

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

Deploy Server

Other Tools