Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

list_calls

Read-onlyIdempotent

Retrieve paginated CallRail calls filtered by company, date range, answer status, direction, device, call type, lead status, tags, or search terms.

Instructions

List calls. Paginated. Filterable by company, date window, and answer status.

Args: account_id: Auto-resolves if omitted. company_id: Filter to one company. Omit for all companies. days: Lookback in days (default 7). Ignored if start_date provided. start_date: 'YYYY-MM-DD'. end_date: 'YYYY-MM-DD' (defaults to today). answer_status: Server-side filter. One of 'answered', 'missed', 'voicemail'. This is CallRail's real filter parameter. Note that 'missed' includes calls that reached voicemail (CallRail's own definition) and 'voicemail' selects only that subset. answered: DEPRECATED alias kept for backwards compatibility. 'true' maps to answer_status='answered', 'false' to 'missed'. (CallRail has no answered query param; passing it used to be silently ignored, so results were unfiltered.) source: CallRail has NO server-side source filter, so this is applied CLIENT-SIDE to the current page only: the calls array is filtered by exact, case-insensitive match on each call's source field. total_records/total_pages in the response still describe the UNFILTERED query. See source_filter in the response for what was actually applied. For source breakdowns prefer call_stats(group_by='source'). per_page: Max 250. page: 1-indexed. fields: Comma-separated additional fields to include, e.g. 'company_name,source_name,keywords,landing_page_url,device_type, first_call,value,tags,note,gclid,fbclid,utm_source,utm_medium, utm_campaign,utm_content,utm_term,referrer_domain'.

Server-side filters (documented, live-verified 2026-10-05): search matches business_phone_number, customer_name, customer_number, note, source and tracking_phone_number (any fragment of a phone number works); direction ('inbound' | 'outbound'); device ('desktop' | 'mobile'); call_type ('first_call' | 'missed' | 'abandoned' | 'voicemails' | 'inbound' | 'outbound' | 'voice_assist' | 'all'); lead_status ('good_lead' | 'not_a_lead' | 'not_scored'); tracker_id; tags (calls carrying ANY of the listed tag names); sort (a call field such as 'start_time', 'duration' or 'customer_name') with order ('asc' | 'desc'). time_zone (IANA) sets the day boundaries CallRail applies to the window and is also used to compute "today" for days; without it CallRail uses the API key owner's time zone.

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
daysNo
pageNo
sortNo
tagsNo
orderNo
deviceNo
fieldsNo
searchNo
sourceNo
answeredNo
end_dateNo
per_pageNo
call_typeNo
directionNo
time_zoneNo
account_idNo
company_idNo
start_dateNo
tracker_idNo
lead_statusNo
answer_statusNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.3.2
    • addedInput schema / properties / call_type
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Call Type"
      +}
    • addedInput schema / properties / device
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Device"
      +}
    • addedInput schema / properties / direction
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Direction"
      +}
    • addedInput schema / properties / lead_status
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Lead Status"
      +}
    • addedInput schema / properties / order
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Order"
      +}
    • addedInput schema / properties / search
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Search"
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Sort"
      +}
    • addedInput schema / properties / tags
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Tags"
      +}
    • addedInput schema / properties / time_zone
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Time Zone"
      +}
    • addedInput schema / properties / tracker_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Tracker Id"
      +}
  2. Changed1 schema field changedv1.2.2
    • addedInput schema / properties / answer_status
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Answer Status"
      +}
  3. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnly, idempotent, non-destructive), and the description adds substantial non-obvious behavior: `source` is applied client-side to only the current page while `total_records`/`total_pages` remain unfiltered, and `answered` used to be silently ignored by CallRail. Those caveats materially change how an agent interprets results.

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

Conciseness4/5

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

Front-loaded with the one-line purpose before the Args block, and every section maps to real parameter decisions rather than filler. It is long, but the length is driven by 21 undocumented parameters; the only marginal cost is the very long `fields` example list and the "live-verified" note.

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?

For a 21-parameter read tool with zero schema descriptions, the description supplies defaults, ranges, enum options, deprecation behavior, and filtering semantics. Return-value coverage is not needed here since an output schema exists, and the one response detail mentioned (totals remain unfiltered) is exactly the part an agent could misread.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden, and it documents all 21 parameters, including enum values for answer_status, call_type, lead_status, direction, device, order, the YYYY-MM-DD date formats, per_page cap of 250, and 1-indexed paging. It also supplies the concrete field names usable in `fields` and the matched fields for `search`.

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?

Opens with a specific verb+resource ("List calls") and states the primary scope (paginated, filterable by company, date window, answer status). It also distinguishes itself from a sibling by directing source breakdowns to `call_stats(group_by='source')`, so an agent can route without opening another schema.

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

Usage Guidelines5/5

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

Explicit guidance throughout: omit company_id for all companies, `days` is ignored when `start_date` is given, `answered` is deprecated in favor of `answer_status`, and source breakdowns should use `call_stats` instead. It even advises avoiding `source` for aggregate work because it filters only the current page.

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