Skip to main content
Glama

Edit a post's words (draft or direct)

edit_post

Change a post's words on a channel they run. Only when they ask. A card they tap unless this app may publish there. Delete and comments: more_tools.

Input 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"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "itemId": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "postId": {
      -      "type": "string"
      -    },
      -    "status": {
      -      "enum": [
      -        "done",
      -        "draft",
      -        "draft_exists",
      -        "duplicates",
      -        "refused"
      -      ],
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": "string"
      -    },
      -    "why": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "status",
      -    "postId",
      -    "why",
      -    "itemId",
      -    "url",
      -    "note"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare it is a non-destructive write; the description adds the genuinely non-obvious behavior that an edit becomes a tap-to-confirm card unless the app holds publish rights. That is real context an agent cannot infer from the structured fields, though it omits what happens to the original text or whether the card expires.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the core action, but the telegraphic fragments ("A card they tap unless this app may publish there") read as clipped shorthand that costs clarity. Compression here trades away readability rather than trimming waste.

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 three-parameter tool with full schema documentation and no output schema, the description covers the action, the approval flow, and sibling routing. Only minor gaps remain, such as what a successful edit returns or how drafts surface afterward.

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 the schema itself documents mode, text, and postId including the draft-vs-publish distinction, so the description adds no parameter meaning beyond it. The baseline of 3 applies.

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?

"Change a post's words" gives a specific verb+resource, and "on a channel they run" adds a scope constraint that narrows it meaningfully. It does not explicitly name create_post as the contrasting sibling, but the edit-versus-create distinction is unambiguous from the wording.

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 when they ask" is an explicit usage precondition, and "Delete and comments: more_tools" routes the agent away from this tool for adjacent operations. It stops short of a full when/when-not treatment (e.g., editing a draft vs a published post), but the key selection signals are present.

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.