Skip to main content
Glama

Update scheduled pin

update_schedule
DestructiveIdempotent

Edit a pending schedule in place: time, board, text or media.

    Use to fix a wrong run_at, board, title, link, alt text or AI labels on a schedule
    that has not started publishing, instead of cancel_schedule plus
    create_schedule; the id and history are kept. Once the schedule has
    run its pin is published and can no longer be edited; for a failed one
    use retry_schedule. Pass at least one field.

    Returns the updated schedule, still in status "scheduled". A new board
    is preflighted like create_schedule. Fails with not_found for an
    unknown id, schedule_not_editable (409) once publishing started, with a
    remediation naming the right tool, validation_error for a past or
    timezone-less run_at, and sandbox_board_fixed when changing the board
    of a sandbox schedule.
    

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": {
      "schedule_id": "<schedule_id>"
    },
    "name": "update_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoPin title, at most 100 characters.
run_atNoNew publish time, ISO 8601 with timezone, in the future.
alt_textNoNew accessibility text, <= 500 characters.
asset_idNoReplace the media with this uploaded asset (drops any image_url).
board_idNoPinterest board ID (numeric string), from list_boards.
link_urlNoDestination URL opened when the pin is clicked.
image_urlNoReplace the media with this public URL (drops any asset_id).
descriptionNoPin description, at most 800 characters.
schedule_idYesUUID of the schedule, from list_schedules or create_schedule.
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. Replaces the current labels; [] removes them.
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. Replaces the current labels; [] removes them.",
      +  "title": "Ai Disclosures"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / alt_text
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "New accessibility text, <= 500 characters.",
      +  "title": "Alt Text"
      +}
  3. Added

TDQS

A5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing id/history preservation, that the board is preflighted like create_schedule, the returned status ('scheduled'), and a concrete error contract: not_found, schedule_not_editable (409) with a remediation naming the right tool, validation_error on past or timezone-less run_at, and sandbox_board_fixed. The destructiveHint=true annotation is consistent with the disclosed field-overwrite behavior (asset_id drops image_url, ai_disclosures replaces labels).

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?

Three short paragraphs, each front-loaded with its topic (what it edits, when to use it, what it returns and how it fails). Dense with information and free of filler despite covering a lot of ground.

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 12-parameter mutation tool with no output schema, the description supplies everything an agent needs: editable field set, precondition (pending status), the at-least-one-field requirement, return status, and the full failure-mode taxonomy. Nothing material is left to inference.

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 is 3, but the description adds meaning the schema does not carry: the cross-field rule that at least one field must be supplied, that board changes trigger a preflight, and that run_at must be future-dated with a timezone.

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?

Opening line states a specific verb and resource ('Edit a pending schedule in place') and immediately enumerates the editable fields (time, board, text, media). It is clearly distinguishable from cancel_schedule, create_schedule and retry_schedule, which are named.

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?

Explicitly says to use this instead of cancel_schedule plus create_schedule for a not-yet-publishing schedule, and routes to retry_schedule for a failed one. It also gives the hard stop condition ('once the schedule has run its pin is published and can no longer be edited') and a minimum-invocation rule ('Pass at least one field').

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