Reference
Experimental, in beta. Raya’s MCP server is new and may change. For feedback, suggestions or problems, email support@litwizlabs.ai.
Server
Tools
Prompt size limit
Each LLM option has a prompt size limit, 8,000 tokens unless agreed otherwise. It applies to the agent’s whole prompt. get_agent shows prompt_tokens and prompt_token_limit. A draft over the limit is refused with PROMPT_TOO_LONG before anything is charged. An agent whose live prompt is already over the limit can still be simulated, but a tested change has to bring it under.
Limits
Errors
Over MCP, errors come back as a tool result with isError: true and this body.
Simulated calls over REST
The same operations are plain HTTP endpoints under https://mcp-beta.getraya.app/api/sim, with your MCP key in X-API-Key.
Every response carries credits_so_far. The response that ends a simulated call carries credits_charged, charged_from (how much came from simulation_credits and from balance) and credits_left (what remains of each); GET /api/sim/sessions/:id also returns credits_left. POST /api/sim/estimate also returns simulation_credits_available and estimate_paid_from.

