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.

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. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/idempotent annotations: it discloses that nothing is mutated, the per-entry success/failure return shape (will_update vs failed), that a previewToken is issued only when every entry would update, that update_posts requires that token plus identical posts within 30 minutes, and that a refused or unchecked entry blocks the token until fixed. It also explains why the preview matters — Tailwind keeps no copy history, so this is the user's only before-and-after view.

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-loads the trigger and the 'changes nothing' fact, then moves through return shape, token lifecycle, and caveats. Nearly every sentence carries behavioral information, though the token-expiry and no-history sentences are dense and could be tightened into a shorter paragraph without losing meaning.

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?

An output schema exists, yet the description still summarizes the per-entry return contract (current values, will_update, failed reason, previewToken) and the follow-up call's constraints, so an agent can plan the two-step bulk edit without inspecting sibling schemas. Nothing needed to call it correctly is missing.

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

Parameters5/5

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

Schema coverage is already 100%, so the baseline would be 3; the description adds real value on top by stating the 50-entry cap, that postId must come from list_posts or get_post, that each postId may appear only once, and — most usefully — that the per-Pin fields follow 'the same fields and rules as update_post,' which lets the agent reuse that tool's semantics.

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 — previewing edits to many existing Pinterest Pins at once — and explicitly frames itself as 'the first of the two calls a bulk edit takes, and it changes nothing.' That framing cleanly separates it from update_post (single Pin) and update_posts (the commit step).

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 the triggering condition ('user wants many existing Pins edited at once, each with its own new values'), the concrete scenario (correcting one wrong word across a queue of scheduled Pins), and an explicit non-use case ('This tool does not search or match text'), redirecting the agent to compute values itself. It also prescribes the update_posts follow-up and an account-disambiguation step before calling.

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