Skip to main content
Glama

Change social post

update_social_post
DestructiveIdempotent

Change the title or text of an existing post — 'make the text shorter', 'add the opening hours'. Read the post first and pass the NEW text complete, in the user's language. With media_ids you attach images (they replace the current ones); without it images stay. Date and brand stay. Nothing is posted.

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": "update_social_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe new text, complete (up to 5000 characters).
titleNoA new working title.
post_idYesThe website's id — from list_sites.
media_idsNoThe post's images in order (ids from list_media); the first is the cover. REPLACES the current images.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses exactly what gets destroyed and what is preserved: media_ids replaces the current images, omitting it keeps them, date and brand are untouched, and nothing is published. That is precisely the destruction scope an agent needs before calling a destructive update.

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?

The mutation and the read-first precondition are front-loaded, followed by the field-preservation rules in short clauses. Every sentence carries a distinct rule; nothing is filler.

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?

With no output schema, the description still covers side effects, preservation, and image replacement thoroughly for a 4-parameter mutation. The only unaddressed point is the result of a call with neither text nor title supplied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: the text must be sent complete and in the user's language, and media_ids replacement is framed operationally. The one gap is that it never says whether at least one of text/title must be supplied, given only post_id is required.

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 names a specific verb and resource (change title/text of an existing post) and illustrates it with two concrete user phrasings, so an agent can immediately tell it apart from create_social_post, delete_social_post, and get_social_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?

It gives a clear workflow precondition ('Read the post first and pass the NEW text complete') and a scope exclusion ('Date and brand stay. Nothing is posted.'), which implicitly routes brand/date changes elsewhere. It stops short of explicitly naming the sibling tool to use for those other edits.

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