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

NameTypeDescription
agent_id requiredstringagent_id parameter
prompt_lengthintegerLength of the prompt in characters.
number_of_pagesintegerPages of content in pdf documents OR urls in agent's Knowledge Base.
rag_enabledbooleanWhether RAG is enabled.
service_tierstandard | fastService 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from ElevenLabs API