The MCP tools and the REST API run the same operations on the same workspace data, with the same keys, scopes and request limit. They differ in three ways. The MCP tool query_data returns at most 500 rows per call, 100 when you set no limit, while the REST Query stored data operation has a much higher default and cap. MCP takes fields as a JSON array of names, REST as one comma-separated string. And MCP has fewer operations: there is no tool to list runs, list networks or fetch a single pipeline by id.
Use MCP when an AI assistant answers questions and starts syncs for you. Use REST when a script, a scheduler or a BI job needs bulk rows or run history.
Operations side by side
| Task | REST API | MCP tool |
|---|---|---|
| List networks | listNetworks | none |
| List sources | listSources | list_sources |
| List destinations | listDestinations | list_destinations |
| List pipelines | listPipelines | list_pipelines |
| Get one pipeline | getPipeline | none; read it from list_pipelines |
| Start a run | startRun | run_pipeline |
| List runs | listRuns | none |
| Get one run | getRun | get_run |
| Query stored data | queryData | query_data |
Both sides call one shared service layer, so a run started from an assistant is the same kind of run as one started by your script, and it shows in REST's run list. Because MCP cannot list runs, the run ids an assistant can look up with get_run are the ones run_pipeline handed back to it, or ones you give it. If you need to see what ran overnight, or the runs another tool started, use REST.
Row caps on stored data
Both query operations return rows as stored, before any pipeline's transform rules, and both set truncated to true when more rows matched than they returned. The MCP caps are lower; every row a tool returns goes into the model's context.
- MCP query_data: 100 rows by default, 500 at most. A
limitabove the maximum is refused by the tool's input schema as an invalid argument; it is not lowered for you. - REST queryData: a larger default and a larger maximum, listed on its reference page. A
limitabove the maximum is refused with a validation error.
When an assistant gets truncated: true, narrow the request: a shorter date range, one network or one source_id, or fewer fields. For a whole month of ad-level rows, use REST.
Passing fields
On MCP, fields is a JSON array, for example ["date", "cost", "clicks"]. Network-specific columns are named extra.<key> inside that array. On REST, fields is a single query parameter with the names separated by commas, such as fields=date,cost,clicks; spaces around each name are trimmed and empty names are skipped. Both accept the same field names, because both pass the list to the same query.
The shared request limit
The request limit counts per credential, not per surface: each credential may make 120 requests a minute, and REST and MCP calls made with the same credential count together in one window. An assistant and a script that share one API key share one budget; two keys get one budget each.
What counts as one credential: an API key is one; an OAuth grant, the approval you give a chat app's connector, is one; on REST, your signed-in user is one, however many browser sessions you have open. Over the limit, both sides answer HTTP 429 with a Retry-After header in seconds and the message rate limit exceeded; retry later.
Keys, scopes and sign-in
An API key works on both surfaces with the same scopes: read for listing and querying, run as well for starting syncs. An OAuth access token issued to an MCP client names the MCP server as its resource, the only one etlmcp issues tokens for; the MCP endpoint refuses a token that names any other, and REST accepts the token as well. Only REST also accepts your browser session cookie. The MCP endpoint never reads a cookie and needs an Authorization: Bearer header on every POST. See Using an API key with the MCP server for the header setup.
How errors come back
REST reports a failure as an HTTP status with a short message. MCP reports an expected failure inside a normal tool result marked as an error, as one plain sentence; some of these sentences also tell the model what to do next. The same refusal reads differently on each side:
| Case | REST | MCP |
|---|---|---|
| A run is already queued or running for the pipeline | 409, a sync is already running for this pipeline |
a sync is already running for this pipeline; check it with get_run |
The credential lacks the run scope |
403, this credential cannot start runs |
this credential cannot start runs; create a key with the run scope |
If your code parses error text, match the surface you call. Request-level problems on MCP, such as a missing or bad bearer, a credential in the URL or the rate limit, still come back as HTTP statuses before any tool runs.