Skip to main content
Glama

Add Content Block

block_add

Append a new content block to a link-in-bio page. The block must match one of the 14 allowed types (link, social_row, whatsapp, phone_call, email_contact, image, gallery, video_embed, text, map_embed, product_card, lead_form, reviews, save_contact) with that type's strict props. The server generates the block id and returns it in the response. For already-published pages, this saves an unpublished latest revision only. Do not call page_publish in the same assistant turn after this edit. Stop and tell the user the draft/preview was updated, then wait for a separate user message that explicitly asks to update the live link, publish, or make the changes public before calling page_publish. Do NOT call page_unpublish either — the live page should stay public; only unpublish when the user explicitly asks to take it down. The response includes nextSteps: after adding a block, share these hints with the user so they know what else would make the page more complete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blockYesThe block to add. Must match one of the 14 allowed types with that type's strict props schema. The server generates the block id.
pageIdYes
editTokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
slugYes
titleYes
pageIdYes
statusYes
actionsYes
contentNo
claimUrlYes
editTokenYes
expiresAtYes
isClaimedYes
nextStepsNoImprovement hints. Only 'required' items block publishing (they mirror the publish guard); 'recommended' and 'optional' are suggestions to offer after the user has seen the preview, never prerequisites.
canPublishYes
previewUrlYes
isPublishedYes
publishedUrlYes
missingFieldsNo
publishPolicyNoFor edit tools on already-published pages, this is wait_for_separate_user_request to prevent same-turn publishing.
liveUpdateMessageNoPlain-language instruction explaining that an edit to an already-published page is draft-only and must not be published until a later explicit user request.
liveUpdateRequiredNoTrue after an edit to an already-published page when the public live page still needs page_publish to reflect the latest revision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / nextSteps / description
      Previous value: -"Enrichment hints to present to the user. Address 'required' items before publishing."New value: +"Improvement hints. Only 'required' items block publishing (they mirror the publish guard); 'recommended' and 'optional' are suggestions to offer after the user has seen the preview, never prerequisites."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare it as a non-idempotent, non-destructive write. The description adds substantial context beyond them: the server generates the block id and returns it, edits to already-published pages only save an unpublished latest revision, and the response includes nextSteps hints. These are the behaviors an agent needs to drive the workflow correctly.

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?

Purpose and type list are front-loaded, and every element is relevant. The publish/unpublish constraint is spread across several sentences that partially repeat the same instruction, which is slightly more verbose than needed.

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 complex 14-variant mutation with a nested schema and an output schema present, the description covers the workflow, draft semantics, id generation, and response hints. Return-value formatting need not be explained because an output schema exists.

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 only 33%, and the description mostly restates the type enumeration already present in the schema's oneOf variants. Neither editToken (likely an auth/edit credential) nor pageId semantics are explained in the description, so the low-coverage params are not fully compensated for.

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+resource ('Append a new content block to a link-in-bio page') and enumerates all 14 allowed types plus the strict-props requirement. This clearly distinguishes it from siblings like block_update and block_reorder 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 Guidelines5/5

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

Explicit when/when-not guidance with named alternatives: do not call page_publish in the same assistant turn, wait for an explicit user request, and do not call page_unpublish. It names the exact sibling tools and the conditions that select them, leaving nothing to inference.

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