Skip to main content
Glama
Dialpad MCP server

Dialpad MCP server

dialpad_search_calls

Read-onlyIdempotent

Search finished Dialpad calls by text across a date range and optional user/office target, including AI recaps; use it to find calls by contact name, phone number, summary, or action items.

Instructions

Search finished calls for text. Dialpad's API cannot search calls itself, so this lists calls in a date range (default the last 30 days; optionally one user, office or call center via target_id/target_type) and matches the text against the contact name, contact phone and external number. With search_recaps it also reads the AI recap of up to max_recap_reads (default 8, at most 10) further connected calls, newest first, and matches the summary, action items and purposes. Recap reads are slow (about 12 per minute), so narrow the date range or target to search recaps over more calls. Returns the matching calls with where each matched. Contains personal information - admin-gated.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "dialpad_search_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesText to find: a contact or company name, part of a phone number, or words in the AI recap.
max_callsNoMost calls to scan (default 500).
target_idNoOnly calls for this target ID. Needs target_type.
target_typeNoType of target_id.
search_recapsNoAlso search the AI recap text of recent connected calls that did not match on name or number.
started_afterNoOnly calls that started after this time (ISO 8601 or epoch ms). Default: 30 days ago.
started_beforeNoOnly calls that started before this time (ISO 8601 or epoch ms).
max_recap_readsNoMost AI recaps to read when search_recaps is set (default 8).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.2

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds substantial context: the API cannot search server-side, recap reads are rate-limited at roughly 12 per minute, results are admin-gated and contain personal information, and matches are read newest-first. These are exactly the operational facts an agent needs and none are in the 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?

Dense and front-loaded: mechanism first, then scoping, then the recap caveat, then privacy gating. A few defaults (30 days, 8/10 recap reads) are restated from the schema, but the sentences largely earn their place.

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 an 8-parameter search tool with no output schema, the description covers return shape ('the matching calls with where each matched'), cost/rate behavior, default time window, and access restrictions. An agent has enough to call it correctly and predict roughly what comes back.

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 coverage is 100%, so the baseline is 3, but the description goes further by explaining what search_recaps actually does in combination with max_recap_reads ('further connected calls, newest first') and what fields the match applies to. That interaction semantics is not derivable from the schema alone.

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 and resource ('Search finished calls for text') and explains the underlying mechanism ('Dialpad's API cannot search calls itself, so this lists calls in a date range...'). This makes its role distinct from an AI-recap getter or a plain lister, though no sibling tool is named outright.

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?

Gives clear usage conditions: use it to find text in contact name, phone, external number, and optionally recap content via search_recaps. It also advises narrowing the date range or target when reading recaps. It stops short of naming an explicit alternative for plain enumeration, which keeps it from a 5.

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