Skip to main content
Glama

Edit a post's caption

edit_post
DestructiveIdempotent

Change a draft or waiting post's caption, hashtags or music switch. Changes the owner's account.

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": {
      "content_id": "<content_id>"
    },
    "name": "edit_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
musicNo
captionNo
brand_idNoOptional business id from list_brands (default: this connection's business).
hashtagsNo
content_idYesThe content id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the mutation/safety profile is known. The description adds real context by disclosing that only draft or pending posts are editable, but it omits behavior on rejection (does editing a scheduled post error?), permission requirements, and what "Changes the owner's account" actually means.

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?

Two short sentences with the actionable scope stated first — no filler. The second sentence earns its place poorly, since "Changes the owner's account" is cryptic and could be dropped or rewritten for a clearer claim.

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?

For a 5-parameter destructive mutation with no output schema and 40% schema coverage, the description should say more about preconditions, failure modes, and which fields are optional. The stated draft/pending scope plus the annotation set covers the essentials, but non-trivial gaps remain for an agent deciding whether a call will succeed.

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 only 40%, and the schema itself silently marks music, caption and hashtags as nullable, so the description must clarify that this is a partial patch. It lists the three patchable fields by name, matching the schema, but adds nothing about the music boolean's meaning, the 2200-char caption limit, or content_id vs. brand_id roles.

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 names a concrete verb ("Change") and concrete resources (caption, hashtags, music switch) and narrows scope to draft or waiting posts, which separates it from siblings like create_post or write_library_caption. The trailing sentence "Changes the owner's account" is vague and muddies rather than sharpens the purpose.

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?

The phrase "a draft or waiting post's" implies a state precondition for use, which is genuinely useful routing information. However, it never states what to do instead for published/scheduled posts, nor names an alternative such as publish_post or approve_post, leaving the agent to infer the boundary.

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.

Resources