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 Section Styles

update_site_section_styles
Idempotent

Update section-level styles (background, padding, gap, alignItems, justifyContent, textAlign, maxWidth, etc.). Also supports 'separators' for decorative top/bottom shapes between sections: {separators: {top: {type, color, height, width?, flip?}, bottom: {...}}}. The shape is drawn inside this section, filled with 'color', hugging its top or bottom edge, so it reads as the neighbouring section's background flowing into this one. Pick 'color' from the neighbour, not from this section: a top separator should usually use the previous section's background colour and a bottom separator the next section's (read them with get_site_section first; a colour that matches this section's own background makes the shape invisible). Prefer a bottom separator on the section above over a top separator on the one below. Skip separators against image, video or gradient backgrounds unless the colour is chosen to blend with them. Use separators sparingly: they are an accent, not a default. Only add one where two adjacent sections have clearly different background colours and the transition benefits from softening, at most a few per page, and stick to one or two shape types across the whole site so it looks designed rather than busy. Do not add them unless the user asked for them or the design clearly calls for one. 'height' is a px value (e.g. '60px') that scales down on phones. 'flip' mirrors the shape horizontally; vertical orientation is derived from the edge, so 'invert' is ignored. Separator types: wave, wave-opacity, curve, curve-asymmetric, tilt, triangle, triangle-asymmetric, arrow, split, book, clouds, mountains. Background supports colour, image, gradient and video: {backgroundType: color|image|gradient|video, backgroundColor, backgroundImage, backgroundGradient, backgroundVideo, backgroundVideoProvider: direct|youtube|vimeo, backgroundSize, backgroundPosition, backgroundRepeat, backgroundAttachment, backgroundOverlay, backgroundOverlayOpacity, backgroundBlur}. Shape and photo treatments live on the same object: {clipPath, filter, opacity, boxShadow, borderRadius}.

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>",
      "properties": "<properties>"
    },
    "name": "update_site_section_styles"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesPage UUID.
event_idYesEvent UUID returned by search_events.
propertiesYesStyle properties to merge with existing section styles.
section_idYesSection UUID.

Output Schema

NameRequiredDescriptionDefault
hintYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the mutation and safety profile is covered elsewhere. The description adds genuinely non-obvious behaviour: the separator is drawn inside this section and filled with the neighbour's colour, 'height' scales down on phones, 'flip' mirrors horizontally and 'invert' is silently ignored. It does not state merge-vs-replace semantics for the styles object (only the schema does) or any permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first sentence, which is good. But the remainder is a single undifferentiated block that repeatedly restates the restraint rule ('an accent, not a default' / 'use sparingly' / 'do not add them unless...') and stacks background, separator and treatment details without subheads, making it harder to scan than its content warrants.

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 four fully schema-described parameters, an output schema, and an annotations block covering safety and idempotency, the remaining burden on the description is the untyped properties payload — which it covers in depth. Only marginal gaps remain: no explicit statement that styles are merged rather than replaced, and no pointer to the sibling block-level tool for non-section styling.

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%, so the baseline is 3, but here the description carries real weight because 'properties' is an untyped additionalProperties bag with no key documentation in the schema. The description supplies the accepted key vocabulary for styles, the full separators sub-structure including the twelve shape types, the background type discriminator with its companion fields, and the shape/photo treatment keys. It still ends in 'etc.', so the property bag is not exhaustively specified.

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 section-level styles', then enumerates the exact properties affected (background, padding, gap, alignItems, justifyContent, textAlign, maxWidth) and adds a whole sub-capability ('separators'). An agent knows precisely what is being mutated. It never names or distinguishes itself from siblings like update_site_block or add_site_section_preset, so 4 rather than 5.

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?

Strong conditional guidance for the separators feature: only where adjacent sections have clearly different background colours, at most a few per page, one or two shape types site-wide, skip against image/video/gradient backgrounds, prefer a bottom separator on the section above, and do not add them unless the user asked or the design clearly calls for it. It even prescribes a prerequisite read step ('read them with get_site_section first'). What it lacks is any guidance on when to choose this tool over update_site_block or add_site_section_preset for general styling work.

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