Skip to main content
Glama
ctm-multi-mcp

ctm-multi-mcp

Official
by CTMJSON

ctm-multi-mcp — Multi-account CTM data extraction

A read-only Model Context Protocol (MCP) server for extracting data across multiple CallTrackingMetrics sub-accounts using a single parent/reseller API key.

Built for resellers and agencies managing multiple CTM accounts who need to pull call data, reports, number inventory, contacts, sources, and configuration into custom Claude bots.

How It Works

  1. Auto-discovery — On startup, the server uses the parent API key to list all sub-accounts automatically. No manual configuration needed.

  2. Filtering — Optionally limit which accounts are queried via env var or a JSON config file with optional labels.

  3. Cross-account tools — Every tool runs across all (or selected) accounts and returns results with account attribution. One failing account doesn't block the rest.

  4. Read-only — No write tools. Safe for analysis, reporting, and data extraction without risk of modifying production config.

Related MCP server: meta-mcp

Install

Not yet published to PyPI — install from source for now:

git clone https://github.com/CTMJSON/ctm-multi-mcp
cd ctm-multi-mcp
python3 -m venv .venv
./.venv/bin/pip install -e .

This installs a ctm-multi-mcp executable at .venv/bin/ctm-multi-mcp inside the cloned folder — use that full path when connecting a Claude client below.

Once published, install will be:

pip install ctm-multi-mcp
# or, with no install, via uv:
uvx ctm-multi-mcp

Configuration

Variable

Required

Description

CTM_BASIC_AUTH

yes

Base64-encoded access_key:secret_key for your parent/reseller account. Get the keys from CTM → Settings → Account Settings → API, or generate the encoded value with echo -n "access_key:secret_key" | base64

CTM_BASE_URL

no

Override API base URL (default: https://api.calltrackingmetrics.com/api/v1)

CTM_ACCOUNT_IDS

no

Comma-separated account IDs to limit scope

CTM_ACCOUNTS_FILE

no

Path to JSON config file (default: ~/.ctm-accounts.json)

Filtering sub-accounts

To limit which accounts the server queries, set CTM_ACCOUNT_IDS:

export CTM_ACCOUNT_IDS=12345,67890,11111

Or create ~/.ctm-accounts.json:

{
  "account_ids": ["12345", "67890", "11111"],
  "labels": {
    "12345": "Client A (Enterprise)",
    "67890": "Client B (SMB)"
  }
}

Labels appear in tool output for easy identification. If neither filter is set, all sub-accounts discoverable by the parent key are included.

Connecting to Claude Desktop

Edit your Claude Desktop config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json). If the file doesn't exist yet, create it with a mcpServers block and add an entry for ctm-multi-mcp. Use the full path to the ctm-multi-mcp executable from the Install step:

{
  "mcpServers": {
    "ctm-multi-mcp": {
      "command": "/absolute/path/to/ctm-multi-mcp/.venv/bin/ctm-multi-mcp",
      "env": {
        "CTM_BASIC_AUTH": "<base64 access_key:secret_key>"
      }
    }
  }
}

Restart Claude Desktop for the change to take effect. To limit which accounts are queried, add "CTM_ACCOUNT_IDS": "12345,67890,11111" to env.

Connecting to Claude Code

claude mcp add ctm-multi-mcp \
  --env CTM_BASIC_AUTH="<base64 access_key:secret_key>" \
  -- /absolute/path/to/ctm-multi-mcp/.venv/bin/ctm-multi-mcp

With account filtering:

claude mcp add ctm-multi-mcp \
  --env CTM_BASIC_AUTH="<base64 access_key:secret_key>" \
  --env CTM_ACCOUNT_IDS=12345,67890,11111 \
  -- /absolute/path/to/ctm-multi-mcp/.venv/bin/ctm-multi-mcp

Once published to PyPI, -- uvx ctm-multi-mcp can replace the explicit path in both of the examples above.

Connecting to Codex

Edit ~/.codex/config.toml:

[mcp_servers.ctm-multi-mcp]
command = "/absolute/path/to/ctm-multi-mcp/.venv/bin/ctm-multi-mcp"

[mcp_servers.ctm-multi-mcp.env]
CTM_BASIC_AUTH = "<base64 access_key:secret_key>"
CTM_ACCOUNT_IDS = "12345,67890"

