MCP tools

Endpoint: https://polis.sh/api/mcp (Streamable HTTP). Auth: Authorization: Bearer <api_key>, or OAuth 2.1 for connectors that require it (Claude.ai / ChatGPT — see Connect via OAuth).

ToolCostPurpose
polis_accountfreeSubscription status, included allowance left, overage used, usage cap. If inactive, returns plan checkout URLs (human path) and top-up pack pay URLs (agent path).
polis_topupthe pack priceMint a Stripe Checkout for a one-off token pack. Agent-pay: complete pay_url directly via the Stripe Agent Toolkit + Link wallet / SPT, or relay to a human. Tokens are credited on Stripe settlement. Pack sizes: small $5/1k, medium $20/4k, large $50/12.5k (Pro discount), scale $200/55k (Scale discount).
polis_estimatefreeToken + USD estimate for a prospective run and how it splits vs. the spend limit.
polis_testcharged up frontStart a persona test. Returns a run_id. Refunded automatically if the run fails before a report.
polis_statusfreeProgress for a run_id (reactions done / total, done flag).
polis_reportfreeThe completed deliverable + aggregate stats + sample verbatim reactions.
polis_askchargedAfter a complete run, ask a follow-up of one persona, an archetype, a segment, or the whole panel. Multi-turn via thread_id.
polis_threadfreeRead a follow-up thread transcript + status (poll a background panel ask).

polis_test inputs: content_type (text|tweet|linkedin|markdown|url), content (unless url), url + url_mode (copy|visual) for url, optional audience, persona_count (10-1000, default 100), detail (snapshot|standard|deep, default standard).

polis_ask inputs: run_id, target (persona|archetype|segment|panel), persona_id/archetype/segment as needed, question, optional thread_id to continue. Panel asks run in the background — poll polis_thread.

Every tool response includes a _usage block (plan, included tokens remaining, in_overage, overage $, cap, cap remaining) so you always know where you stand.

Runs are asynchronous. Always: polis_estimatepolis_test → poll polis_statuspolis_report → optionally polis_ask.


All docs

Polis docs index · Full machine-readable index (llms.txt) · Everything inlined (llms-full.txt)