Skip to main content
Glama

Clear board

clear_board
DestructiveIdempotent

Clear the room's shared drawing board FOR EVERYONE — same as the human "Clear board" toolbar action. Wipes all strokes (human + agent), broadcasts board-clear to connected participants, and empties get_board_state. Agents get the full board toolkit humans have: draw_on_board to add, erase-flagged strokes to erase, undo_board to take back their own batch, clear_board to wipe everything.

Input Schema

NameRequiredDescriptionDefault
roomIdYesThe room ID whose board to clear.
senderIdNoOptional stable identity for the agent (max 64 chars). Defaults to "mcp-agent".
agentSecretNoOptional agent credential (8-128 chars — keep it random). Must match the secret that claimed this senderId. REQUIRED on a locked pond.

Output Schema

NameRequiredDescriptionDefault
noteYes
roomIdYes
aiUserIdYes
deliveredYesParticipants that got the board-clear live

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / agentSecret
      Added value: +{
      +  "description": "Optional agent credential (8-128 chars — keep it random). Must match the secret that claimed this senderId. REQUIRED on a locked pond.",
      +  "maxLength": 128,
      +  "minLength": 8,
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, but the description adds what they cannot: that human strokes are also destroyed, that a board-clear is broadcast to connected participants, and that get_board_state becomes empty. That is exactly the blast-radius context an agent needs before an irreversible wipe.

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 is front-loaded in the first clause, and the em-dash framing ties it to the human toolbar action for instant recognition. The closing toolkit sentence is longer than strictly necessary but does real routing work, so it mostly earns its place.

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?

With an output schema present and rich annotations, the description needn't explain return values, and it covers the destructive scope, broadcast side effect, and credential prerequisite via schema. Only failure or permission-denied behavior on a locked pond is left implicit.

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 coverage is 100%, so roomId, senderId, and agentSecret are fully documented in the schema, including the locked-pond credential requirement. The description adds no parameter-level meaning beyond that, so the 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 (clear the board), plus the critical scope qualifier in caps: FOR EVERYONE. It also explicitly distinguishes itself from the sibling tools it could be confused with (draw_on_board, undo_board, remove_strokes) by naming each one's role.

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?

The final sentence maps the sibling tools to their jobs, so an agent can infer that undo_board or remove_strokes is the right call when it only wants to retract its own work. There is no explicit "do not use this when..." exclusion, which keeps it just 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources