Skip to main content
Glama

Edit content

update_content
Destructive

Changes text or SEO fields on one product, article, page or category. Send only the fields to change. Products: title, subtitle, link_title, summary, highlights, content, content_bottom, meta_title, meta_description, meta_keywords. Categories: the same text fields with content_top and content_bottom. Articles and pages: title, subtitle, link_title, content and the meta fields. Content is HTML; the site removes scripts and unsafe markup. Returns a change_id that undo_change takes.

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": {
      "site_id": "<site_id>",
      "type": "<type>",
      "id": "<id>",
      "fields": "<fields>"
    },
    "name": "update_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record id from list_content.
typeYes
fieldsYesField name to new value. Only the fields listed for this type.
site_idYesThe site id from list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the destructiveHint=true and idempotentHint=false annotations, it discloses that content is HTML and the site strips scripts/unsafe markup, and that a change_id is returned for undo_change. The reversibility note is genuinely useful for a destructive mutation. It does not state what happens to omitted fields or permission requirements, so it falls just short of full disclosure.

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

Conciseness5/5

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

Front-loaded purpose sentence, then the mutation instruction, then compact per-type field enumerations, then the HTML/sanitization and undo note. No filler, and each clause carries distinct information.

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 nested, destructive 4-parameter mutation with no output schema, the description covers scope, per-type field validity, sanitization behavior, and the returned change_id with its consumer. An agent has everything needed to invoke it correctly and safely.

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?

With 75% schema coverage the schema already documents id, type enum, and site_id. The description adds real value for the free-form `fields` object by enumerating exactly which fields are valid per record type, which the schema only alludes to with "Only the fields listed for this type."

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?

Opens with a specific verb and resource: "Changes text or SEO fields on one product, article, page or category." It enumerates the record types and the fields per type, which lets an agent distinguish it immediately from read siblings like get_content/list_content and from create_article.

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?

"Send only the fields to change" clearly signals partial-update semantics, and naming undo_change as the reversal path gives the agent an alternative when the edit is wrong. It stops short of explicit when-not-to-use guidance (e.g., for new content vs create_article), but the context is clear.

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.