Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Nunify. If you published it, claim ownership there.

Update Site Block

update_site_block
Idempotent

Update a specific block's content or styles. Properties are merged shallowly with the block's existing fields (nested hashes are merged one level). Colors: always prefer theme color variables like 'rgba(var(--theme-primary-color), 1.0)' over hex/rgb literals. Use get_site_block_schema to see the block type's editable properties.

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": {
      "event_id": "<event_id>",
      "page_id": "<page_id>",
      "section_id": "<section_id>",
      "block_id": "<block_id>",
      "properties": "<properties>"
    },
    "name": "update_site_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesPage UUID.
block_idYesBlock ID within the section.
event_idYesEvent UUID returned by search_events.
propertiesYesProperties to set on the block.
section_idYesSection UUID.

Output Schema

NameRequiredDescriptionDefault
hintYes
messageYes
sectionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent, non-open-world write, so the safety profile is covered. The description adds real behavioral context beyond that: properties are merged shallowly with existing fields and nested hashes merge only one level, which tells the agent partial updates preserve unmentioned fields. It does not state what happens on invalid or unknown property keys.

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?

Four short sentences, front-loaded with the action and merge semantics, then the color convention and the pointer to get_site_block_schema. Every sentence carries information, though the color-variable advice is somewhat tangential to the core update contract.

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?

With annotations covering safety and idempotency, an output schema handling return values, and full schema coverage, the description supplies the missing pieces an agent needs: merge behavior and a pointer to schema discovery for the free-form properties. Only the failure behavior for invalid properties is unaddressed.

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 100% and every parameter has a schema description, so the baseline would be 3. The description earns extra credit by explaining merge semantics for the free-form `properties` object, clarifying that omitted keys are preserved rather than overwritten, plus the color-value convention the schema does not encode.

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?

The description opens with a specific verb and resource: 'Update a specific block's content or styles,' which scopes the operation to a single block and its content/style fields. The block-level scope implicitly distinguishes it from update_site_section_styles and update_site_page, though no sibling is named explicitly.

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?

It gives concrete operational guidance: consult get_site_block_schema for the block type's editable properties before setting values, and always prefer theme color variables over hex/rgb literals. It lacks explicit when-not-to-use or exclusion guidance (e.g., when to use add_site_block or remove_site_block instead).

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