Skip to main content
Glama

Add a block to an agenda

add_block

Adds one block to an existing agenda: at the end, above a final wrap-up, or directly after after_block_id.

Adds only — it does not reorder or change any existing block. Returns the full updated agenda, so no get_agenda call is needed afterwards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesShort, active, scannable on a countdown screen.
block_typeYesInternal classification for aggregate analysis, inferred from the content; shown on no BriefMe page.
edit_tokenYesThe edit_token returned by create_agenda.
descriptionNoOptional one-line note, only when the title is ambiguous.
after_block_idNoInsert directly after this block id. Omit to add at the end.
duration_secondsYesHow long this block runs, in seconds.

Output Schema

TableJSON 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.
total_secondsYesSum of every block's duration_seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / after_block_id / description
      Previous value: -"Insert directly after this block id. Omit to append to the end."New value: +"Insert directly after this block id. Omit to add at the end."
  2. Changed2 schema fields changed
    • changedInput schema / properties / block_type / description
      Previous value: -"Internal classification for analysis — infer it from the content; never mention it to the user."New value: +"Internal classification for aggregate analysis, inferred from the content; shown on no BriefMe page."
    • 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.2/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower; the description still adds real value by stating that existing blocks are untouched and that the full updated agenda is returned, removing a follow-up get_agenda call.

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?

Two tight paragraphs with the insertion behavior front-loaded and no filler. Minor redundancy between 'Adds one block' and 'Adds only' plus a duplicated word in 'directly after after_block_id' keep it just under a 5.

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 single-block insert with full schema coverage and an output schema, the description covers positioning, non-destructive scope, and return behavior — everything an agent needs to call 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%, so every parameter (including edit_token and block_type) is already documented in the schema. The description only restates after_block_id's 'omit to add at the end' behavior, 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?

Specific verb+resource ('Adds one block to an existing agenda') with the three insertion positions enumerated, which separates it cleanly from create_agenda, update_block and reorder_blocks without opening any schema.

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 clause 'Adds only — it does not reorder or change any existing block' implicitly routes the agent away from reorder_blocks/update_block, and the after_block_id semantics tell it which variant of the call to make. It stops short of explicitly naming the alternative tools or stating prerequisites.

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