> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Calls

> Use the list_calls MCP tool on the DialNexa remote MCP server.

Read only

Returns compact call log ROWS for the organization (status, direction, numbers, duration, cost, timestamps, agent, sentiment, a short summary, and has\_transcript/has\_recording flags), filterable by agent, status, sentiment and date range. Use it to find calls and to count them. It is NOT the source of truth for what happened on a call: sentiment and summary are written by post-call analysis after the call ends, so they are "unknown" or null on any call that has not been analysed yet. Every result carries an analysis\_coverage block saying how many of the returned calls have been analysed. Unanalysed calls carry no sentiment or summary, which says nothing about how the call went. For what was actually said or concluded on one call, use get\_call\_details. For a single known call by ID, use get\_call.

## Parameters

| Name | Type | Required | Description |
| - | - | - | - |
| `agent_id` | `string` | No | Filter by agent ID, e.g. agent\_abc123. Comma-separate multiple IDs. |
| `status` | `string` | No | Filter by call status. One of: initiated, received, sent, did\_not\_pick, busy, failed, no\_answer, completed, created, cancelled |
| `sentiment` | `string` | No | Filter by post-call-analysis sentiment. One of: positive, neutral, negative, unknown. Written by post-call analysis after the call ends, not by the call itself, so any call that has not been analysed is "unknown". Filtering on "positive" therefore also excludes every call that simply has not been analysed yet. |
| `start_date` | `string` | No | ISO 8601 date — only calls on/after this date |
| `end_date` | `string` | No | ISO 8601 date — only calls on/before this date |
| `end_reason` | `string` | No | Filter by hang-up reason |
| `page` | `string` | No | Page number, default 1 |
| `limit` | `string` | No | Results per page, default 10, max 50 |

## Complete input schema

```json theme={null}
{
  "type": "object",
  "properties": {
    "agent_id": {
      "type": "string",
      "description": "Filter by agent ID, e.g. agent_abc123. Comma-separate multiple IDs."
    },
    "status": {
      "type": "string",
      "description": "Filter by call status. One of: initiated, received, sent, did_not_pick, busy, failed, no_answer, completed, created, cancelled"
    },
    "sentiment": {
      "type": "string",
      "description": "Filter by post-call-analysis sentiment. One of: positive, neutral, negative, unknown. Written by post-call analysis after the call ends, not by the call itself, so any call that has not been analysed is \"unknown\". Filtering on \"positive\" therefore also excludes every call that simply has not been analysed yet."
    },
    "start_date": {
      "type": "string",
      "description": "ISO 8601 date — only calls on/after this date"
    },
    "end_date": {
      "type": "string",
      "description": "ISO 8601 date — only calls on/before this date"
    },
    "end_reason": {
      "type": "string",
      "description": "Filter by hang-up reason"
    },
    "page": {
      "type": "string",
      "description": "Page number, default 1"
    },
    "limit": {
      "type": "string",
      "description": "Results per page, default 10, max 50"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

## Registered output schema

```json theme={null}
{
  "type": "object",
  "properties": {
    "calls": {
      "type": "array",
      "description": "Call log rows matching the filters — each a call record (status, direction, duration, cost, timestamps) with prefixed ids"
    },
    "analysis_coverage": {
      "type": "object",
      "properties": {
        "returned": {
          "type": "number",
          "description": "How many call rows were returned"
        },
        "analysed": {
          "type": "number",
          "description": "How many returned rows have post-call analysis (a summary or a non-unknown sentiment)"
        },
        "unanalysed": {
          "type": "number",
          "description": "How many returned rows have not been analysed yet"
        },
        "with_transcript": {
          "type": "number",
          "description": "How many returned rows have a readable transcript"
        },
        "meaning": {
          "type": "string",
          "description": "How to interpret these counts before drawing conclusions about outcomes"
        }
      },
      "required": [
        "returned",
        "analysed",
        "unanalysed",
        "with_transcript",
        "meaning"
      ],
      "additionalProperties": false,
      "description": "Post-call-analysis coverage for the returned rows"
    }
  },
  "required": [
    "calls",
    "analysis_coverage"
  ],
  "additionalProperties": true,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

## Before you call

* Connect and initialize the MCP client with OAuth or an API key for the intended workspace.
* This tool has no required arguments.
* If your OAuth grant covers several workspaces, also pass `organization_id` with the workspace to act in, from [List My Organizations](https://dialnexa.com/docs/mcp-tools/organization/list-my-organizations.md).

## Example MCP request

Send `tools/call` after your client completes MCP initialization. Replace placeholder values with IDs and inputs from your workspace. For object and array parameters, follow the nested requirements in the parameter description instead of treating an empty value as complete.

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_calls",
    "arguments": {}
  }
}
```

Successful results include `structuredContent` and a text content block containing the same JSON. Check `isError` first, then read `structuredContent` or parse `content[0].text`. See [MCP responses and errors](https://dialnexa.com/docs/mcp-tools/errors.md) for the full envelope and failure behavior.

## Verify the result

Confirm the response is not marked `isError`, parse `content[0].text` as JSON, and verify that returned IDs and workspace data match the request.

## Retry safety

This tool does not change workspace data. Retrying after a transient transport failure is safe.

## Related MCP tools

* [Get Call](https://dialnexa.com/docs/mcp-tools/calls/get-call.md): `get_call`
* [Get Call Details](https://dialnexa.com/docs/mcp-tools/calls/get-call-details.md): `get_call_details`

## Related guides

* [Connect to the DialNexa MCP server](https://dialnexa.com/docs/mcp-tools/overview.md)
* [Calls MCP tools](https://dialnexa.com/docs/mcp-tools/calls/overview.md)
* [MCP responses and errors](https://dialnexa.com/docs/mcp-tools/errors.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.