Claude.ai (web)

Not currently supported — claude.ai's connectors require a hosted/remote MCP server (reachable over HTTP), while ctm-multi-mcp runs as a local stdio process. Use Claude Desktop or Claude Code instead until a hosted version exists.

Example Prompts

Once connected, you can drive the server in plain English:

  • "Give me a call summary for all accounts for the last 7 days."

  • "Show me call dispositions across all accounts — what percentage hang up vs answer?"

  • "Break down call volume by source across all accounts for August."

  • "Which Google/Bing campaigns drove calls for account 12345 this week, and how many were answered?"

  • "Export every answered call over 60 seconds for account 12345 yesterday, with name, city, and state."

  • "Which accounts have voice bots configured and what are their names?"

  • "List all tracking numbers across all accounts with their routing destination."

  • "Show me the call logs for account 12345 and 67890 from yesterday."

  • "Which accounts have the most sources configured?"

  • "Pull all contacts from every account that have 'test' in the name."

Tool Surface

All tools are read-only and operate across sub-accounts:

Category

Tools

Accounts

list_sub_accounts, account_summary

Calls

search_calls, get_call, call_export

Numbers

list_numbers, get_number

Contacts

list_contacts, get_contact

Sources

list_sources, get_source

Queues

list_queues, get_queue

Voice Bots

list_voice_bots, get_voice_bot

Voice Menus

list_voice_menus, get_voice_menu

Schedules

list_schedules, get_schedule

Geo Routes

list_geo_routes, get_geo_route

Users

list_users, get_user

Tags

list_tags

Reports

call_summary_report, call_disposition_report, call_crosstab, reports_series, reports_series_dimensions, account_ledger, account_summary

Texts

list_texts

Every tool accepts an optional account_ids parameter (comma-separated string) to limit which accounts are queried. Omit to query all discovered accounts.

Working with large result sets

CTM's API caps per_page at roughly 100 records, so a naive integration either misses data past the first page or has to loop pages by hand. This server handles that for you in two ways:

  • List tools (list_contacts, list_numbers, list_sources, list_queues, list_users, list_voice_bots, list_voice_menus, list_schedules, list_geo_routes, list_tags, list_texts, and the calls-specific call_disposition_report/call_crosstab/call_export) page through the CTM API automatically up to a max_items (or max_calls) cap — default 500 for most, higher for calls — and flag a WARNING in the output if any account had more records than the cap, so truncation is never silent. Raise the cap rather than paging manually.

  • Detail tools (get_call, get_contact, get_number, get_source, get_queue, get_voice_bot, get_voice_menu, get_schedule, get_geo_route, get_user) return the full record by default — which for calls in particular can be 100+ fields including transcripts and touchpoint history — but accept an optional fields parameter (a comma-separated list of top-level keys) to return just what's needed. Cheaper for anything that checks the same few fields across many records.

For call-level analysis specifically, reach for call_disposition_report (aggregate stats), call_crosstab (two-dimension breakdown, e.g. source × status or campaign × status), or call_export (row-level CSV) rather than paging through search_calls — see each tool's docstring for details on why (in short: search_calls filters and totals only reflect a single page, and CTM's calls-list payload already includes fields like name, city, and state, so there's no need to loop get_call afterward to fill those in).

call_crosstab/call_export can also group or filter by real ad-platform attribution — campaign, campaign_id, keyword, ad_group, medium, paid_source — pulled from CTM's per-call "paid" object, not just CTM's own tracking-source label.

Architecture

ctm-multi-mcp
├── server.py          FastMCP server, credential bootstrap
├── config.py          Account filtering config from env/file
├── ctm_client.py      Standalone CTM HTTP client (auth, paginate, paginate_capped, rate-limiting)
├── accounts.py        Sub-account discovery, resolution, status filtering
├── client.py          MultiAccountClient — concurrent operations across accounts
└── tools/
    ├── accounts.py    list_sub_accounts
    ├── calls.py       search_calls, get_call
    ├── contacts.py    list_contacts, get_contact
    ├── geo_routes.py  list_geo_routes, get_geo_route
    ├── numbers.py     list_numbers, get_number
    ├── queues.py      list_queues, get_queue
    ├── reports.py     call_summary_report, call_disposition_report,
    │                  call_crosstab, call_export, reports_series,
    │                  reports_series_dimensions, account_ledger,
    │                  account_summary
    ├── schedules.py   list_schedules, get_schedule
    ├── sources.py     list_sources, get_source
    ├── tags.py        list_tags
    ├── texts.py       list_texts
    ├── users.py       list_users, get_user
    ├── voice_bots.py  list_voice_bots, get_voice_bot
    └── voice_menus.py list_voice_menus, get_voice_menu

