Skip to main content
Glama

List calls

list_calls
Read-onlyIdempotent

List call history (both inbound and outbound), newest first. Optionally limit the count (limit, capped at 200), filter by call direction (direction, "in" or "out"), a time window (from/to, unix ms, inclusive), a specific agent (agentId), whether the call is flagged (flagged), the LLM-judged goal outcome (goal: success/failure/unknown, where unknown includes calls with no goal evaluation yet) or how the call ended (outcome: agent/transferred/no_answer/other), or paginate via before (unix time in milliseconds - returns only calls older than this time). Each filtered call is one RECORD (one phone leg), not a conversation - a successfully transferred call is up to two records: the leg that performed the transfer classifies as outcome: "transferred", the receiving leg keeps its own outcome. The response carries hasMore (whether older calls exist - with a filter this can conservatively report true when the search just has not reached the end of the history yet) and nextBefore (pass this as before to get the next page, null when hasMore is false). A call for an agent with phases (the workflow field on create_agent/update_agent) also carries workflowPath - the path the call took through the agent's nodes - but only when it ran on volai's own voice engine (provider: "engine"); see get_call for the field's shape. Same data as GET /v1/calls (response schema in /openapi.json).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly calls that started at or before this unix time in milliseconds.
fromNoOnly calls that started at or after this unix time in milliseconds.
goalNoOnly calls matching this goal state: success, failure, unclear (conversation happened, outcome undetermined), no_conversation (caller silent, voicemail, voice menu, or not connected), not_evaluated (no evaluation yet), or unknown (alias for the last three).
limitNoHow many rows to return, newest first. Defaults to 50, capped at 200.
beforeNoUnix time in milliseconds; returns only rows older than this. Pass nextBefore from the previous response to get the next page. Omit for the newest page.
agentIdNoOnly calls handled by this agent, from list_agents.
flaggedNotrue for only flagged calls (see annotate_call), false for only unflagged ones. Omit for both.
outcomeNoOnly calls with this per-record outcome: agent (handled without transfer), transferred (this leg performed a transfer), no_answer (unanswered), other. A gate ring (kind ring) is always other, even with status no_answer.
directionNoFilter by call direction: in (inbound, someone called you) or out (outbound, you called someone). Omit to list both directions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only, idempotent, non-destructive behavior, and the description adds real context beyond them: newest-first ordering, the 200 cap, the caveat that hasMore can conservatively report true under filters, and that workflowPath appears only when provider is 'engine'. The only gap is that return payload shape is deferred to get_call and /openapi.json rather than described here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core scope and record semantics are front-loaded, which is good, but the tool crams filters, pagination, record-splitting rules, and a workflowPath aside into one unbroken paragraph. A few clauses, particularly the workflowPath/platform-provider note, are dense enough that an agent could skim past them.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully explains the return contract (hasMore, nextBefore, optional workflowPath) and the pagination loop. It stops short of describing the per-record fields an agent gets back, pointing to get_call and /openapi.json instead, which is reasonable but leaves a small gap for a 9-parameter list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already carries the parameter documentation and the baseline is 3. The description adds some meaning, such as the inclusive from/to window and the before cursor semantics, but its goal enumeration ('success/failure/unknown') is a partial restatement of the schema's six-value enum and adds no new detail beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List call history (both inbound and outbound), newest first') and immediately disambiguates the unit of return: 'Each filtered call is one RECORD (one phone leg), not a conversation.' That record-vs-conversation distinction and the transferred-leg splitting rule let an agent distinguish this from get_call without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete operational guidance for pagination ('pass nextBefore from the previous response as before') and enumerates every available filter so an agent can pick the narrowest query. It does not explicitly say when to prefer get_call over this tool for a single call, so routing guidance is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.