Skip to main content
Glama

List calls

list_calls
Read-onlyIdempotent

List recent workspace calls, newest first.

    The list contains call summaries. ``get_call`` reads the full call and transcript.
    

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 items sent to this E.164 phone number.
limitNoMaximum records returned on this page.
cursorNoPagination cursor: the ``next_cursor`` from the previous page. Omitted: the first page.
statusNoShow only calls in this state now, for example ``in_progress`` for live calls or ``no_answer`` for missed ones. Omitted: all calls.
llm_modelNoThe calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / $defs / CallResponse / properties / recording_enabled / description
      Previous value: -"Whether the recording-enabled call rate applies, regardless of capture outcome."New value: +"Whether recording was enabled for this call. See recording_status for the capture outcome."
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / CallResponse / properties / caller_hidden_reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": "phone_system_sent_own_number",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Why Hail recorded an inbound caller as 'anonymous'. 'phone_system_sent_own_number': the connected phone system sent one of your own numbers as the caller, not the real caller's number. Set your phone system to pass the caller's number. Null when Hail kept the caller as sent, including a caller who withheld their number.",
      +  "title": "Caller Hidden Reason"
      +}
    • changedOutput schema / $defs / CallResponse / required
      Previous value: -[
      -  "id",
      -  "organization_id",
      -  "from_e164",
      -  "to_e164",
      -  "direction",
      -  "agent_id",
      -  "status",
      -  "end_reason",
      -  "provider_call_sid",
      -  "livekit_room",
      -  "initial_prompt",
      -  "recording_enabled",
      -  "recording_status",
      -  "recording_duration_ms",
      -  "recording_s3_key",
      -  "requested_at",
      -  "started_at",
      -  "answered_at",
      -  "ended_at",
      -  "failure_message",
      -  "transcript"
      -]New value: +[
      +  "id",
      +  "organization_id",
      +  "from_e164",
      +  "to_e164",
      +  "caller_hidden_reason",
      +  "direction",
      +  "agent_id",
      +  "status",
      +  "end_reason",
      +  "provider_call_sid",
      +  "livekit_room",
      +  "initial_prompt",
      +  "recording_enabled",
      +  "recording_status",
      +  "recording_duration_ms",
      +  "recording_s3_key",
      +  "requested_at",
      +  "started_at",
      +  "answered_at",
      +  "ended_at",
      +  "failure_message",
      +  "transcript"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / llm_model / description
      Previous value: -"Model ID of the calling agent. Optional. Recorded for analytics only."New value: +"The calling agent's provider model ID, as shown in the client's model configuration when available. Recorded for analytics."
  4. Changed5 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"How many items one page holds. ``next_cursor`` in the response points to the next page."New value: +"Maximum records returned on this page."
    • addedOutput schema / $defs
      Added value: +{
      +  "CallResponse": {
      +    "properties": {
      +      "agent_id": {
      +        "anyOf": [
      +          {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Agent that answered (inbound) or placed (outbound) this call. Null when the call was placed with an inline system_prompt.",
      +        "title": "Agent Id"
      +      },
      +      "answered_at": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "When the callee answered, ISO 8601 timestamp. Null if never answered.",
      +        "title": "Answered At"
      +      },
      +      "direction": {
      +        "description": "'outbound' for calls Hail placed, 'inbound' for calls received.",
      +        "enum": [
      +          "outbound",
      +          "inbound"
      +        ],
      +        "title": "Direction",
      +        "type": "string"
      +      },
      +      "end_reason": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Machine-readable reason the call reached a terminal status (e.g. 'normal_hangup', 'user_rejected', 'sip_trunk_failure'). Null while the call is still in progress.",
      +        "title": "End Reason"
      +      },
      +      "ended_at": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "When the call ended, ISO 8601 timestamp. Null while still in progress.",
      +        "title": "Ended At"
      +      },
      +      "failure_message": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Human-readable explanation for a failed call. Null for other statuses.",
      +        "title": "Failure Message"
      +      },
      +      "from_e164": {
      +        "description": "Caller-id phone number used, E.164 format.",
      +        "title": "From E164",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Unique identifier for this call.",
      +        "format": "uuid",
      +        "title": "Id",
      +        "type": "string"
      +      },
      +      "initial_prompt": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The system_prompt this call was created with, if any.",
      +        "title": "Initial Prompt"
      +      },
      +      "livekit_room": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Name of the LiveKit room hosting this call's media session, if one was created.",
      +        "title": "Livekit Room"
      +      },
      +      "organization_id": {
      +        "description": "Organization that placed or received this call.",
      +        "format": "uuid",
      +        "title": "Organization Id",
      +        "type": "string"
      +      },
      +      "provider_call_sid": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "The telephony provider's identifier for this call leg, if assigned.",
      +        "title": "Provider Call Sid"
      +      },
      +      "recording_duration_ms": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Duration of captured audio, independent of billed call duration.",
      +        "title": "Recording Duration Ms"
      +      },
      +      "recording_enabled": {
      +        "default": false,
      +        "description": "Whether the recording-enabled call rate applies, regardless of capture outcome.",
      +        "title": "Recording Enabled",
      +        "type": "boolean"
      +      },
      +      "recording_s3_key": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Internal storage key for the call recording. Not a directly fetchable URL.",
      +        "title": "Recording S3 Key"
      +      },
      +      "recording_status": {
      +        "default": "disabled",
      +        "description": "disabled, requested, starting, recording, processing, ready, unavailable, failed, or erased.",
      +        "title": "Recording Status",
      +        "type": "string"
      +      },
      +      "requested_at": {
      +        "description": "When the call was requested, ISO 8601 timestamp.",
      +        "format": "date-time",
      +        "title": "Requested At",
      +        "type": "string"
      +      },
      +      "started_at": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "When dialing began, ISO 8601 timestamp. Null until the call starts.",
      +        "title": "Started At"
      +      },
      +      "status": {
      +        "description": "Current call-progress state: 'queued', 'dialing', 'ringing', 'in_progress', or one of the terminal states 'completed', 'failed', 'busy', 'no_answer', 'canceled'.",
      +        "enum": [
      +          "queued",
      +          "dialing",
      +          "ringing",
      +          "in_progress",
      +          "completed",
      +          "failed",
      +          "busy",
      +          "no_answer",
      +          "canceled"
      +        ],
      +        "title": "Status",
      +        "type": "string"
      +      },
      +      "to_e164": {
      +        "description": "Recipient phone number, E.164 format.",
      +        "title": "To E164",
      +        "type": "string"
      +      },
      +      "transcript": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/CallTranscriptTurn"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "What was said on the call, in the order it was said. Set only by GET /v1/calls/{call_id}: an empty list until someone speaks. Null in POST /v1/calls and GET /v1/calls responses.",
      +        "title": "Transcript"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "organization_id",
      +      "from_e164",
      +      "to_e164",
      +      "direction",
      +      "agent_id",
      +      "status",
      +      "end_reason",
      +      "provider_call_sid",
      +      "livekit_room",
      +      "initial_prompt",
      +      "recording_enabled",
      +      "recording_status",
      +      "recording_duration_ms",
      +      "recording_s3_key",
      +      "requested_at",
      +      "started_at",
      +      "answered_at",
      +      "ended_at",
      +      "failure_message",
      +      "transcript"
      +    ],
      +    "title": "CallResponse",
      +    "type": "object"
      +  },
      +  "CallTranscriptTurn": {
      +    "properties": {
      +      "at": {
      +        "description": "When the speaker started this turn, ISO 8601. When that is not known, when Hail recorded the turn.",
      +        "format": "date-time",
      +        "title": "At",
      +        "type": "string"
      +      },
      +      "role": {
      +        "description": "'assistant' is the Hail agent. 'user' is the person (or answering machine) on the other end of the line.",
      +        "enum": [
      +          "user",
      +          "assistant"
      +        ],
      +        "title": "Role",
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "What was said in this turn.",
      +        "title": "Text",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "role",
      +      "text",
      +      "at"
      +    ],
      +    "title": "CallTranscriptTurn",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "items": {
      +        "description": "Calls in this page, newest first.",
      +        "items": {
      +          "$ref": "#/$defs/CallResponse"
      +        },
      +        "title": "Items",
      +        "type": "array"
      +      },
      +      "next_cursor": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Opaque cursor for the next page. Null when there are no more results.",
      +        "title": "Next Cursor"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "next_cursor"
      +    ],
      +    "title": "CallListResponse",
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / title
      Removed value: -"list_calls_toolDictOutput"
  5. Changed1 schema field changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "Model ID of the calling agent. Optional. Recorded for analytics only.",
      +  "type": "string"
      +}
  6. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Number of items per page."New value: +"How many items one page holds. ``next_cursor`` in the response points to the next page."
    • changedInput schema / properties / status / description
      Previous value: -"Only calls currently in this status. Omitted: every status."New value: +"Show only calls in this state now, for example ``in_progress`` for live calls or ``no_answer`` for missed ones. Omitted: all calls."
  7. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive behavior. The description adds useful behavioral context beyond them: results are recent calls, ordered newest first, and each item is a summary rather than a full transcript.

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

Conciseness5/5

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

The description is two short sentences with no wasted wording. The core scope is front-loaded, and the get_call contrast is placed immediately after the summary limitation.

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

Completeness5/5

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

The tool has annotations, full schema descriptions, and an output schema, so the description does not need to re-explain return format or parameter mechanics. It supplies exactly the missing high-level distinction between listing summaries and reading a full call.

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 description coverage is 100%, so the input schema already documents all five parameters in detail. The description adds no parameter-specific meaning beyond what the schema provides, making 3 the appropriate baseline.

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?

The description gives a specific verb and resource: 'List recent workspace calls,' plus ordering ('newest first') and content scope ('call summaries'). It also distinguishes the tool from get_call, so an agent can tell it is for browsing calls rather than reading one in full.

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?

It explicitly routes detailed retrieval to get_call by saying get_call reads the full call and transcript. It does not spell out when to apply filters such as status or pagination, but the core use case and the main alternative are clear.

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.