Skip to main content
Glama

Change content

content_change
Destructive

Change one existing item, given by type and content_id: its fields (title, categories, summary, status, dates and the fields of its type), its body blocks or their order. Use it to fix a typo, rewrite a paragraph, swap a picture, unpublish or reschedule a post. Only what you pass changes. To change a block, pass it in blocks with its block_id (read with content_get, with_blocks) and its new text, image, caption or embed. To add a block to an existing item, call content_add with its content_id and insert_at. block_order is the complete list of the item's block ids in the new order. To take an item offline, set status to draft or stock; to schedule it, status stock with publish_at. The body text of an item lives in its blocks, not in summary. Not possible: changing the audio file of a sound, a caption on a photo of an article or an event, turning an item into another type. Type page: title and blocks of a page body; page settings: myapp_change. The answer gives the item after the change; a refusal names the field to fix. A change of content is visible in the app at once, without the Publish of the back office (only design changes made with myapp_change wait for it); status draft or stock takes an item offline.

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": {
      "type": "<type>",
      "content_id": "<content_id>"
    },
    "name": "content_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate shown on the item, RFC 3339 with offset, for example 2026-11-02T10:00:00+01:00. Article, event, video and sound.
slugNoLast part of the item's web address; the server may normalise it. Not for photo.
typeYesThe content type the item was read under. page is the body of an About or Form page, given by its page id: its title, its blocks and their order.
emailNoContact email. Map place and event.
phoneNoContact phone number. Map place and event.
titleNoTitle of the item, 250 characters at most.
accessNopremium puts the item behind the paid access of the app (apps that sell access); free leaves it open. Not for photo.
authorNoAuthor name shown on the item. Article, video and sound. Default: the name of the account holder.
blocksNoBlocks of the item to change, 10 at most, each with its block_id and only the fields to change. Not for photo. To add a block to an existing item, call content_add with its content_id and insert_at.
pinnedNotrue pins the item at the top of its category. Article, video and sound.
statusNoPublication status: published, draft (unfinished, not visible) or stock (set aside, not visible, to publish later). A photo is only published or stock. To schedule: stock with publish_at.
addressNoPostal address. Map place and event.
all_dayNoEvent only: true when the event lasts the whole day.
ends_atNoEvent only: end, same format, after starts_at (the same day or later when all_day is true).
summaryNoShort summary shown with the title, plain text (read back as leadin). Article, event, map place and video.
websiteNoMap place only: web address of the place.
latitudeNoLatitude in decimal degrees. Map place and event. Never make coordinates up: ask the user when they are unknown.
pin_iconNoMap place only: its pin on the map: 1 marker (default), 2 flag, 3 star, 4 pushpin, 5 circle, or a custom image as a public URL, a data URI or base64.
event_urlNoEvent only: web address of the event's own page.
longitudeNoLongitude in decimal degrees. Map place and event.
pin_colorNoMap place only: tint of the pin, #RGB or #RRGGBB. An empty string removes the tint.
seo_titleNoTitle for search engines. Not for photo.
starts_atNoEvent only: start, RFC 3339 with offset, for example 2026-12-12T20:00:00+01:00 (read back as sortDate).
content_idYesId of the item to change, read with content_get.
publish_atNoFuture date and time at which a stock item publishes itself, RFC 3339 with offset. Only with status stock. Not for photo.
block_orderNoNew order of the blocks: every block id of the item, once each. On a video or a sound the first block (the player) stays first. Not for photo.
descriptionNoPhoto only: description or caption of the photo.
free_blocksNoArticle only, with access premium: number of blocks readable before the paywall, 0 to 5.
tickets_urlNoEvent only: web address where tickets are sold.
category_idsNoIds of the categories the item is filed in, at least one, all of its own content type (read with content_get, type section). Replaces the whole list. Not for photo.
player_embedNoVideo only: the video player, as iframe HTML or embed code from the video host, with an explicit width and height (for example 100%).
purchase_urlNoSound only: web address where the track is bought.
unpublish_atNoFuture date and time at which the item stops being shown, RFC 3339 with offset. An empty string removes it. Not for photo.
seo_descriptionNoDescription for search engines. Not for photo.
comments_enabledNoWhether app users may comment on the item. Not for photo.
thumbnail_as_pinNoMap place only: true shows the thumbnail of the place as its pin (the thumbnail is a photo block with is_thumbnail).
purchase_url_androidNoSound only: web address where the track is bought on Android.
show_summary_in_listNoArticle only: show the summary in lists. Only when free_blocks is 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / blocks / items / properties / caption / description
      Previous value: -"Photo block: caption shown under the image. Refused on an article, whose photos have no caption."New value: +"Photo block: caption shown under the image. Refused on an article or an event, whose photos have no caption."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare the safety profile (destructive, non-idempotent, open-world), and the description adds behavior beyond them: patch semantics ("Only what you pass changes"), replacement semantics for block_order and category_ids, the fact that changes appear in the app immediately without the back office Publish, and how status draft/stock takes an item offline. It also discloses the response shape ("The answer gives the item after the change; a refusal names the field to fix") without contradicting any hint.

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 with the core action and examples before edge cases, and nearly every sentence carries operational information rather than filler. The single dense paragraph is long, but the length is defensible for a 38-parameter mutation tool; splitting the routing and restriction clauses into a short list would improve scanning.

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 high-complexity destructive tool with no output schema, it covers the gaps that matter: what is mutated vs. preserved, how to locate a block_id, how to reorder, how to schedule or unpublish, what is not possible, and what the response or refusal looks like. An agent can act correctly from this description plus the schema.

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?

With 100% schema description coverage, the schema already documents all 38 parameters, so the baseline is 3. The description reinforces a few key semantics in prose — block_id sourced from content_get, block_order as the complete new order, status/publish_at interaction for scheduling — but adds little that is not already in the per-parameter descriptions.

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 ("Change one existing item, given by type and content_id") and immediately names the editable surface: fields, body blocks, block order. Concrete examples ("fix a typo, rewrite a paragraph, swap a picture, unpublish or reschedule a post") make it unmistakable against siblings like content_add or content_get.

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?

Explicitly routes to alternatives: use content_get with_blocks to obtain a block_id, content_add with insert_at to add a block, and myapp_change for page settings. It also states when-not in a dedicated impossibility list (changing a sound's audio file, a caption on an article/event photo, changing an item's type), which is exactly the exclusion guidance an agent needs before calling a destructive tool.

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.