Skip to main content
Glama
pghdma

CallRail MCP

by pghdma

get_call_page_views

Get the visitor's page-view history behind a call: which pages they browsed (with timestamps) before and around dialing. Pairs with call_eligibility_check for conversion debugging: shows the actual session journey that led to the call.

Instructions

Get the visitor's page-view history behind a call: which pages they browsed (with timestamps) before and around dialing. Pairs with call_eligibility_check for conversion debugging: shows the actual session journey that led to the call.

Args: call_id: 'CAL...' id. account_id: Auto-resolves if omitted. per_page: Page size (max 250). page: 1-indexed.

Returns: JSON string with page_views[] (paginated).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
call_idYes
per_pageNo
account_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.4

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses that results are paginated, that `account_id` auto-resolves if omitted, and that the return is a JSON string with `page_views[]`. It does not disclose rate limits, whether the data is historical-only, or what happens when no page views exist. The pagination and auto-resolution details add value, but the behavioral profile is incomplete for a read tool with no annotation safety net.

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

Conciseness5/5

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

The description is compact and front-loaded: the core purpose is in the first sentence, the pairing context in the second, and the parameter details are in a tight bullet list. Every sentence earns its place; no filler or repetition of schema types.

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?

The tool has an output schema, so the return structure is already documented. The description adds the pagination semantics, the auto-resolution behavior, and the max page size, which are the non-obvious parts. It is complete enough for an agent to call it correctly, though it could mention whether page views are ordered chronologically or what 'around dialing' means precisely.

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 must compensate. It does: it explains `call_id` is a 'CAL...' id, `account_id` auto-resolves if omitted, `per_page` has a max of 250, and `page` is 1-indexed. This adds meaning beyond the raw schema, which only shows types and defaults. The only minor gap is not explaining the default page size behavior beyond the schema default of 100.

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 states a specific verb ('Get'), a specific resource ('visitor's page-view history behind a call'), and the exact content (pages browsed with timestamps before/around dialing). It also names a sibling tool (`call_eligibility_check`) and explains how they pair, which distinguishes it from the many call-related siblings like `get_call`, `get_call_recording`, and `get_call_transcript`.

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?

The description gives clear context for when to use it: for conversion debugging, to see the actual session journey that led to the call. It names the paired sibling (`call_eligibility_check`) but does not explicitly state when NOT to use it or list alternatives for other call data (e.g., `get_call_transcript` for the conversation). Still, the pairing guidance is strong enough to route an agent.

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