Skip to main content
Glama

add_portal

Places a door or window portal at a woxel position, mounting it to the nearest wall and cutting a gap for the opening. Returns the new element ID.

Instructions

Add a door/window portal at a woxel position. Returns the new element id.

By default the portal MOUNTS on the nearest wall and the wall cuts a gap around it (like placing a door by hand).

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": {
      "asset": "<asset>"
    },
    "name": "add_portal"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
flipNo
snapNo
assetYes
mountNowall
closedNo
radiusNo
rotationNo
snap_maxNo
fallback_freeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely non-obvious behavior: the portal mounts on the nearest wall and the wall cuts a gap around it, which tells the agent the operation mutates existing wall geometry. However, it says nothing about what happens when no wall is nearby, whether the gap-cutting is reversible, or how snap/fallback settings change that default.

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 return value, then the default behavior. The parenthetical "(like placing a door by hand)" is a compact and effective analogy, and nothing is wasted.

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?

For an 11-parameter mutation tool with zero annotation coverage and no output schema, this description is far too thin — the majority of parameters and the failure/fallback path are unexplained. Naming the returned element id is a useful partial offset, but not enough for the tool's complexity.

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

Parameters2/5

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

Schema description coverage is 0% across 11 parameters, so the description must compensate and it barely does. It explains only the default value of the mount parameter ("mounts on the nearest wall"); x/y, flip, snap, closed, radius, rotation, snap_max, and fallback_free are entirely undocumented in both schema and description.

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 gives a specific verb and resource ("Add a door/window portal") plus the placement domain ("at a woxel position") and states the return value ("Returns the new element id"). That is enough to separate it from siblings like add_floor, add_light, or draw_wall without opening a schema, though it never explicitly contrasts itself with those tools.

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?

There is no when-to-use or when-not-to-use guidance, and no alternatives are named. The agent is left to infer from the resource name alone whether a portal is the right choice versus drawing a wall segment or placing a light.

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