Skip to main content
Glama

Schedule pin

create_schedule

Schedule a pin to publish at a future time.

    Use when the pin should go out later or when spreading many pins out
    after rate_limited; for an immediate publish use create_pin. Provide
    either image_url or asset_id, not both. The board is preflighted now,
    not at run time. A repeat call creates a second schedule, so check
    list_schedules before resending after a timeout.

    Returns the schedule with id and status "scheduled" (track it with
    get_schedule), or with dry_run the validation result. Fails with
    validation_error for a past or timezone-less run_at, board_* codes
    for an unpublishable board, and quota_exceeded when quota is spent.
    

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": {
      "account_id": "<account_id>",
      "board_id": "<board_id>",
      "title": "<title>",
      "run_at": "<run_at>"
    },
    "name": "create_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesPin title, at most 100 characters.
run_atYesPublish time as ISO 8601 with timezone, in the future, e.g. "2026-04-01T10:00:00Z".
dry_runNotrue runs every API check (account, board, media, quota, rate headroom) and returns the resolved payload without publishing anything.
alt_textNoAccessibility text for the image, <= 500 characters.
asset_idNoUUID of an uploaded PinBridge asset, from upload_asset.
board_idYesPinterest board ID (numeric string), from list_boards.
link_urlNoDestination URL opened when the pin is clicked.
image_urlNoPublic URL of the image or video; Pinterest must be able to fetch it.
account_idYesUUID of a connected Pinterest account, from list_pinterest_accounts.
descriptionNoPin description, at most 800 characters.
ai_disclosuresNoAI labels Pinterest shows on the pin. AI_MODIFIED: the image or video was made or edited with AI. SYNTHETIC_PERFORMER: it shows a person generated by AI. Set them when the user made the media with AI or asks for the label.
cover_image_urlNoPublic cover image URL; video pins only.
cover_image_asset_idNoUploaded image asset UUID used as the video cover.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / ai_disclosures
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "enum": [
      +          "AI_MODIFIED",
      +          "SYNTHETIC_PERFORMER"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "AI labels Pinterest shows on the pin. AI_MODIFIED: the image or video was made or edited with AI. SYNTHETIC_PERFORMER: it shows a person generated by AI. Set them when the user made the media with AI or asks for the label.",
      +  "title": "Ai Disclosures"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / alt_text
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Accessibility text for the image, <= 500 characters.",
      +  "title": "Alt Text"
      +}
  3. Changed13 schema fields changed
    • addedInput schema / properties / account_id / description
      Added value: +"UUID of a connected Pinterest account, from list_pinterest_accounts."
    • addedInput schema / properties / asset_id / description
      Added value: +"UUID of an uploaded PinBridge asset, from upload_asset."
    • addedInput schema / properties / board_id / description
      Added value: +"Pinterest board ID (numeric string), from list_boards."
    • addedInput schema / properties / cover_image_asset_id / description
      Added value: +"Uploaded image asset UUID used as the video cover."
    • addedInput schema / properties / cover_image_url / description
      Added value: +"Public cover image URL; video pins only."
    • changedInput schema / properties / description / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 800,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / description / description
      Added value: +"Pin description, at most 800 characters."
    • addedInput schema / properties / dry_run / description
      Added value: +"true runs every API check (account, board, media, quota, rate headroom) and returns the resolved payload without publishing anything."
    • addedInput schema / properties / image_url / description
      Added value: +"Public URL of the image or video; Pinterest must be able to fetch it."
    • addedInput schema / properties / link_url / description
      Added value: +"Destination URL opened when the pin is clicked."
    • addedInput schema / properties / run_at / description
      Added value: +"Publish time as ISO 8601 with timezone, in the future, e.g. \"2026-04-01T10:00:00Z\"."
    • addedInput schema / properties / title / description
      Added value: +"Pin title, at most 100 characters."
    • addedInput schema / properties / title / maxLength
      Added value: +100
  4. Changed2 schema fields changed
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "title": "Dry Run",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / idempotency_key
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Idempotency Key"
      -}
  5. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: it explains why idempotentHint=false matters in practice ('a repeat call creates a second schedule, so check list_schedules before resending after a timeout'), discloses that board validation happens at creation time rather than run time, and enumerates concrete failure modes (validation_error, board_* codes, quota_exceeded). It also states the return shape (id plus status 'scheduled') and the dry_run variant, which the absent output schema would otherwise leave undocumented.

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?

Four short paragraphs, front-loaded with purpose and the sibling contrast, then constraints, then idempotency, then returns/errors. Given 13 parameters and no output schema, no sentence is redundant; each carries a distinct operational fact.

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?

This is a mutation tool with 13 parameters and no output schema, and the description covers the missing pieces: what is returned, the dry_run alternative, and the specific error codes an agent should branch on. Nothing needed to call it correctly or recover from failure is left implicit.

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 per-parameter meaning is already fully documented and the baseline would be 3. The description adds genuine cross-parameter semantics the schema cannot express — 'provide either image_url or asset_id, not both' — and restates the run_at timezone/future requirement as a failure condition, which is real added value.

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 ('Schedule a pin to publish at a future time') and explicitly contrasts with the immediate-publish sibling create_pin. An agent can distinguish this from create_pin, create_pins_batch, and update_schedule without opening a 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?

Gives explicit when-to-use conditions ('pin should go out later', spreading pins out after rate_limited) and an explicit when-not with the alternative named ('for an immediate publish use create_pin'). It also routes to list_schedules for duplicate checking and get_schedule for tracking, covering both pre-call and post-call 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