Skip to main content
Glama

delete_board

Destructive

Deletes a board and all its cards from an AFFiNE doc, leaving card descriptions in All docs. Use it to remove Kanban boards; the action cannot be undone here, though AFFiNE history may restore it.

Instructions

Delete a board with all its cards from a doc. Description docs of cards stay in All docs. Cannot be undone from here, AFFiNE history can

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": {
      "doc": "<doc>"
    },
    "name": "delete_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
docYesDoc id or title
boardNoBoard block id or board title, leave out when the doc has one board
workspaceNoWorkspace id or name, leave out for the default workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely new behavior: the delete cascades to all cards, card description docs survive in All docs, and the action cannot be undone from here though AFFiNE history can restore it. That preserved-vs-destroyed distinction and recovery path are exactly the context annotations cannot carry; only a note on failure modes or permissions is missing.

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?

Three short sentences, with the destructive action and its cascade front-loaded. The phrasing is slightly compressed to the point of ambiguity ("Cannot be undone from here, AFFiNE history can"), but nothing is padded or redundant.

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?

For a 3-parameter destructive tool with full annotation coverage and no output schema, the description covers the critical facts: what is removed, what is retained, and how recovery works. Omissions are limited to edge-case behavior (missing board, permission errors) rather than anything needed to invoke it correctly.

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% and each of the three parameters (doc, board, workspace) is documented in the schema, including the "leave out when the doc has one board" default. The description adds only the loose phrase "from a doc" and no syntax or disambiguation beyond the schema, so 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?

Specific verb + resource ("Delete a board") plus cascade scope ("with all its cards from a doc"), which immediately separates it from delete_card and from doc-level tools like trash_doc. An agent can tell what object is removed and what happens to its children 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 Guidelines2/5

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

There is no explicit when-to-use guidance and no mention of prerequisites such as required permissions or what happens if the board doesn't exist. The consequence statements (cards removed, card docs retained) hint at caution but never route the agent to an alternative or state when not to call it.

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