Skip to main content
Glama

update_seo_settings

Destructive

Patch existing platform SEO settings; omitted keys remain unchanged.

Read get_seo_settings first and send only changed editable_fields. Use this for requested or necessary site SEO/schema updates instead of duplicating Grigora's Person/Organization/LocalBusiness/WebSite JSON-LD in source.

Args: project_id: Current project's ID. settings: Object keyed by data.editable_fields from get_seo_settings. Identity: local_seo_enabled, local_seo_type (person/organization), local_seo_person_org_name, local_seo_website_name, local_seo_website_alternate_name, local_seo_url, local_seo_email, local_seo_logo. Address: local_seo_address_street/locality/region/ postal_code/country/format (each with the local_seo_address_ prefix), local_seo_geo_coordinates. Business: local_seo_business_type, local_seo_price_range, local_seo_opening_hours_format, local_seo_opening_hours ([{day,open,close}], HH:mm), local_seo_phone_numbers ([{type,number}]), local_seo_phone. Global: sitemap_frequency, sitemap_priority (0..1), robots_txt, bing_indexnow_api. Classic projects expose their own editable fields. Empty strings clear text; false disables a toggle; [] clears a list. Arrays replace the whole list. Never send raw JSON-LD or null. ai_mutation_version: Version from get_seo_settings, required when requires_version is true. On version conflict, reread and reconcile. idempotency_key: Unique key for this change, required when requires_version is true. Reuse the same key, settings and version after a timeout or retryable failure. Use a new key for a changed/reconciled request.

Returns saved settings and publish_required. Saving does not publish the site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
settingsYes
project_idYes
idempotency_keyNo
ai_mutation_versionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by disclosing exactly what gets destroyed/cleared (empty strings clear text, false disables toggles, [] clears lists, arrays replace whole lists) and by documenting version-conflict reconciliation and idempotency-key reuse rules. It also clarifies that saving does not publish the site, an important side-effect boundary.

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 purpose and sectioned Args make it easy to scan, and the long field enumeration is justified by the empty schema. It is on the dense side, but nearly every line earns its place; only minor tightening is possible.

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

Completeness5/5

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

For a complex mutation tool with a nested, undocumented settings object, the description covers the read-then-write workflow, field semantics, versioning/idempotency, clearing rules, and the fact that saving does not publish. Return values are covered by the output schema, so no gap remains.

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

Parameters5/5

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

With 0% schema description coverage and a free-form nested settings object (additionalProperties: true), the description carries the full burden and delivers: it enumerates every editable field by group, gives value formats (HH:mm, 0..1), and explains ai_mutation_version/idempotency_key conditional requirements. This is exceptional compensation for an opaque schema.

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?

States a specific verb (Patch) and resource (existing platform SEO settings) plus a key semantic ('omitted keys remain unchanged'). It also names the sibling get_seo_settings, so an agent can immediately distinguish read vs. write in the SEO pair.

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

Usage Guidelines5/5

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

Explicit workflow: read get_seo_settings first, send only changed editable_fields, and use this instead of duplicating JSON-LD in source. This is a clear when-to-use with a named alternative and a stated anti-pattern, leaving nothing 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