Support

email: jason.smith@ctm.com

License

MIT

Available Tools

32 tools
account_ledgerA

Get billing/ledger data across sub-accounts.

Shows usage charges for the given date range.

Only queries active sub-accounts by default. Pass account_status="archived", "canceled", "paused", or "all" to query other sub-accounts.

Inputs: end_date, start_date, account_ids, account_status. Returns: result

account_summaryA

Get a high-level summary of each sub-account's configuration.

Shows account status, number counts, source counts, and active routing objects (queues, voice menus, schedules).

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, account_ids. Returns: result

call_crosstabA

Build a source × status crosstab matrix across sub-accounts.

Fetches calls for the given account_ids + date range and returns a matrix where rows are one dimension (default: source) and columns are another (default: status), with cell values = call counts.

Designed to answer "break down call volume by source and status for accounts X, Y, Z this week" in a single call instead of fanning out multiple filtered disposition reports.

Rows/cols dimensions: source, status, agent, tracking_number, receiving_number, tag, queue, day_of_week, campaign, campaign_id, keyword, ad_group, ad_group_id, ad_network, ad_match_type, medium, paid_source.

The campaign/keyword/ad_group dimensions read CTM's per-call "paid" attribution object (populated for Google/Bing/Meta click-through calls) — this is real ad-platform data, not CTM's own tracking-source label ("source"/"paid_source" above is that CTM label; "paid_source" pulls the ad platform itself, e.g. "google"). For Search traffic, Google sometimes withholds keyword-level text for privacy reasons even when the call is clearly attributable — campaign_id and ad_group_id are numeric IDs and much more reliably populated than the human-readable "campaign"/"keyword" names, so prefer those two when the readable names come back mostly "(not provided)".

Use start_date/end_date (ISO format) or time_duration (e.g. 'today', 'yesterday', 'wtd', 'last7days'). Increase max_calls for accounts with heavy volume.

Pass exclude_status (e.g. 'in progress') to omit in-flight calls for a point-in-time completed-calls view. Live calls that haven't finished ring as 'in progress' — they're counted by default since this is a real-time snapshot, but if you want only terminal states (answered, no answer, failed, etc.), pass exclude_status='in progress'.

Inputs: cols, rows, end_date, max_calls, +5 more. Returns: result

call_disposition_reportA

Aggregate call outcomes/dispositions across sub-accounts in one call.

Only queries active sub-accounts by default. Pass account_status="archived", "canceled", "paused", or "all" to query other sub-accounts.

Paginates the calls-list endpoint server-side (concurrently, not one page at a time) and returns pre-aggregated counts — call_status/dial_status breakdown, the logged disposition breakdown (CTM's 'sale.name' outcome field, e.g. "wrong number", "no message", "offering services"), duration stats, top marketing sources (which doubles as "breakdown by source" for whatever duration range you asked for), top ad-platform campaigns and keywords (from CTM's per-call "paid" attribution object — real Google/Bing/Meta campaign & keyword data, distinct from the CTM tracking-source label used for "source" above), and call volume by day of week.

Note on campaign/keyword data: Google withholds keyword-level text for some Search traffic even when the call is clearly attributable, so "(not provided)" keywords are expected, not a bug. campaign_id is far more reliably populated than the human-readable campaign name — if campaign names come back mostly blank, use call_crosstab with rows="campaign_id" (or "ad_group_id") for a reliable grouping.

Pass min_duration/max_duration (seconds) to scope everything — including the source/disposition/status breakdowns — to calls in that duration range, e.g. min_duration=60 for "calls over a minute by source". This replaces manually paging through search_calls and grouping raw records by hand.

Pass status (matches call_status/status/dial_status, exact, case-insensitive) and/or source (substring match against the marketing source name, case-insensitive) to scope the whole report further, e.g. status="answered", source="Google". NOTE: like search_calls, this is applied client-side after fetching — the CTM calls-list API's own status filter does not reliably work, so filtering happens here instead, on the full fetched set (not just one page), which is more reliable than filtering via search_calls.

