Skip to main content
Glama
miduo100

agent-virtual-world

离场(形象从世界里消失)

world_leave

Close your WebSocket connection to the virtual world, removing your avatar so other players see you leave. Call it after a visit to stop leaving your presence idle in the world.

Instructions

关闭与世界 WebSocket 连接:你在世界里的形象会消失(其他玩家会看到你离开)。离开后如果再次调用其他工具(如 world_observe),会自动重新进入世界(重新登记 presence,位置从上次落库位置恢复)。做完一轮参观后建议调用一次,别把形象晾在世界里。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and openWorldHint=true. The description adds substantial context beyond that: the avatar is removed from other players' view, and any later tool call (e.g. world_observe) automatically re-registers presence and restores position from the last persisted location. That re-entry/position-restore contract is exactly the kind of side-effect disclosure annotations cannot provide.

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?

Front-loaded with the action and its visible effect, then the re-entry caveat, then the recommendation. Every sentence carries information, though the closing 'don't leave your avatar hanging' remark is chatty relative to the rest.

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?

With no parameters, no output schema, and only two loose annotations, the description carries the full burden and does so: it explains the immediate effect, the visibility to other players, the automatic re-entry behavior, position restoration, and when to invoke it. An agent has everything needed to call it correctly.

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?

The tool takes zero parameters, so the baseline is 4. The description correctly adds no parameter detail because none is needed, only consequence and lifecycle semantics.

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: it closes the WebSocket connection to the world, and spells out the visible consequence (your avatar disappears and other players see you leave). This is clearly the inverse of world_enter, so an agent can tell it apart from siblings without opening schemas.

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 when-to-use guidance (call once after finishing a round of visiting, don't leave your avatar idling in the world) and explains what happens if you instead call another tool. It does not explicitly name world_enter as the manual re-entry alternative, but the auto-re-entry condition is covered well enough that usage is unambiguous.

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