Skip to main content
Glama

update_post

Update a post by ID, modifying only specified fields. Set status to publish or draft; empty HTML keeps body unchanged. Returns the updated post summary.

Instructions

Update an existing post by id; only the fields you pass are changed.

Pass status="published" to publish a draft, or status="draft" to unpublish. An empty html is treated as "leave the body unchanged" (same as create), so it never blanks a post. Returns the updated post summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNo
tagsNo
titleNo
statusNo
excerptNo
post_idYes
meta_titleNo
feature_imageNo
meta_descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description discloses key behaviors: partial update, status effects, and html never blanks. It could mention idempotency or reversibility but adequately covers essential mutation behaviors.

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?

Three concise sentences, front-loaded with the main purpose, no filler. Efficient and clear.

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

Completeness3/5

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

Given 9 parameters and an output schema, the description partially covers update semantics but lacks detail on most parameters. The principle 'only fields you pass are changed' provides general context, but specifics are missing.

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%, so description must compensate. Only status and html are explained; the other 7 parameters (title, tags, excerpt, etc.) have no semantic description, leaving a significant gap.

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?

The description clearly states 'Update an existing post by id' with a specific verb and resource, distinguishing it from sibling tools like create_post, publish_post, delete_post.

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?

Provides guidance on when to use, especially for publishing/unpublishing via status and how html is handled. However, it does not explicitly mention when not to use or alternatives like publish_post.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stemcreations/ghost-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server