A Pinterest Model Context Protocol (MCP) server for image search and information retrieval
This server has 3 tools with explicit schemas and descriptions. Tool naming follows verb_noun conventions (search, get, download), which is good. However, there are significant gaps in parameter descriptions, output schema documentation, and error handling. The tool 'pinterest_search_and_download' violates the single-responsibility principle by combining search AND download in one tool. Parameter descriptions are minimal (e.g., 'Image URL' for image_url lacks format/constraint details). Output schemas are not documented anywhere, callers cannot see what fields to expect. Error messages are not visible in the code; no recovery guidance is evident. The server targets headless browser automation with Puppeteer, introducing brittleness and timeout risks that are not mitigated by error handling.
Get Pinterest image information
Search for images on Pinterest by keyword
Search for images on Pinterest by keyword and download them
Tool 'pinterest_search_and_download' violates single-responsibility principle, combines search AND download in one tool name and functionality. This should be split: 'search_pinterest_images' and 'download_images' (or 'batch_download_images'). LLMs struggle to compose multi-action tools.
Output schemas not documented. Code shows tools return results but the response structure is invisible to callers. LLMs cannot know what fields to expect, making downstream tool composition and error recovery impossible. Each tool must document: what fields are returned, types, and any pagination info.
Parameter descriptions are too sparse. 'Image URL' (6 chars) is below the 10-char minimum and lacks format/constraint detail. 'Search keyword' is vague, does it accept partial matches, boolean operators, hashtags? Descriptions must be 10 - 1024 chars and explain what values are valid.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 48 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 25 | - | v1 |
No error handling or recovery guidance visible in the code. Browser automation tools (Puppeteer) are fragile; timeouts, network errors, and site structure changes are common. Code does not show try-catch blocks with actionable error messages. LLMs need explicit guidance: 'If Pinterest blocks requests, try disabling headless mode or adding delays.'
No input validation or constraints visible. The 'limit' parameter has a default (10) but no min/max bounds. LLMs could pass limit=10000, which would exhaust memory or get the server rate-limited. Numeric parameters must declare min/max ranges.
The 'headless' boolean parameter is not explained in its description. What changes when headless=false? Why would an LLM need to toggle it? Descriptions must answer: WHAT does it control, WHEN would you use it, and what are the tradeoffs.
No pagination support documented. If search returns results, how many? Is there a next_cursor or offset/limit pattern? Large result sets blow the context window. The tool must accept page/offset + limit and return total_count or next_cursor.