Home / Servers / ElevenLabs API / get_agent_llm_expected_cost_calculation
Calculate Expected Llm Usage For An Agent
An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.
Calculate Expected Llm Usage For An Agent Calculates expected number of LLM tokens needed for the specified agent. [POST /v1/convai/agent/{agent_id}/llm-usage/calculate]
Name on the gateway: elevenlabs_api__get_agent_llm_expected_cost_calculation · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
agent_id required | string | agent_id parameter |
prompt_length | integer | Length of the prompt in characters. |
number_of_pages | integer | Pages of content in pdf documents OR urls in agent's Knowledge Base. |
rag_enabled | boolean | Whether RAG is enabled. |
service_tier | standard | fast | Service tier to price against. Only affects models that offer the tier; others… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "elevenlabs_api__get_agent_llm_expected_cost_calculation",
"arguments": {
"agent_id": "…"
}
}Or connect the ElevenLabs API server directly, which lists 487 tools including this one:
claude mcp add --transport http hj-elevenlabs-api https://mcp.hjlabs.in/mcp/elevenlabs-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the calculate expected llm usage for an agent tool with agent_id set to ….