Skip to main content
Glama

Edit a post's words (draft or direct)

edit_post

Change a post's WORDS (not its photos, time or label — those are the app's) on a channel the person runs or edits — e.g. a typo, a new time in the text. Only when they ask. Like create_post: a card "Save" in their Stream by default; done directly only with "May publish directly" for your app AND a channel no one under 18 can see. The words are moderated again; the post gets the AI label (edited) unless it has one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo"publish" (default) edits now when allowed, else a card; "draft" always a card.
textYesThe post's new words (≤ 1000 characters).
postIdYesFrom list_posts. Example: "Ab12Cd34Ef56Gh78"

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
whyYes
noteYes
itemIdYes
postIdYes
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that words are re-moderated, that the post receives an AI '(edited)' label unless already labeled, and the exact conditions required for direct publishing. Annotations only flag non-read-only/non-destructive; the description adds substantive operational context.

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?

Information-dense and front-loaded, with the core action and scope stated first. Sentences are somewhat run-on, but nearly every clause conveys actionable detail.

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?

With an output schema present, return values need not be explained. The description covers authorization, moderation, labeling side-effects, and mode behavior, leaving no significant gap for an agent to call it correctly.

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%, so parameters are already fully documented. The description's mode-related language largely restates the schema's own mode description rather than adding syntax or format detail, so the baseline 3 is appropriate.

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 (change a post's words) and immediately delineates scope by excluding photos, time, and label as the app's domain. It is easily distinguishable from siblings like upload_media or 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?

Gives clear conditional guidance: 'Only when they ask,' and explains the default card-Save path versus direct publishing with an explicit prerequisite gate. It references create_post as a behavioral twin but doesn't contrast against adjacent siblings like schedule_post for future-dated changes.

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.