Skip to main content
All tools except get_connection_info require a workspace_id argument. Call get_connection_info first, then pass its returned workspace_id into workspace-scoped tools.

Access model

Hosted OAuth connectors request Sagepilot’s full MCP capability set. The connected user’s Sagepilot role and permissions decide which tools can actually use data or make changes. Some MCP hosts may display the full Sagepilot tool list. If the connected user lacks access to a tool, Sagepilot returns an access error when that tool is called. Analytics queries and entity lookup use analytics.query and the selected dataset grant. Journey/campaign configuration tools require their separate product scopes and dataset grants. See Authentication.

Response shape

MCP tools return structured responses with stable fields. This makes the tools easier for AI hosts to inspect, validate, and reuse across follow-up calls. query_analytics and get_journey_analytics share the Analytics API response: dataset, rows, summary, and meta. For marketing attribution, pass a returned meta.cursor into the next call using the same filters and reporting period. Template-category delivery does not support cursors. See Journey and campaign tools for arguments and examples, and Journey and campaign analytics for metric definitions.