Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

call_summary

Read-onlyIdempotent

Summarize calls over a date window to return total, answered/missed, first-time/repeat, duration, and source breakdowns without paginating full history.

Instructions

Summarize calls over a date window.

Returns counts: total, answered/missed, first-time/repeat callers, total duration, and breakdowns by source and source_name. Useful for weekly/monthly rollups without pulling every call into context.

Counting rule: missed includes calls that reached voicemail, exactly as CallRail's own answer_status=missed filter and dashboard do, even though CallRail marks those calls answered=true. voicemail reports that subset separately. by_disposition breaks the window down by CallRail's call_disposition (answered, missed, abandoned, voicemail, voicemail_abandoned, voice_assist; outbound calls show as "outbound").

Note: requires days>=1 or an explicit start_date. Without a window this would paginate the entire account history (potentially 50+ pages of 250 calls each), which is rarely what callers want.

time_zone (IANA) aligns CallRail's day boundaries with the window and is used to compute "today" for days.

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": "call_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
end_dateNo
time_zoneNo
account_idNo
company_idNo
start_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.2
    • 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/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the safety profile is covered. The description goes well beyond that, disclosing a subtle non-obvious counting rule (missed includes voicemail despite CallRail's answered=true), the separately reported voicemail subset, disposition breakdown semantics including outbound behavior, and the cost of omitting a window (50+ pages of 250 calls). This is exactly the context an agent could not derive from annotations.

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?

The description is front-loaded with purpose, then return shape, then the counting-rule caveat, then the window requirement. Paragraphs are thematically organized and no sentence is filler. The counting-rule paragraph is dense, but each clause carries information that affects interpretation of the returned numbers.

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?

This is a read-only aggregation tool with six optional parameters, 0% schema coverage, and an output schema (so return format needn't be described). The description covers purpose, return keys, the tricky counting semantics, the window prerequisite, and time_zone effects. Missing are account_id/company_id scoping semantics and end_date behavior, which would complete the picture.

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

Parameters4/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 burden and adds real meaning: it explains days/start_date as a window requirement, what time_zone does (aligns CallRail day boundaries and computes 'today' for days), and why the window matters for avoiding full-account pagination. It does not explain end_date, account_id, or company_id, leaving some gaps, but the most consequential parameters are covered.

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 opens with a specific verb and resource: 'Summarize calls over a date window.' It clearly distinguishes this from detail-fetching siblings and names the return shape (counts, breakdowns by source and source_name). An agent can tell this is an aggregate-counting tool rather than a call-listing tool.

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 gives concrete usage context: 'Useful for weekly/monthly rollups without pulling every call into context,' which tells the agent when to prefer aggregation over fetching calls. It also states the prerequisite that a window (days>=1 or start_date) is required. It does not explicitly name an alternative sibling, but the aggregation-vs-detail distinction is clear.

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