Skip to main content
Glama

Tailwind App

preview_update_posts

Read-onlyIdempotent

Use this when the user wants many existing Pinterest Pins edited at once, each with its own new values: for example, correcting one wrong word or link across a queue of scheduled Pins whose descriptions otherwise differ. This is the first of the two calls a bulk edit takes, and it changes nothing. It takes up to 50 entries, each naming a postId (from list_posts or get_post) and the fields to change on that Pin, with the same fields and rules as update_post. It returns, for every entry in order, the Pin's current values and the values it would have after the edit (will_update), or the reason the edit would be refused (failed), plus a previewToken when every entry would update. update_posts saves the batch only with that previewToken and the identical posts, within 30 minutes; a batch with refused or unchecked entries gets no token until those entries are removed or fixed and the batch is previewed again. This tool does not search or match text: a find-and-replace is the caller reading the Pins, computing each Pin's new value, and sending those values here. Tailwind keeps no history of Pin copy, so the preview is where the user sees the before-and-after for each Pin before anything is overwritten. 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>"
    },
    "name": "preview_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

Output Schema

NameRequiredDescriptionDefault
resultsYesOne result per entry, in request order
summaryYes
expiresAtNoWhen previewToken stops being accepted (ISO 8601)
previewTokenNoPassed to update_posts with the same posts to save this batch. Absent when any entry is failed or not_attempted; the batch then needs fixing and a new preview.

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 / previous / properties / aiDisclosure
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / results / items / properties / proposed / properties / aiDisclosure
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, but the description goes well beyond them: it discloses the 30-minute token validity, that a batch with refused or unchecked entries receives no token until fixed and re-previewed, that no copy history is kept so the preview is the only before/after view, and the per-entry will_update/failed return semantics. These are exactly the mutation-adjacent behaviors an agent needs before acting on a write path.

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?

It is front-loaded with the trigger condition and the 'changes nothing' framing, and every subsequent sentence carries real information (token lifecycle, no search behavior, account ambiguity). It runs long and some clauses — notably the repeated restatement of the token gating — could be tightened, but there is no filler.

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?

Despite an output schema existing, the description still explains the return shape per entry (current values, will_update, failed reason, previewToken) and the hand-off contract to update_posts. Combined with the account-selection prerequisite, an agent has everything needed to call this correctly on a two-parameter tool.

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 100% and the nested schema already documents postId, each editable field, maxItems 50, and the once-per-postId rule, so the description largely restates it. The one genuine addition is that the post entries carry 'the same fields and rules as update_post,' which cross-references a sibling's validation ruleset. That is useful but thin against an already exhaustive schema, so the baseline 3 applies.

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 opening sentence states a specific verb and resource — editing many existing Pinterest Pins at once, each with its own values — and immediately positions it as 'the first of the two calls a bulk edit takes, and it changes nothing,' which cleanly separates it from update_posts. An agent can distinguish preview from commit without opening anything else.

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 an explicit trigger ('when the user wants many existing Pins edited at once'), an explicit non-use case ('This tool does not search or match text: a find-and-replace is the caller reading the Pins, computing each Pin's new value'), the follow-up dependency (update_posts requires the previewToken), and even a pre-call disambiguation rule for the account parameter. Nothing is left to inference.

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