Skip to main content
Glama

Tailwind App

create_posts

Use this when the user wants many Pinterest Pins created at once, such as importing a spreadsheet or a list of Pins: up to 175 Pins in one call, each with its own image, title, description, link, Board and schedule. Each entry takes the same fields as create_post except intervalBoards and carouselItems, which a batch refuses per entry; those Pins go through create_post one at a time. A draft entry (no sendAt and no useNextOpenSlot) may leave out the image if it has a title, description or url: it is saved with Tailwind's placeholder image, and the user adds the real image later with Change media in Tailwind's Pin Scheduler, since these tools cannot change a Pin's image. The call returns a batchId straight away and the Pins are created in the background, one at a time in the order given; get_post_batch reports each entry as created, failed or pending. A batch the account cannot pay for is refused whole, with nothing created. Each scheduled entry is charged as create_post would charge it, and drafts are free. A batch with any scheduled entry needs the previewToken from a preview_create_posts call for exactly these accountId, posts and retryOfBatchId, made within the last 30 minutes after the user saw its cost and agreed; without it nothing is created. A batch of drafts only needs no preview. Submitting the identical batch again within 7 days returns the original batch rather than creating its Pins twice. To retry the entries that failed, put only those entries in a new create_posts call with retryOfBatchId set to the batch they failed in. For a larger import, split it into batches of up to 175. 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": "create_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
postsYesOne entry per Pin, each with create_post's fields except intervalBoards and carouselItems. Results come back in this order.
accountIdYesNumeric Tailwind account ID returned by list_accounts
previewTokenNopreviewToken from preview_create_posts for exactly these accountId, posts and retryOfBatchId, within 30 minutes. Required when any entry is scheduled.
retryOfBatchIdNoWhen resending entries that failed, the batchId they failed in. Without it, resending the exact entries of a batch returns that batch instead of trying them again.

Output Schema

NameRequiredDescriptionDefault
batchYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / posts / items / properties / minSendAt
      Added value: +{
      +  "description": "Earliest time (ISO 8601 with offset, e.g. 2027-01-01T00:00:00-05:00) the next open slot may be. Use with useNextOpenSlot when the user says nothing should publish before a date: the Pin takes the first open smart schedule slot on or after it, still honoring Pin Spacing, and earlier open slots stay free. Never pass a slot time you read from get_schedule here or in sendAt. Only valid with useNextOpenSlot; a time in the past is ignored.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / previewToken
      Added value: +{
      +  "description": "previewToken from preview_create_posts for exactly these accountId, posts and retryOfBatchId, within 30 minutes. Required when any entry is scheduled.",
      +  "type": "string"
      +}
  3. Changed1 schema field 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; omit it for a Pin that is not. In create_posts it is set per entry. update_post can change it later.",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that creation is asynchronous (batchId returned immediately, processed one at a time in order), charge semantics (scheduled entries cost like create_post, drafts free, unpaid batches refused whole), the 30-minute previewToken requirement, and 7-day duplicate-batch dedup. The minor tension between the 7-day dedup and idempotentHint=false is a nuance of retry semantics rather than a real contradiction, so it is not flagged.

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?

The content is front-loaded with purpose and limits before edge cases, and nearly every sentence carries operational value. It is a single dense paragraph with a small redundancy about the 175-pin cap (stated twice) and would read better with separation between flow, cost, and retry rules.

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?

For a complex bulk mutation with billing, preview gating, async status, and dedup, the description covers everything an agent needs to call it correctly, and the presence of an output schema means return-shape detail is not required.

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 already 100%, so the baseline is 3; the description adds genuine meaning on top by clarifying that entries mirror create_post except intervalBoards/carouselItems, that drafts may omit an image and get a Tailwind placeholder, and how retryOfBatchId changes resubmission behavior.

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 gives a specific verb and resource (create Pinterest Pins), a scope (bulk, up to 175 per call), and typical use cases (spreadsheet import, list of Pins). It also distinguishes itself from the sibling create_post by naming the single-Pin path for entries using intervalBoards or carouselItems.

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?

Explicit routing rules are given: use create_post one at a time for intervalBoards/carouselItems entries, use get_post_batch to track progress, use retryOfBatchId to retry only failed entries, and split imports larger than 175. It also states a prerequisite user interaction (ask which account when list_accounts returns multiple) and the previewToken gate.

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