Skip to main content
Glama

Tailwind App

connect_pinterest_account

Idempotent

Use this when the user wants to connect another Pinterest account to Tailwind, asks how many Pinterest accounts their plan allows, or has an account whose tokenStatus is unauthorized in list_accounts or get_account. Returns a link the user opens in their browser to finish connecting through Pinterest. Pass accountId to re-authorize that existing account; omit it to add a new one. Adding a new account is checked first: when the user is not an organization admin or the plan has no room, no link is returned and the response says why. The account is connected only when the user completes the flow in the browser. The browser must be signed in to the same Tailwind organization, and to the Pinterest account the user wants to connect, because Pinterest connects whichever Pinterest account is signed in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "connect_pinterest_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdNoNumeric Tailwind account ID from list_accounts to re-authorize. Omit to add a new Pinterest account.

Output Schema

NameRequiredDescriptionDefault
urlYesLink for the user to open in a browser. Null when blocked is set.
actionYesWhether the link adds a new account or re-authorizes accountId
blockedYesWhy a new account cannot be added; null when it can
accountLimitYesPinterest accounts the plan allows. Null when the plan has no account cap, and on reconnect links.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, but the description adds substantial context they don't cover: the tool returns a browser link, the account is only connected after the user finishes the flow in the browser, admin/plan capacity is validated before any link is issued, and the browser must be signed into the same Tailwind org and the target Pinterest account. The only gap is that it doesn't describe the failure/response shape in detail, which the output schema partly covers.

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?

Front-loaded with the usage trigger, then branch behavior, then prerequisites, so an agent can stop reading at any level. It is dense but nearly every sentence carries an operational fact; there is minor overlap between the accountId sentence and the schema description.

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 mutating, open-world tool with an output schema, the description covers the essential preconditions (org admin/plan capacity gating, browser session requirements) and states that connection completes out-of-band in the browser. Nothing an agent needs to set expectations or avoid misreporting success is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single accountId parameter is already documented there as 'from list_accounts to re-authorize; omit to add a new account.' The description restates that distinction with slightly more framing but adds no new syntax, sourcing, or validation detail beyond the schema.

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?

Opens with a specific trigger verb and resource ('connect another Pinterest account to Tailwind') and pins down the two modes (add new vs. re-authorize) in one place. It also references concrete sibling signals (tokenStatus 'unauthorized' in list_accounts or get_account), so an agent can tell exactly which state this tool addresses.

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 three explicit when-to-use triggers (connecting another account, checking plan allowance, an account unauthorized in list_accounts/get_account) and an explicit branch rule: pass accountId to re-authorize, omit it to add. That is when-to-use, when-not and the selecting condition in one paragraph.

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