Skip to main content
Glama

Add mini site block

add_mini_site_block
Idempotent

Add one block to a bio page. Types: link, featured, header, email, latestposts, embed, text, image, gallery, faq, divider, product, event, presave, episode, booking, hours, collection. Required fields per type — link/featured: url; product: title+url; event: title+startDate; presave: title+releaseDate+links; episode: mode plus title+url (manual) or feedUrl (rss); booking: provider+url; hours: timezone+days; header: text; text: richText; image: imageUrl; gallery: images; faq: faqItems; embed: embedUrl from a supported provider; email/latestposts/divider: none. All URLs must be http(s). The response returns the block AS STORED, so any field the server rejected is visibly absent. Calling twice with the same type+url returns the existing block instead of duplicating it. The phase field stages a block around a release date: 'before' shows it only until the drop, 'after' only from the drop onwards, and 'always' clears the staging so it shows either way. Phase has NO effect until a campaign is set in the dashboard — check get_mini_site.campaign first and tell the user if it is null.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
altNo
urlNo
daysNo
modeNo
textNo
typeYes
labelNo
limitNo
linksNo
orderNo
phaseNo
priceNo
titleNo
imagesNo
siteIdNo
captionNo
endDateNo
feedUrlNo
headingNo
embedUrlNo
faqItemsNo
imageUrlNo
locationNo
providerNo
richTextNo
timezoneNo
startDateNo
artworkUrlNo
buttonLabelNo
descriptionNo
releaseDateNo
visibleFromNo
thumbnailUrlNo
visibleUntilNo
postReleaseLinksNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
blockYes
blockCountYes
alreadyExistedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations cover safety (readOnlyHint=false, destructiveHint=false, idempotentHint=true), and the description adds real behavioral context beyond them: the response echoes the block 'AS STORED' so rejected fields are visibly absent, the concrete idempotency trigger, and the non-obvious rule that phase is a no-op until a dashboard campaign exists.

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?

It is long, but every clause is load-bearing given 35 parameters and zero schema descriptions. The core purpose is front-loaded, followed by the type/required-field reference, then the idempotency and phase caveats. No obvious filler sentences, though the type list and required-field block are dense to parse.

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?

An output schema exists, so return-value explanation is not required, yet the description usefully clarifies echo-as-stored semantics and the campaign prerequisite. It does not mention which parameter identifies the target site (siteId is not required in the schema), which for a 35-param tool is a small remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden, and it does the highest-value work: it maps required fields per type (url, title+startDate, provider+url, timezone+days, embedUrl constraints, etc.) and the http(s) URL rule. Many optional params (order, limit, price shape, alt, caption, label, artworkUrl, visibleFrom/Until, postReleaseLinks) remain undocumented, so it compensates well but not completely.

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?

Opens with a specific verb+resource: 'Add one block to a bio page.' It then enumerates the block types, which immediately separates it from update_mini_site_block, remove_mini_site_block, and get_mini_site in the sibling list without the agent needing to open another 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?

Gives strong conditional guidance for the phase field (when 'before'/'after'/'always' apply) and an explicit prerequisite: check get_mini_site.campaign and warn the user if null. It also discloses the idempotency branch (same type+url returns existing block). It stops short of explicitly routing the agent to update_mini_site_block for existing blocks, so it is not a full when-not statement.

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