Skip to main content
Glama

update_post

Destructive

Modify an existing post, page, or product by ID, changing only the fields you pass. Use it to correct titles, content, status, categories, tags, or featured images without overwriting other data.

Instructions

Update an existing post/page/product by ID. Only the fields you pass are changed. Same field set as create_post.

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": {
      "id": "<id>"
    },
    "name": "update_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
metaNo
slugNo
tagsNo
titleNo
parentNo
statusNo
contentNo
excerptNo
templateNo
categoriesNo
taxonomiesNo
featured_imageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A3.6/5.0
Behavior3/5

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

The only annotation is destructiveHint=true, and the description partially offsets it by explaining that omitted fields are preserved, which is valuable and non-obvious. It does not explain the risk the destructive hint is warning about (content overwrite, status transitions to published), nor how the target type (post/page/product) is resolved from a bare integer ID, nor any capability/authentication requirement. Adding a pointer to create_post for the field set is the main value beyond annotations.

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?

Three short sentences, front-loaded with the verb and resource, with the partial-update rule immediately after. No filler, though the create_post cross-reference could have been spent on one or two field-level clarifications instead.

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

Completeness2/5

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

For a 13-parameter mutation tool with zero schema descriptions, no output schema, and only a single destructive hint, the description is thin: it omits return shape, permission requirements, status/publishing side effects, and type resolution. What it does cover (partial update semantics, field-set parity with create_post) is accurate but not sufficient for confident invocation.

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

Parameters2/5

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

Schema description coverage is 0% across 13 parameters, and the description only names `id` indirectly and defers the rest to create_post. Nothing explains meta, taxonomies, parent, template, slug, or the accepted values for status, which is a real gap for a tool with nested objects and no enums. The deferral to create_post is a partial mitigation but requires the agent to make a second lookup.

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 and resource ("Update an existing post/page/product by ID") and enumerates the resource types it covers, which cleanly separates it from create_post, delete_post, and get_post among the siblings. An agent can identify the operation without opening the schema.

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?

"Only the fields you pass are changed" gives clear partial-update context and "Same field set as create_post" routes the agent to the sibling whose documentation covers the writable fields. There is no explicit when-not guidance (e.g., use create_post for new records, or when to prefer a type-specific tool), so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.