Skip to main content
Glama

create_area_transition

Builds a one-way area transition by placing a trigger and waypoint, writing and compiling the travel script, and linking them. Call twice with swapped areas for two-way travel.

Instructions

Create a one-way area transition: trigger in source area → waypoint in target area. For two-way transitions, call twice with swapped source/target. Writes and compiles a transition script, places the waypoint, places the trigger, and sets LinkedTo metadata for connectivity checks.

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": {
      "sourceArea": "<sourceArea>",
      "sourceX": "<sourceX>",
      "sourceY": "<sourceY>",
      "targetArea": "<targetArea>",
      "targetX": "<targetX>",
      "targetY": "<targetY>",
      "tag": "<tag>"
    },
    "name": "create_area_transition"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYesBase tag for naming. Max 11 chars to avoid script resref truncation collisions. Trigger tag = 'tr_<tag>' (32-char limit), waypoint tag = 'wp_<tag>' (32-char limit), script resref = 'a_tr_<tag>' (16-char resref limit — this is the constraint). Use short abbreviated tags like 'vil_inn', 'cave_vil'.
sourceXYesTrigger X position in source area
sourceYYesTrigger Y position in source area
sourceZNoTrigger Z position (default 0.0)
targetXYesWaypoint X position in target area
targetYYesWaypoint Y position in target area
targetZNoWaypoint Z position (default 0.0)
sourceAreaYesArea resref where the trigger is placed
targetAreaYesArea resref where the waypoint is placed
triggerBlueprintNoUTT blueprint resref for the trigger (default: 'nw_yourfeet' or generic trigger)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses side effects beyond creation — writes and compiles a transition script, places the waypoint, places the trigger, and sets LinkedTo metadata so connectivity checks pass. It is silent on permissions, overwrite/conflict behavior, and failure modes, which prevents a 5.

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?

Three short sentences, front-loaded with the core action, followed by the two-way workaround and then the ordered side effects. No filler or repetition of the name.

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 10-parameter mutation tool with no annotations and no output schema, the description covers ordering of operations, the one-way/two-way distinction, and post-creation metadata. Remaining gaps — return value (e.g., created resrefs), error conditions, and pre-checks — are minor but real.

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 all ten parameters (including the tag truncation constraints and Z defaults) are already documented in the schema. The description adds only the high-level source/target role mapping, which the schema already conveys per-field; baseline 3 applies.

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 ('Create a one-way area transition') and immediately clarifies the topology: trigger in source area, waypoint in target area. The 'one-way' qualifier and the source→target mapping let an agent distinguish it from a two-way or adventure-level transition tool without inspecting the schema.

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 explicit conditional guidance for the main ambiguity: for two-way transitions, call twice with swapped source/target. It does not name a sibling alternative or state when NOT to use this tool (e.g., versus adventure_create_transition or verifying with check_area_connectivity first), so it falls short of a 5.

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