Use this instead of paging through search_calls or looping get_call — this is the tool to reach for when asked to analyze calls/dispositions over a date range; it replaces what would otherwise take one get_call round-trip per call, or a full manual page-by-page scan for a duration/source/status cut.

Inputs: top_n, source, status, end_date, +6 more. Returns: result

call_exportA

Export a filtered, row-level list of individual calls as CSV.

Use this — not search_calls, not a get_call loop — any time the ask is for actual call records matching a filter (e.g. "answered calls over 60s yesterday with ID/Name/City/State", "give me the calls from Google Ads last week with caller number and city"). It replaces two things people otherwise reach for and both are worse:

  1. Paging through search_calls with a status/disposition filter — that tool only filters within whatever single page it fetched, not across the full date range, so a "321 matching calls" answer from paging is unreliable; the total at the bottom of search_calls output is always the unfiltered count.

  2. Looping get_call once per matching call to read name/city/state — unnecessary. CTM's calls-list endpoint already returns name, city, and state on every call record; this tool fetches once (paginated server-side, same mechanism as call_disposition_report and call_crosstab) and reads those fields directly off the already-fetched payload. No per-call round trip.

Filters (all optional, AND together): min_duration/max_duration (seconds), status (matches call_status/status/dial_status, exact, case-insensitive — e.g. "answered"), source (substring match against the marketing source name, case-insensitive). These are applied client-side across the entire fetched set (bounded by max_calls), not per-page — this is what makes the count reliable, matching what call_disposition_report would report for the same filters. Cross-check against call_disposition_report's "Calls analyzed" count if you want a sanity check before trusting the row count here.

fields: comma-separated columns, in order, forming the CSV header. Supported: id, source, name, city, state, called_at, duration, status, dial_status, disposition, caller_number, tracking_number, receiving_number, agent, tag, day_of_week, campaign, campaign_id, keyword, ad_group, ad_group_id, medium, ad_network, ad_match_type, paid_source. The last several are CTM's per-call "paid" ad-attribution fields (see call_crosstab's docstring for caveats about campaign/keyword sometimes coming back "(not provided)").

sort: field to order rows by, prefix "-" for descending (default "-called_at", most recent first). Only "called_at" and "duration" are supported as sort keys; anything else leaves rows in fetch order.

