Skip to main content
Glama

Update settings

swebsy_update_settings

Update site settings — SEO title/description, site URL, structured data (JSON-LD), per-page SEO overrides, language/direction, theme tokens (light + dark), type scale, animation defaults, Google and uploaded fonts, dark mode toggle, site-wide custom CSS for component-level restyling (globalTheme.customTailwindConfig), favicon, robots.txt/sitemap/service worker/security headers/image optimization (performance), analytics ids, custom head/body code (advanced), the "Made with Swebsy" badge (branding) and the deploy target (deploy). Provide ONLY the fields that change. general/seo are SITE-WIDE; use page to change ONE page. Also used to match the theme to a reference IMAGE's vibe: sample its palette into brand/surface tokens and ALWAYS set BOTH light and dark variants.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seoNoSITE-WIDE SEO. `siteUrl` is what makes robots.txt/sitemap.xml and canonical/og:url real — without it they ship the `https://yoursite.com` placeholder and the site is not indexable.
pageNoSEO for the CURRENTLY SELECTED PAGE ONLY — the per-page overrides otherwise reachable just from the Pages panel. Use this whenever you mean one page: `general.title`/`general.description` are SITE-WIDE and setting them to fix one page silently rewrites the meta description of every other page. Each field overrides its site-wide counterpart for this page; omit a field to keep inheriting. Pass `null` as the whole object to clear every override.
fontsNoFonts to add/replace. Each array you pass replaces what was there, so send the full desired list; an omitted array is kept.
deployNoDeploy target configuration. API tokens are never settable here: the user pastes them in Settings → Deployment. Send only the keys that change.
faviconNoSet the favicon from one square image. Upload it with `upload_asset` first (PNG or SVG, at least 512x512), then pass its asset id. Every size (16px up to 512px, Apple touch, Android, MS tile) is generated from it.
generalNo
summaryYes1 sentence explaining the settings change.
advancedNoRAW site code, the last resort. Use globalTheme.customTailwindConfig for CSS and seo.jsonLd for structured data. Each field REPLACES the previous value, so read the current settings and send the full code. It runs on every visitor's page, and the Studio flags every agent change to it.
brandingNoThe "Made with Swebsy" badge. Turning it off only takes effect on plans that include badge removal; free plans keep the badge on export regardless.
analyticsNoAnalytics ids — the snippet is generated from the id. Empty string removes one.
globalThemeNoTheme overrides. Shallow diff — only include keys that change.
performanceNoCrawling files, service worker, security headers and export-time image optimization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare a non-readOnly, non-destructive, closed-world mutation, and the description's 'provide ONLY the fields that change' plus 'ALWAYS set BOTH light and dark variants' add genuine partial-update and domain context that the annotations don't carry. It is silent, though, on the fields that are whole-value replacements (customTailwindConfig, customRobotsTxt, advanced.* code, the font arrays) and on the Studio flagging of raw-code changes — the schema carries that burden instead. No contradiction with the non-destructive hint.

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?

Front-loaded with the verb, and the enumeration does function as an index for a very large 12-parameter schema. But it is a single ~90-word run-on whose itemisation duplicates schema keys, and the placement of the image-vibe workflow after the list buries it. Adequately sized, weakly structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a broad mutation tool with no output schema, the description covers scope, partial-update intent and the site-wide vs per-page split. It omits what happens after the change (whether a publish/deploy step is required), any permission or plan caveats, and any undo/reversibility note. Adequate but with clear gaps.

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 92% across 12 nested params, so the schema already does nearly all parameter explanation (replace semantics, id formats, token rules). The description only restates the parameter groupings and their parenthetical key names, adding no syntax or format detail beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ('Update site settings') and then enumerates the exact surfaces it governs (SEO, fonts, deploy, favicon, analytics, globalTheme, performance, advanced code), so an agent knows this is the site-configuration catch-all. It also draws the key in-tool boundary between site-wide (`general`/`seo`) and per-page (`page`). It never distinguishes itself from the sibling `swebsy_update_page`, so an agent must infer that boundary itself.

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?

Gives real invocation directives: 'Provide ONLY the fields that change' and 'use `page` to change ONE page', plus a specific situation for the tool ('match the theme to a reference IMAGE's vibe'). However it names no sibling alternative (e.g. `swebsy_update_page` for page content, `swebsy_rename_site` for renames), so when-to-use-this-tool-vs-another is left 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