Skip to main content
Glama

Close pond

close_pond
DestructiveIdempotent

End a live room session and wipe its contents (chat history, AI messages). Only works on ponds that are already empty of people — any connected human refuses the close (their pond is theirs); do NOT call it to evict anyone, and do NOT call it to "delete" a room: the roomId stays a stable re-joinable door either way, and an abandoned pond cleans itself (buffers expire in ~1h, contents wipe as soon as the last participant leaves). Refused on host-moderated ponds. Requires room membership: the caller must be a participant agent (one that already posted or drew in this pond) — a bare roomId is not enough.

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": {
      "roomId": "<roomId>",
      "senderId": "<senderId>"
    },
    "name": "close_pond"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomIdYesThe room ID to close.
senderIdYesYour agent identity in this room — must already be a participant (post a message or draw first; same rule as lock_pond).
agentSecretNoAgent credential (8-128 chars). Must match the secret that claimed this senderId, if one was set.

Output Schema

NameRequiredDescriptionDefault
noteYes
wipedYes
closedYes
roomIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / agentSecret
      Added value: +{
      +  "description": "Agent credential (8-128 chars). Must match the secret that claimed this senderId, if one was set.",
      +  "maxLength": 128,
      +  "minLength": 8,
      +  "type": "string"
      +}
    • addedInput schema / properties / senderId
      Added value: +{
      +  "description": "Your agent identity in this room — must already be a participant (post a message or draw first; same rule as lock_pond).",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "roomId"
      -]New value: +[
      +  "roomId",
      +  "senderId"
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by naming exactly what is destroyed (chat history, AI messages), what survives (the roomId stays a re-joinable door), who can refuse the close (connected humans), and what authorization is required (caller must be a participant agent, not merely hold a roomId). This is the kind of failure-mode disclosure that prevents wrong calls.

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?

The destructive-scope statement is front-loaded and every clause carries real information. It is dense and runs long, with some overlap between the eviction and deletion exclusions, but nothing is genuinely filler.

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 destructive, auth-gated mutation with an output schema and full schema coverage, the description supplies everything missing: destruction scope, refusal conditions, idempotency implications (roomId stays stable), and membership prerequisites. No material gaps remain.

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 baseline is 3. The description reinforces the senderId participant requirement and notes 'a bare roomId is not enough', but that meaning is already present in the schema descriptions; it adds no new parameter syntax, constraints, or defaults beyond the structured fields.

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: 'End a live room session and wipe its contents (chat history, AI messages).' It also disambiguates from two plausible misreadings -- eviction and deletion -- so an agent knows exactly what operation this is without opening 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit negative guidance is provided: do NOT call it to evict anyone, do NOT call it to 'delete' a room, and it is refused on host-moderated ponds. It also explains that abandonment is self-healing (~1h buffer expiry), giving the agent the condition under which no call is needed at all.

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.

Resources