Skip to main content
Glama

update_article

DestructiveIdempotent

LIVE UPDATE: update an already reviewed article and then update its connected destination. Supports webhook, hosted, and wp_rest connectors. expectedUpdatedAt is required for optimistic concurrency. This is destructive because it changes live content. CAPABILITY: publish: this can reach a LIVE AUDIENCE. A draft-scoped token gets a 403 here; a human must approve at timetopost.co instead.

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": {
      "article_id": "<article_id>",
      "expectedUpdatedAt": "<expectedUpdatedAt>"
    },
    "name": "update_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoReplacement tag list. Omit to keep the current tags.
titleNoNew article title. Omit to keep the current one.
excerptNoNew short summary shown in listings and meta description. Omit to keep the current one.
article_idYesId of the published article, from list_articles.
bodyMarkdownNoFull replacement article body in Markdown. Omit to keep the current body.
expectedUpdatedAtYesThe updatedAt value from the latest get_article result. The call is refused if the article changed since, so re-read and retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / article_id / description
      Added value: +"Id of the published article, from list_articles."
    • addedInput schema / properties / bodyMarkdown / description
      Added value: +"Full replacement article body in Markdown. Omit to keep the current body."
    • addedInput schema / properties / excerpt / description
      Added value: +"New short summary shown in listings and meta description. Omit to keep the current one."
    • addedInput schema / properties / expectedUpdatedAt / description
      Added value: +"The updatedAt value from the latest get_article result. The call is refused if the article changed since, so re-read and retry."
    • addedInput schema / properties / tags / description
      Added value: +"Replacement tag list. Omit to keep the current tags."
    • addedInput schema / properties / title / description
      Added value: +"New article title. Omit to keep the current one."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint and openWorldHint, yet the description adds material context: the update cascades to a connected destination, optimistic concurrency is enforced via expectedUpdatedAt, draft-scoped tokens are rejected with a 403, and approval happens out-of-band at timetopost.co. Those are operational facts an agent cannot derive from the annotation flags.

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-loads the live/destructive framing, then scope, then the capability and auth caveat, in four tight sentences with no filler. Minor redundancy ("This is destructive because it changes live content" echoes the annotation) is offset by the high information density of the surrounding text.

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

Completeness4/5

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

For a destructive live-content mutation it covers the important unknowns: cascade behavior, connector scope, concurrency token, and authorization failure mode. The one gap is that no output schema exists and the description never says what the call returns on success (e.g. new updatedAt), which an agent may need for a follow-up call.

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 coverage is 100% and every parameter already carries a description, so the schema does the heavy lifting. The description only reinforces that expectedUpdatedAt is required for optimistic concurrency, which the schema already conveys via "the call is refused if the article changed since, so re-read and retry" — a marginal addition, so baseline 3 applies.

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 already reviewed article") plus the non-obvious side effect ("then update its connected destination") and the connector types supported. The word "already reviewed" implicitly separates it from the draft-editing siblings, so an agent can tell live-content editing from draft editing without opening a 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?

Gives real when-not conditions: a draft-scoped token gets a 403, and a human must approve at timetopost.co for the publish capability. It does not explicitly name a sibling alternative (e.g. edit_article_draft) for the draft case, so routing is implied rather than spelled out, but the preconditions are concrete enough to guide selection.

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.