Skip to main content
Glama

Update a block

update_block

Edit a block by id: title/url for links, text for headers, url for embeds, title and streaming links for music buttons, urls and rowTitle for rows of posts. visible=false hides it without deleting. startsAt/endsAt schedule it (null clears); spotlight=true shows it first, highlighted.

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": {
      "id": "<id>"
    },
    "name": "update_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBlock id from get_my_page.
urlNoA web address (https://…), a bare domain, or an email address.
textNo
urlsNoRows of posts only: every post link, in order, replacing the current list.
linksNoMusic buttons only: every streaming link to show (Spotify, Apple Music, YouTube Music, TIDAL, Amazon Music, Deezer, SoundCloud, Bandcamp…), replacing the current list.
titleNo
endsAtNoWhen it stops showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.
visibleNo
rowTitleNoRows of posts only: the title above the row ("" removes it).
startsAtNoWhen it starts showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.
spotlightNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / rowTitle
      Added value: +{
      +  "description": "Rows of posts only: the title above the row (\"\" removes it).",
      +  "maxLength": 100,
      +  "type": "string"
      +}
    • addedInput schema / properties / urls
      Added value: +{
      +  "description": "Rows of posts only: every post link, in order, replacing the current list.",
      +  "items": {
      +    "maxLength": 2048,
      +    "type": "string"
      +  },
      +  "maxItems": 6,
      +  "minItems": 1,
      +  "type": "array"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / endsAt
      Added value: +{
      +  "description": "When it stops showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / links
      Added value: +{
      +  "description": "Music buttons only: every streaming link to show (Spotify, Apple Music, YouTube Music, TIDAL, Amazon Music, Deezer, SoundCloud, Bandcamp…), replacing the current list.",
      +  "items": {
      +    "maxLength": 2048,
      +    "type": "string"
      +  },
      +  "maxItems": 12,
      +  "type": "array"
      +}
    • addedInput schema / properties / spotlight
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / startsAt
      Added value: +{
      +  "description": "When it starts showing, ISO 8601 with a time zone, e.g. 2026-12-01T18:00:00-08:00. Ask the user's time zone if unsure. null clears it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, and the description extends this by clarifying that visible=false hides without deleting and that startsAt/endsAt accept null to clear scheduling. It also discloses that `urls` and `links` replace the entire current list — a meaningful side effect beyond the annotations. What is missing is what happens when a field is supplied for an incompatible block type (ignored vs error).

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?

Front-loaded with the core action and then a compact, clause-per-field list; nearly every phrase carries distinct information. The telegraphic style ("text for headers, url for embeds") is dense enough that a first-time reader may need a second pass, but there is no filler.

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 an 11-parameter mutation tool with no output schema, the description covers the field-to-type mapping, the two booleans, list-replacement semantics, and null-clearing of schedule. The remaining gap is error/validation behavior and confirmation of what is returned after a successful edit.

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 coverage is 64%, and the description compensates by tying parameters to block types: links for music buttons, urls+rowTitle for rows of posts, url for embeds, title for links. It also explains the two booleans (visible=false hides, spotlight=true shows first/highlighted) that the schema leaves bare. `text` is mentioned only as "text for headers" with no length or format guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Edit a block by id" gives a specific verb and resource, and the following clauses map fields to block types (title/url for links, text for headers, url for embeds, urls/rowTitle for rows), which implicitly separates this from the add_* siblings. It stops short of naming any sibling explicitly, so an agent must infer that new blocks come from add_link/add_music/etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description explains parameter-level usage per block type and notes visible=false as the non-destructive alternative to removal, which is genuinely useful. However, it never says when to call this versus remove_block or the add_* tools, and gives no prerequisites such as needing a block id from get_my_page (that lives only in the schema).

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