Use start_date/end_date (ISO format) or time_duration (e.g. 'today', 'yesterday', 'wtd', 'last7days' — see call_crosstab's docstring for the full list of accepted values).

Returns raw CSV text — header row plus one row per matching call. Hand it straight to the user as a file, or paste into a spreadsheet. Rows are capped at max_calls fetched per account (raise it for high-volume accounts/date ranges); a truncation warning is included as a leading comment line if any account hit the cap.

Inputs: sort, fields, source, status, +8 more. Returns: result

call_summary_reportA

Get aggregated call summary statistics across sub-accounts.

Returns call counts, average duration, total talk time, and breakdown by status/tag for each account and a combined total.

Use start_date/end_date (ISO format) or time_duration (e.g. 'today', 'yesterday', 'last7days', 'last30days').

Only queries active sub-accounts by default. Pass account_status="archived", "canceled", "paused", or "all" to query other sub-accounts.

Inputs: end_date, start_date, account_ids, time_duration, +1 more. Returns: result

get_callA

Get details for a specific call.

By default returns the full payload, including call_path and transcript data — this is large (~100+ fields). If you only need a handful of fields (e.g. when checking several calls in a row), pass fields as a comma-separated list of top-level keys (e.g. "call_status,dial_status,duration,source,tracking_number,tag_list, sale,called_at,direction") to get back just those, which is much cheaper than the full payload. For bulk disposition analysis across many calls, prefer call_disposition_report instead of looping this.

Inputs: call_id (required), account_id (required), fields. Returns: result

get_contactA

Get full details for a specific contact.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several contacts in a row.

Inputs: account_id (required), contact_id (required), fields. Returns: result

get_geo_routeA

Get full details for a specific geo router.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several routes in a row.

Inputs: account_id (required), geo_route_id (required), fields. Returns: result

get_numberA

Get full details for a specific tracking number.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several numbers in a row.

Inputs: number_id (required), account_id (required), fields. Returns: result

get_queueA

Get full details for a specific call queue.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several queues in a row.

Inputs: queue_id (required), account_id (required), fields. Returns: result

get_scheduleA

Get full details for a specific schedule, including time blocks.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several schedules in a row.

Inputs: account_id (required), schedule_id (required), fields. Returns: result

get_sourceA

Get full details for a specific source.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several sources in a row.

Inputs: source_id (required), account_id (required), fields. Returns: result

get_userA

Get full details for a specific user.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several users in a row.

Inputs: user_id (required), account_id (required), fields. Returns: result

get_voice_botA

Get full details for a specific voice bot, including prompt and config.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several bots in a row.

Inputs: account_id (required), voice_bot_id (required), fields. Returns: result

get_voice_menuA

Get full details for a specific voice menu, including keypress mappings.

Pass fields as a comma-separated list of top-level keys to get back just those instead of the full payload — cheaper when you only need a couple of fields, e.g. when checking several menus in a row.

Inputs: account_id (required), voice_menu_id (required), fields. Returns: result

list_contactsA

List contacts across sub-accounts.

Filter by name, email, or phone number substring match.

Fetches up to max_items contacts per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large contact list; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: email, phone, status, per_page, +3 more. Returns: result

list_geo_routesA

List geo routers and conditional routers across sub-accounts.

Fetches up to max_items of each per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large number of routers; a truncation warning is included if any account had more than max_items of either type.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, per_page, max_items, account_ids. Returns: result

list_numbersA

List tracking numbers and their routing across sub-accounts.

Shows which numbers exist, their type (toll-free/local), status, and current routing destination.

Fetches up to max_items numbers per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large number inventory; a truncation warning is included if any account had more than max_items.

Only queries active sub-accounts by default (this is about which accounts get searched, separate from status, which filters numbers by their own status). Pass account_status="archived", "canceled", "paused", or "all" to search other sub-accounts.

Inputs: status, per_page, max_items, account_ids, +3 more. Returns: result

list_queuesA

List call queues (ring groups, agent pools) across sub-accounts.

Fetches up to max_items queues per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large number of queues; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, per_page, max_items, account_ids. Returns: result

list_schedulesA

List time-based schedules across sub-accounts.

Schedules control when routing rules are active (business hours, holidays, etc.).

Fetches up to max_items schedules per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large number of schedules; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, per_page, max_items, account_ids. Returns: result

list_sourcesA

List tracking sources (channels, campaigns) across sub-accounts.

Fetches up to max_items sources per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large source list; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, per_page, max_items, account_ids. Returns: result

list_sub_accountsA

List sub-accounts accessible by the parent API key.

Defaults to active accounts only. Pass status="archived", "canceled", or "paused" to see those instead, or status="all" for every account regardless of status.

Returns account IDs, names, statuses, and any labels from the CTMMulti accounts configuration file.

Inputs: status. Returns: result

list_tagsA

List tags (labels) across sub-accounts.

Tags are used to categorize calls, contacts, numbers, etc.

Fetches up to max_items tags per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large number of tags; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, per_page, max_items, account_ids. Returns: result

list_textsA

List SMS/text messages across sub-accounts.

Useful for auditing text communication across all client accounts.

Fetches up to max_items texts per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with heavy text volume or narrow start_date/end_date instead; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, end_date, per_page, max_items, +2 more. Returns: result

list_usersA

List users (agents, admins) across sub-accounts.

Fetches up to max_items users per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large user list; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, per_page, max_items, account_ids. Returns: result

list_voice_botsA

List VoiceAI voice bots across sub-accounts.

Fetches up to max_items voice bots per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large number of bots; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, per_page, max_items, account_ids. Returns: result

list_voice_menusA

List IVR voice menus across sub-accounts.

Fetches up to max_items voice menus per account, paging automatically (CTM caps per_page at ~100, so this walks as many pages as needed rather than returning just the first one) — raise max_items for accounts with a large number of menus; a truncation warning is included if any account had more than max_items.

Defaults to active sub-accounts only. Pass status="archived", "canceled", "paused", or "all" to include others.

Inputs: status, per_page, max_items, account_ids. Returns: result

reports_seriesA

Get time-series call data aggregated by dimension across sub-accounts.

Uses the CTM Reports Series API to return call counts broken down by the requested dimension. This is the most flexible reporting endpoint — supports 40+ dimensions for slicing call data.

Required: start_date, end_date (ISO format, e.g. 2026-01-01) by: dimension to aggregate on (use reports_series_dimensions for the full list) interval: time granularity — hour, day (default), month, year

If the response comes back empty (items=0), the output includes the envelope keys so the request can be debugged without checking server logs.

Known limitation: this endpoint occasionally returns items=0 even for accounts with known call volume. When it works it's server-side fast; when it doesn't, fall back to call_disposition_report for the same data (client-side aggregation, works reliably).

Optional filters: direction: inbound, outbound, form, msg_inbound, msg_outbound multi_tracking_numbers + operator: filter by tracking number IDs multi_receiving_numbers + operator: filter by receiving number IDs ring_time/talk_time/duration + operator: filter by time thresholds multi_tags + operator: filter by tag names Operators: includes, excludes, less_than, less_than_equal, greater_than, greater_than_equal, equal

Inputs: by, duration, end_date, interval, +15 more. Returns: result

reports_series_dimensionsA

List available dimensions for the reports_series tool.

These are the values you can pass to the 'by' parameter.

Inputs: no named parameters. Returns: result

search_callsA

Search calls across sub-accounts.

Pass account_ids as a comma-separated list, or omit to search all active sub-accounts. For large result sets, use per_page and page for pagination, or use narrow date ranges.

Only searches active sub-accounts by default. Pass account_status="archived", "canceled", "paused", or "all" to search other sub-accounts.

Each result line includes call_status/dial_status, the logged disposition (CTM's 'sale' outcome field, e.g. "wrong number", "no message"), source, tags, and (when present) the ad-platform campaign/keyword from CTM's per-call "paid" attribution object — no need to call get_call just to see the outcome or ad attribution of a call. Note campaign/keyword are frequently blank for non-paid traffic, and keyword specifically can be blank even for paid Search traffic (Google withholds it for some queries) — that omission from the line is expected, not a sign the field is missing from the API.

NOTE: the CTM calls-list API does not reliably filter server-side by status. This tool applies status and disposition as a best-effort client-side filter on top of whatever page is returned, so filtered counts only reflect the current page, not the full unfiltered total shown at the bottom of the output. For an accurate aggregate breakdown across all pages, use call_disposition_report instead of paging through search_calls with a filter.

If what's actually wanted is a row-level list of the matching calls themselves (not just counts) — e.g. "the calls answered over 60s yesterday with ID/Name/City/State" — use call_export instead of paging through search_calls page by page and manually filtering/collecting rows, and instead of looping get_call per call afterward to fill in name/city/state (those fields are already present on every call in this list, no per-call lookup needed). call_export filters across the full date range in one shot and returns ready-to-use CSV.

Inputs: tag, page, sort, status, +12 more. Returns: result

server_infoA

Return server version and build info to confirm which code is live.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 32 tools

    Disambiguation4/5

    The list_*/get_* pairs are each clearly scoped to a distinct entity (numbers, contacts, sources, etc.). The reporting tools (call_disposition_report, call_summary_report, call_export, call_crosstab, reports_series) have overlapping call-data purposes but their descriptions clarify distinct output formats and use cases, so an agent can usually pick correctly.

    Naming Consistency4/5

    The dominant pattern is list_<entity> / get_<entity>, which is consistent and predictable. The reporting tools deviate with names like call_export, call_crosstab, and reports_series, which are still descriptive but don't follow a uniform verb_noun convention. Overall the set is orderly, not chaotic.

    Tool Count3/5

    At 32 tools, the server is on the heavy side, exceeding the 3-15 tool sweet spot. However, the count is largely justified by the need to cover 12+ entity types with list/get pairs plus several reporting tools. It's not bloated with redundant duplicates, but it does tax an agent's context window.

    Completeness4/5

    The server covers a wide range of call-tracking resources (calls, numbers, contacts, sources, queues, bots, menus, schedules, routes, users, tags, texts) and provides multiple reporting/export options. Minor gaps exist: no get_text, get_tag, or get_sub_account, and no mutation operations, but for a read-heavy reporting API this is largely complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers