Skip to main content
Glama

Tailwind App

update_posts

DestructiveIdempotent

Use this when the user has seen and agreed to a bulk Pin edit that preview_update_posts returned, to save it. This is the second of the two calls a bulk edit takes. It takes the same accountId and posts that were previewed and the previewToken the preview returned; a batch that differs from the preview in any way, or a token older than 30 minutes, is rejected with nothing changed, and so is a call with no previewToken. Each Pin is then saved on its own, and results lists every entry in request order as updated, failed (with the reason) or not_attempted (not reached before the time limit; unchanged, and safe to send again). Each updated result's previous holds the edited fields' values from before the edit in this tool's input form; those entries, previewed and saved the same way, undo the edit. An empty title, description or url is absent from previous, since it cannot be emptied again; an empty alt text is reported as an empty string, which clears it. Editing is free and never changes when a Pin publishes. It cannot change a Pin's image or a Pin already published to Pinterest. For a single Pin, update_post is the equivalent call. If the user did not say which Pinterest account to use and list_accounts returns more than one, ask the user which account to use before calling this — do not choose for them.

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": {
      "accountId": "<accountId>",
      "posts": "<posts>",
      "previewToken": "<previewToken>"
    },
    "name": "update_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
postsYesOne entry per Pin: its postId plus at least one field to change. A postId may appear only once.
accountIdYesNumeric Tailwind account ID returned by list_accounts
previewTokenYespreviewToken from the preview_update_posts call for exactly these posts, within 30 minutes

Output Schema

NameRequiredDescriptionDefault
resultsYesOne result per entry, in request order
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / posts / items / properties / aiDisclosure
      Added value: +{
      +  "description": "true marks the Pin as AI-generated, so it publishes with Pinterest's AI disclosure; false clears the mark. Omit it to leave the Pin as it is. A Pin whose aiDisclosureLocked is true refuses it with reason ai_disclosure_locked: Tailwind's AI made that Pin, and its disclosure stays on.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / results / items / properties / current / properties / aiDisclosure
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / results / items / properties / previous / properties / aiDisclosure
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructive/idempotent/openWorld; the description adds real behavioral context beyond that: rejection with no changes when the batch differs from the preview, a 30-minute token expiry, missing-token rejection, per-Pin independent saves, and per-entry outcomes of updated/failed/not_attempted with re-send safety. It also discloses that edits are free, do not affect publish time, and cannot change a Pin's image or an already-published Pin.

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?

Front-loaded with the selection condition and the two-call framing, and every clause carries operational information. It is a long paragraph, though, with several ideas (token rules, result statuses, undo semantics, limits, account ambiguity) packed into one block; light sentence splitting or bullets would make it easier to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although an output schema exists, the description still supplies what an agent needs to act correctly: preconditions, rejection modes, idempotence of the previous-based undo, hard limits (unsupported fields, published Pins), and the account-disambiguation rule. Nothing material for correct invocation is missing.

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 does not: previewToken must correspond to exactly the previewed accountId and posts and be under 30 minutes old. It also explains what the updated results' previous field contains and how empty strings are treated for undo, which is beyond the schema's field-level notes.

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?

States a specific verb and resource: save a bulk Pin edit that preview_update_posts returned. It explicitly identifies itself as the second of a two-call flow and names both neighbors (preview_update_posts, update_post), so an agent can tell which call commits changes and which call only previews.

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?

Gives an explicit trigger (user has seen and agreed to the preview), an explicit ordering rule (second of two calls), an explicit single-Pin alternative (update_post), and an explicit precondition about ambiguous account selection that says to ask the user rather than choose. Both when-to-use and when-not-to are covered.

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