Guide
Raw API requests over MCP: reach each platform's own API when no prebuilt tool fits
TL;DR
Agent Planners reaches a platform's own API in one of three ways, listed for your key by describe_raw_api. Raw requests: 20 platforms have a raw-request lane (the platform's method, path and body), 26 have gateway tools in the platform's own request shape, and 5 are typed-only for a stated reason.
Three ways to reach a platform's own API
- Raw request (20):
<family>__raw_requestwith the method, path, query and body exactly as the platform documents them. Needstools:raw; a write also needstools:writeand waits for a person unless the key is pre-authorized. Google Ads, Google Analytics, Search Console, AdSense, AdMob, Ad Manager, Meta Marketing, TikTok Marketing, DV360, CM360, Merchant Center, YouTube, Tag Manager, Search Ads 360, Microsoft Advertising, Reddit Ads, Pinterest Ads, Snapchat Ads, LinkedIn Ads, Cloudflare. - Gateway (26): typed
get/mutate-style tools that take the platform's own path, GraphQL document, SQL or method name, with the family's own approvals and holds. HubSpot, Klaviyo, Stripe, Shopify, SHOPLINE, X Ads, ChatGPT Ads, Apple Ads, impact.com, Firebase, Google Play, PostHog, Zoho CRM, Zoho Mail, Bing Webmaster Tools, SharePoint, Apollo.io, Buffer, Loops, Adobe, Spotify Ads, BigQuery, DataForSEO, Context.dev, GitHub, Power BI. - Typed only (5): a free-form lane would get around a limit (a daily quota, a billed SKU, public posting), so only the typed tools exist. Microsoft Clarity, AppLovin, Perplexity, Google Maps, Organic social.
What every raw or gateway call keeps
- Credentials: injected by Agent Planners from the connected account; a caller never sends a token, and a query naming a token or key is refused.
- Binding: the path must belong to the connected account, site, workspace or project; another account's path, dot segments and encoded separators are refused before anything is sent.
- Approvals: reads run at once; writes follow the key's mode, and the platform's person-class changes (deletes, publishing, access changes) wait for a person on every key mode.
- Forbidden Rules, billing and the audit log apply exactly as to a typed tool.
Finding the right call
- 1Run
describe_raw_api(MCP) for the raw lanes and the gateway families your key can reach — hosts, path patterns, binding, examples and the platform's documentation. - 2Ask
search_toolsfor "<platform> raw api": it returns the raw lane or the gateways for that platform. - 3Call the tool; a refused path says why and what to call instead.
bash
# Claude Code
claude mcp add --transport http agent-planners https://www.agentplanners.com/api/mcp \
--header "Authorization: Bearer $AGENTPLANNERS_API_KEY"
# Codex (signs in with OAuth in the browser)
codex mcp add agent-planners --url https://www.agentplanners.com/api/mcpThe full table — binding, what is refused, what waits for a person and each platform's gaps — is on Calling a platform in its own format.
Frequently asked questions
- Is there a raw request tool for every platform?
- Every platform with an HTTP API is reached in its own format: a raw-request lane, or gateway tools with the same binding and approvals. A few stay typed-only, each with a stated reason on the platform-api page.
- Does a raw request skip approvals?
- No. Raw writes wait for a person unless an admin pre-authorized the key, and changes that always need a person wait whatever the key allows.