Skip to main content
Glama

Replace a submission

update_post
DestructiveIdempotent

Replace a submission wholesale. This is not a patch: send the WHOLE submission every time, exactly as create_post takes it.

The server reconciles the difference — a channel you leave out is removed and its schedule cancelled, a new one is created and scheduled. So dropping a channel from the body is how you remove it, and forgetting one is how you delete it by accident. Read the submission with get_post first and send it back changed.

tagIds is replaced the same way: omit it and the submission comes out with no tags. Send back the ids get_post gave you unless the user asked to change them.

Only channels the edit ADDS count against the plan’s allowance; re-saving the ones already there is free, so fixing a typo never costs anything.

This is also how you retry a submission whose channels did not all schedule: sending it again reschedules the failed ones and leaves the others where they are.

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": {
      "id": "<id>",
      "post": "<post>"
    },
    "name": "update_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe submission id.
postYes
idempotencyKeyNoA key of your choosing that makes this call safe to retry: retrying with the SAME key replays the first outcome instead of doing the work twice. Reuse it verbatim on a retry, and never reuse it for a different request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds non-obvious behavior the annotations cannot convey: omitting a channel deletes it and cancels its schedule, omitting `tagIds` strips all tags, and only newly added channels count against the plan's allowance. The retry-reschedules-failed-channels behavior is also disclosed. It does not mention the `idempotencyKey` parameter or the asynchronous nature of `intent: now` (left to the schema), which keeps it just short of a 5.

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?

Five short paragraphs, front-loaded with the single most dangerous fact (whole-body replacement), each subsequent paragraph covering one distinct consequence: reconciliation, tag replacement, billing, retry. No filler and no repetition of schema content.

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 destructive, deeply nested replacement call with no output schema, the description covers the failure modes an agent most needs to avoid. It leaves the async `now` intent and the platform-capability lookups to the schema, which documents them thoroughly, so the split is reasonable.

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 67% and the nested schema is already unusually verbose, so the baseline is near 3; the description earns above that by explaining the replacement semantics of `channels` and `tagIds` in operational terms (omit a channel to remove it, send back the ids `get_post` gave you). It adds meaning rather than repeating field types, though it says nothing about `scheduledAt` or `idempotencyKey` beyond what the schema states.

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 opens with a specific verb and resource ("Replace a submission wholesale") and immediately distinguishes the operation from a patch and from `create_post` ("exactly as `create_post` takes it"). An agent knows precisely which of the sibling tools this is and what shape of payload it demands without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit workflow instructions: read with `get_post` first and send it back changed, and use this same call to retry a submission whose channels did not all schedule. It also states the exclusion ("This is not a patch") and the consequence of getting it wrong, which is stronger than most when-to-use guidance.

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