Skip to main content
Glama

Remove a block

remove_block
DestructiveIdempotent

Removes one block from an agenda. The remaining blocks keep their ids and their order.

An agenda must keep at least one block, so this fails on the last one. Removing a block shortens the meeting — it does not redistribute that time to the other blocks.

Returns the full updated agenda.

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": {
      "block_id": "<block_id>"
    },
    "name": "remove_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
block_idYesThe id of the block to remove.
edit_tokenNoThe latest edit_token (from create_agenda, or rotate_edit_token after a rotation). Authorizes on its own; needed unless the agenda is saved to a linked account.
share_tokenNoAgenda id (from create_agenda or list_agendas). Required with a linked account, optional beside edit_token.

Output Schema

NameRequiredDescriptionDefault
titleYes
blocksYesThe blocks in the order they run.
share_urlYesThe read-only agenda with the live timer; safe to give to attendees.
expires_atYesISO 8601. null when the agenda is saved to an account and does not expire.
share_tokenYesThe agenda's public identifier; what every tool takes as share_token.
total_secondsYesSum of every block's duration_seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / edit_token / description
      Previous value: -"The edit_token returned by create_agenda."New value: +"The latest edit_token (from create_agenda, or rotate_edit_token after a rotation). Authorizes on its own; needed unless the agenda is saved to a linked account."
    • addedInput schema / properties / share_token
      Added value: +{
      +  "description": "Agenda id (from create_agenda or list_agendas). Required with a linked account, optional beside edit_token.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "edit_token",
      -  "block_id"
      -]New value: +[
      +  "block_id"
      +]
    • changedOutput schema / properties / blocks / items / properties / block_type / description
      Previous value: -"Internal classification; never mention it to the user."New value: +"Internal classification; appears on no BriefMe page."
    • addedOutput schema / properties / share_token
      Added value: +{
      +  "description": "The agenda's public identifier; what every tool takes as share_token.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "title",
      -  "total_seconds",
      -  "expires_at",
      -  "share_url",
      -  "blocks"
      -]New value: +[
      +  "title",
      +  "total_seconds",
      +  "expires_at",
      +  "share_token",
      +  "share_url",
      +  "blocks"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "blocks": {
      +      "description": "The blocks in the order they run.",
      +      "items": {
      +        "properties": {
      +          "block_type": {
      +            "description": "Internal classification; never mention it to the user.",
      +            "enum": [
      +              "standup",
      +              "discussion",
      +              "decision",
      +              "q_and_a",
      +              "break",
      +              "opening",
      +              "closing",
      +              "other",
      +              null
      +            ],
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "duration_seconds": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Stable 8-letter id: what update_block, remove_block, reorder_blocks and after_block_id take.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "title",
      +          "duration_seconds",
      +          "block_type",
      +          "description"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "expires_at": {
      +      "description": "ISO 8601. null when the agenda is saved to an account and does not expire.",
      +      "format": "date-time",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "share_url": {
      +      "description": "The read-only agenda with the live timer; safe to give to attendees.",
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "total_seconds": {
      +      "description": "Sum of every block's duration_seconds.",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "title",
      +    "total_seconds",
      +    "expires_at",
      +    "share_url",
      +    "blocks"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so safety is covered; the description adds genuine behavioral detail beyond that — remaining blocks keep their ids and order, the one-block minimum invariant, and the fact that freed time is not redistributed. These side-effect semantics are exactly what an agent cannot infer from the annotations or schema.

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?

Front-loaded with the action in the first sentence, followed by consequences, constraints, and return value in a logical order. Every sentence contributes a distinct fact — ids, invariant, time behavior, return shape — with no restatement of the title or annotations.

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?

Complete for a destructive mutation: it covers the invariant, side effects on ordering, and what is returned, and an output schema exists to carry return-value detail. Minor gaps remain around behavior for a nonexistent block_id and edit_token staleness, but nothing essential to invoking it correctly is missing.

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%, with block_id, edit_token, and share_token all documented including auth fallback rules, so the schema does the heavy lifting. The description adds no parameter-level meaning (e.g., no note that block_id comes from get_agenda), 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 ('Removes one block from an agenda') with the exact scope of the operation. It is trivially separable from siblings like add_block, update_block, and reorder_blocks, which all imply different mutations of the same resource.

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?

Provides a clear usage boundary: 'An agenda must keep at least one block, so this fails on the last one,' which implicitly routes the agent elsewhere (delete_agenda) in that case. It stops short of explicitly naming alternatives or stating when to call repeatedly versus using another tool, so it is context-rich but not full routing guidance.

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