Skip to main content
Glama

Update Post

inblog_update_post
Idempotent

Update an existing blog post by changing only the fields you specify, such as title, content, SEO metadata, or published status.

Instructions

Update an existing blog post. Only specified fields are changed.

Args: post_id (string, required): The post ID to update title (string, optional): New post title slug (string, optional): New URL slug content_html (string, optional): New post body as HTML meta_title (string, optional): New SEO meta title meta_description (string, optional): New SEO meta description image (string URL, optional): New featured image URL head_start_script (string, optional): New JavaScript injected at start (e.g., hreflang script) json_ld_script (string, optional): New raw JSON-LD for BlogPosting schema (not a script tag) faq_json_ld_script (string, optional): New raw JSON-LD for FAQPage schema. Auto-wrapped in injection. published (bool, optional): Set published status (true=publish, false=unpublish)

Returns: Updated post with id, title, slug, and changed fields.

Examples: Update title: {post_id: "abc123", title: "New Title"} Update SEO: {post_id: "abc123", meta_title: "SEO Title", meta_description: "..."} Unpublish: {post_id: "abc123", published: false}

Errors: 401 (auth), 404 (not found), 422 (validation), 500 (server)

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": {
      "post_id": "<post_id>"
    },
    "name": "inblog_update_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoNew URL slug.
imageNoNew featured image URL.
titleNoNew post title.
post_idYesThe post ID to update.
publishedNoSet published status. true = publish, false = unpublish.
meta_titleNoNew SEO meta title.
content_htmlNoNew post body as HTML.
json_ld_scriptNoNew JSON-LD string for BlogPosting schema. Pass the raw JSON object string, not a script tag.
meta_descriptionNoNew SEO meta description.
head_start_scriptNoNew JavaScript injected at <head> start. Use for hreflang alternate links.
faq_json_ld_scriptNoNew JSON-LD string for FAQPage schema. Automatically wrapped in a <script type='application/ld+json'> injection and stored in head_end_script. Pass the raw JSON object string.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4/5.0
Behavior5/5

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

Annotations declare non-read-only, idempotent, open-world, and non-destructive behavior; the description adds partial-update semantics, return payload details, HTTP error codes, and the FAQ JSON-LD auto-wrapping behavior. It adds substantial operational context beyond what annotations already provide.

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?

The description front-loads purpose and uses clear Args/Returns/Examples/Errors structure. However, the full 11-parameter Args list duplicates schema descriptions that already have 100% coverage, making it somewhat verbose even though the examples and error notes are useful.

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 an 11-parameter mutation tool with no output schema, the description covers partial-update behavior, all parameters, return fields, error codes, and representative examples. The only notable omission is sibling routing to publish/delete tools, but the tool-level invocation guidance is otherwise complete.

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 description coverage is 100%, and the description largely restates the same parameter meanings with required/optional labels and examples. It does not add validation details such as the post_id pattern or slug minLength, which remain schema-only; the examples add modest invocation clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Update an existing blog post' and adds 'Only specified fields are changed,' giving a specific action and partial-update semantics. It does not explicitly contrast with sibling inblog_publish_post despite exposing a published parameter, so it is clear but not fully sibling-differentiated.

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

Usage Guidelines3/5

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

Examples for updating title, SEO fields, and unpublishing imply common usage, but the description never states when to choose this over inblog_create_post, inblog_publish_post, or inblog_delete_post. No exclusions or alternative-selection guidance is provided.

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