Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

list_form_submissions

Read-onlyIdempotent

Retrieve CallRail form submissions by company and date range, with pagination and filters for lead status, tags, and form fields.

Instructions

List form submissions captured by CallRail's Form Tracking. Paginated. Filterable by company and date window.

Args: account_id: CallRail 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). per_page: Page size (max 250). page: 1-indexed. fields: Comma-separated additional fields to include, e.g. 'company_name,form_data,referrer,landing_page_url,source, utm_source,utm_medium,utm_campaign,utm_content,utm_term, gclid,fbclid,form_url,form_name'.

Returns: JSON string with page, per_page, total_pages, total_records, and form_submissions[]. Each submission has id ('FOR...'), submitted_at, customer details (if captured), and a form_data dict keyed by form field name.

Filters: lead_status ('good_lead' | 'not_a_lead' | 'not_scored'), tags (any of), person_lead (only submissions linked to a lead), sort ('submitted_at' | 'form_url'; 'created_at' is being deprecated by CallRail) with order ('asc' | 'desc'), and time_zone (IANA). Requires form tracking to be enabled on at least one company; otherwise CallRail returns 403 (the error carries a hint).

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_form_submissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
pageNo
sortNo
tagsNo
orderNo
fieldsNo
end_dateNo
per_pageNo
time_zoneNo
account_idNo
company_idNo
start_dateNo
lead_statusNo
person_leadNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.3.2
    • 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 / person_lead
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Person Lead"
      +}
    • 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"
      +}
  2. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new behavioral context: pagination shape, the 403 failure mode and its hint, the auto-resolving account_id, and CallRail's deprecation of 'created_at' as a sort key. That is substantive detail beyond the annotations, though return-format notes overlap the output schema.

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 purpose followed by clean Args/Returns/Filters blocks makes it scannable despite its length. A few lines, notably the Returns block and the long fields example list, partly duplicate the output schema and could be trimmed.

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?

For a 14-parameter, zero-coverage schema this is close to complete: temporal, pagination, filtering and error behavior are all covered. The only shortfall is that no sibling routing (e.g. use get_form_submission for a single record) is offered, and the Returns section restates an existing output schema.

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 coverage is 0% across 14 parameters, so the description must carry the full load, and it does: every parameter is documented with semantics the schema lacks, including the days/start_date interaction, end_date defaulting to today, per_page max 250, 1-indexed page, auto-resolving account_id, and enumerated values for lead_status, sort, order and time_zone.

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

Purpose4/5

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

Opens with a specific verb+resource ("List form submissions captured by CallRail's Form Tracking") plus scope notes on pagination and filtering. It is immediately distinguishable from get_form_submission and the mutation siblings, but it never names an alternative explicitly, so it falls short of a 5.

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

Usage Guidelines3/5

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

It gives a real prerequisite (form tracking must be enabled on at least one company, otherwise a 403 with a hint) and explains the days-vs-start_date precedence. However, there is no explicit when-to-use/when-not guidance relative to siblings such as get_form_submission or list_leads, so usage is only implied.

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