Skip to main content
Glama
Upload-Post

Upload-Post

Official

Read the Pinterest API v5

pinterest_api_read
Read-only

Read Pinterest API v5 data through a connected profile: boards, pins, analytics and trends, by passing an endpoint path and its query parameters.

Instructions

Pinterest's own API v5 read with the profile's Pinterest connection: endpoint is the path of Pinterest's reference without the leading slash (e.g. user_account/analytics, boards/{board_id}/pins, trends/keywords/US/top/growing) and query its own query parameters (checked against Pinterest's description: an unknown one answers 400 invalid_parameter). The answer is Pinterest's, in data. Reads: boards, boards/{board_id}, boards/{board_id}/pins, boards/{board_id}/sections, boards/{board_id}/sections/{section_id}/pins, pins, pins/{pin_id}, pins/{pin_id}/analytics, media, media/{media_id}, user_account, user_account/analytics, user_account/analytics/top_pins, user_account/analytics/top_video_pins, user_account/businesses, user_account/followers, user_account/following, user_account/following/boards, user_account/websites, user_account/websites/verification, users/{username}/interests/follow, trends/keywords/{region}/top/{trend_type}, trends/topics/featured, trends/editorial_articles, trends/product_categories/trending, trends/product_categories/details. Writes: POST boards (create a board), POST boards/{board_id}/sections, PATCH boards/{board_id}, PATCH boards/{board_id}/sections/{section_id}, DELETE boards/{board_id}, DELETE boards/{board_id}/sections/{section_id}. Reads are cached (analytics and trends 1 h, the rest 60 s; refresh: true skips it) and count toward a daily limit (429 pinterest_daily_limit_reached). 403 pinterest_reconnect_required: reconnect Pinterest. To publish, save or delete Pins use the upload tools, save_post and unpublish_post.

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": {
      "user": "<user>",
      "endpoint": "<endpoint>"
    },
    "name": "pinterest_api_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesUpload-Post profile name with Pinterest connected.
queryNoPinterest's query parameters, e.g. { start_date: '2026-11-01', end_date: '2026-11-24', metric_types: 'IMPRESSION,SAVE' }.
refreshNotrue: skip Upload-Post's cache.
endpointYesPinterest API v5 path without the leading slash, e.g. 'user_account/analytics'.

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.29.0

TDQS

B3.2/5.0
Behavior1/5

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

The description openly states that this tool performs writes: 'POST boards (create a board)', 'PATCH boards/{board_id}', 'DELETE boards/{board_id}' and section deletion — mutating operations that contradict readOnlyHint=true and destructiveHint=false. Only Pin writes are redirected to other tools, so an agent following the description could destroy a board via a tool annotated as a safe read.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence and the caching/rate-limit/error sentences are front-loaded and earn their place, but the middle is a long comma-separated path inventory that is hard to scan and, worse, spends roughly a quarter of its length enumerating write endpoints that conflict with the tool's stated read-only purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Caching windows, daily-limit and 429 semantics, the 403 pinterest_reconnect_required remedy, and the 'data' envelope are all covered, and an output schema exists so return shapes need not be explained. What is missing is the crucial read/write boundary: the description never tells the agent whether the listed board mutations are actually permitted through this tool or belong to manage_pinterest_boards.

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 the baseline is 3, but the description adds real meaning: the endpoint must be a Pinterest reference path with no leading slash, and query keys are validated against Pinterest's own parameter list with unknown keys returning 400 invalid_parameter. The refresh flag's cache-bypass effect is also restated in behavioral terms.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource — a proxy to Pinterest API v5 read endpoints for a given profile's connection — and enumerates the supported paths, so an agent knows exactly what surface it reaches. However, the enumeration then also includes POST/PATCH/DELETE board operations, which blurs the 'read' scope named in the title and tool name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete invocation guidance (endpoint path without leading slash, with three worked examples) and explicitly routes Pin publishing/deletion to save_post and unpublish_post. It does not, however, distinguish this tool from the sibling manage_pinterest_api, get_pinterest_boards or manage_pinterest_boards, so the agent must infer the boundary itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools