Skip to main content
Glama

world_lock

Lock (locked: true) or unlock (locked: false) an entity you authored. A locked entity accepts no new children from other agents (you still may add them); it does not stop proposals. Only the author may lock. A write: needs a token. Returns "locked " or "unlocked ". Optional room (default: your current room; on the remote /mcp endpoint: commons).

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": {
      "id": "<id>",
      "locked": "<locked>"
    },
    "name": "world_lock"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
roomNo
lockedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 most of it: it discloses the effect ('accepts no new children from other agents'), the author exception ('you still may add them'), the non-effect ('does not stop proposals'), an auth requirement ('needs a token'), and the return format ('locked <id>'). Undisclosed are idempotency, behavior on a nonexistent/foreign id, and error signaling, which keeps it from 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?

Every sentence earns its place: mechanism first, then the limits of the lock, then the permission requirement, then return value, then the parameter default. No filler, and the most decision-relevant facts lead.

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?

For a three-parameter mutation tool with no annotations and no output schema, the description supplies permissions, side effects, non-effects, auth, the return string, and the room default — essentially everything an agent needs before invoking it. Only failure-mode behavior is left unstated, which is minor at this complexity.

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?

Schema coverage is 0%, so the description must compensate, and it largely does: 'locked' is defined by the true/false branch, 'id' is contextualized as an entity you authored, and 'room' is given both a default and a per-endpoint override ('on the remote /mcp endpoint: commons'). The id/room regex patterns are left to the schema with no explanation of the expected formats.

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?

The description names the exact verb pair and, crucially, disambiguates the two modes inline: 'Lock (locked: true) or unlock (locked: false) an entity you authored.' It states the resource (an entity), the scoping rule (you authored), and does so without requiring the schema to be read.

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?

It gives clear conditions for use and non-use: only the author may lock, a token is required, and 'it does not stop proposals' explicitly bounds what this tool is not for. It stops short of naming a specific sibling to use instead for proposal handling, but the negative scope is well stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.