# MCP
Source: https://nordvec.com/docs/guides/mcp#limits-and-errors

## Limits and errors [#limits-and-errors]

A tool call draws on the same rate-limit bucket as the REST operation it
corresponds to, and every other message on the endpoint's own bucket. The
`X-RateLimit-*` headers, the `429` answer with its `Retry-After`, and the
error envelope are the same as on the
[REST API](/docs/guides/errors-and-rate-limits),
so a client that already handles them for REST handles them here.

A failed tool call returns an MCP tool result with `isError: true` whose text
is the REST error body (`code`, `message`, `data`); validation failures carry
the same `fieldErrors` shape the REST API returns. A JSON-RPC error is reserved
for the protocol itself: an unparsable body, an unknown method, or a server
fault.

Request bodies are capped at 1 MB, the same bound as the REST routes.