Skip to main content
Glama

get_call_history

Read-only

Fetch the power-dialer call history visible to the user: their own calls, plus teammates' calls when the team's call-history visibility allows it (read-only). Returns recent calls, each with callRecordingSignedUrl, a link to the call recording that anyone holding it can open for 1 hour (null when no recording is stored); supports paging (page, pageSize), an optional contact-name or phone-number search term, and optional filters: toNumber / fromNumber (free-text phone match), directions (inbound/outbound), dispositions (predefined call dispositions), a dialingTimeFrom/dialingTimeTo ISO date range, prospectListId / campaignId (mutually exclusive — a call belongs to either a campaign or a prospect list), contactId / contactName (mutually exclusive — one exact contact, or a free-text match on the contact's full name), companyId (the contact's company), dialedByUserId (a visible team member) and filter=voicemails (only inbound calls where the caller left a voicemail). Every call record counts toward pagination.total: inbound and outbound, whatever the outcome, including calls that failed or were never placed — narrow it with directions.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
filterNo
searchNo
pageSizeNo
toNumberNo
companyIdNo
contactIdNo
campaignIdNo
directionsNo
fromNumberNo
contactNameNo
dispositionsNo
dialingTimeToNo
dialedByUserIdNo
prospectListIdNo
dialingTimeFromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / contactId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / contactName
      Added value: +{
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only annotations, it discloses important behavior: team visibility rules, a recording URL that anyone can open for one hour, null when no recording exists, pagination totals that include failed or never-placed calls, and mutually exclusive filter pairs. These are meaningful operational details an agent would not know from annotations alone.

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 and contains no filler; nearly every clause adds useful scope, return, or filter semantics. However, the long dense paragraph and semicolon-heavy filter inventory make it harder to scan than a short structured list would be.

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 16-parameter read tool with no output schema and only read-only annotations, it is quite complete on invocation behavior, visibility, pagination, and recording links. It only partially describes the returned call record fields beyond callRecordingSignedUrl and does not specify ordering beyond 'recent calls'.

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% across 16 parameters, so the description carries the full burden and largely meets it. It explains paging, search, phone-number matching, directions, dispositions, date range, prospect-list versus campaign exclusivity, contact-id versus contact-name exclusivity, company, dialer identity, and voicemail filtering.

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: fetching power-dialer call history visible to the user. It also defines the visibility scope, including the user's own calls and teammates' calls when allowed, which makes the tool's purpose unambiguous.

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 contextual guidance: it is read-only, scoped to visible calls, and supports filtering and paging. It does not explicitly name alternative sibling tools such as transcript or summary tools, so there are no exclusions or direct routing instructions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.