Skip to main content
Glama

Request to edit a post

request_update_post
Destructive

Ask the user to approve changes to an existing post (published, scheduled, draft or pending review). Send the full new content. For posts that aren't live yet you can also change which connected social media accounts it is shared to (social_platforms; see list_social_accounts; [] = Google only, omit = keep the current choice). Live posts can't change their social sharing. Returns an approval link; GBPly's post policy check still applies.

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>",
      "content": "<content>"
    },
    "name": "request_update_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes
cta_urlNoRequired for every button type except CALL.
post_idYes
previewNotrue = dry run: nothing is created, run, charged or sent to Google. Returns what would change, the credit cost and whether it would run straight away under Always allow. Use when the user wants to check first.
cta_typeNo
image_urlNoPublic JPEG/PNG under 5MB.
post_typeNoDefault STANDARD.
coupon_codeNo
event_titleNo
event_end_dateNo
event_end_timeNo
event_start_dateNoYYYY-MM-DD
event_start_timeNoHH:mm
social_platformsNoSocial networks to also share this post to once Google accepts it. Use list_social_accounts first: only networks connected to this business can be chosen. Costs 1 credit per network each time a post is shared (Google itself is free). Instagram, TikTok and Pinterest need an image. Omit or [] = Google only.
terms_conditionsNo
redeem_online_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / preview
      Added value: +{
      +  "description": "true = dry run: nothing is created, run, charged or sent to Google. Returns what would change, the credit cost and whether it would run straight away under Always allow. Use when the user wants to check first.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / social_platforms
      Added value: +{
      +  "description": "Social networks to also share this post to once Google accepts it. Use list_social_accounts first: only networks connected to this business can be chosen. Costs 1 credit per network each time a post is shared (Google itself is free). Instagram, TikTok and Pinterest need an image. Omit or [] = Google only.",
      +  "items": {
      +    "enum": [
      +      "facebook",
      +      "instagram",
      +      "linkedin",
      +      "threads",
      +      "tiktok",
      +      "bluesky",
      +      "pinterest"
      +    ],
      +    "type": "string"
      +  },
      +  "maxItems": 7,
      +  "type": "array"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive=true, openWorldHint=true and non-idempotent, so the safety profile is covered. The description adds genuinely new behavior: the operation is approval-gated, returns an approval link, still passes GBPly's post policy check, and content is fully replaced rather than merged. It does not explain whether existing fields not resent are cleared.

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?

Five tight sentences, front-loaded with the core action and ending with behavioral caveats. Slight redundancy: the schema already documents the "[] = Google only / omit" behavior, so repeating it costs space that could have gone to the undocumented event and coupon fields.

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 16-parameter mutation with 44% schema coverage and a preview dry-run mode, the description covers the workflow and approval outcome but leaves most parameter interplay (post_type with event/offer fields, cta_url requirements) undocumented. It does state the return value (an approval link), which partly compensates for the absent output schema.

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 only 44% across 16 parameters, so the description must carry weight. It usefully clarifies social_platforms semantics (omit = keep current vs [] = Google only) and that live posts can't be re-shared, but the twelve other parameters - cta_type, coupon_code, event_*, terms_conditions, post_id - get no explanation in either place.

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?

Specific verb and resource ("Ask the user to approve changes to an existing post") with the eligible post states (published, scheduled, draft, pending review) spelled out. It is clearly distinct from request_create_post and request_delete_post, and it clarifies that the tool produces an approval request rather than an immediate write.

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 a real prerequisite ("Send the full new content" - replacement, not a patch) and routes the agent to list_social_accounts before choosing social_platforms. It also states the when-not condition: live posts can't change social sharing. It stops short of naming sibling update alternatives, but the usage context is unambiguous.

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