Skip to main content
Glama

Search call history

search_calls
Read-onlyIdempotent

Finds phone calls on this Widely seat by date range, direction, contact name, or number. Returns one row per phone call, with direction, duration, outcome, the identity used, and whether a transcript or recording exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLook back this many days (default 30).
lineNo
limitNoMax rows to return.
queryNoWords from a stored transcript. Pro.
sinceNoISO 8601 start (inclusive).
untilNoISO 8601 end (exclusive).
numberNoPhone number or trailing digits.
contactNoSaved contact name to match.
directionNo
missed_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so safety is covered. The description adds value beyond them by disclosing the return shape (one row per call with direction, duration, outcome, identity, and transcript/recording presence) even though no output schema exists. It stops short of describing pagination or the seat-scoping behavior.

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?

Two sentences, zero waste: the first front-loads what the tool searches by, the second front-loads what it returns. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter tool with no output schema, the description covers the primary filters and the return shape reasonably well. However, it omits transcript-text search ('query'), missed_only, line selection, and any pagination guidance, leaving real gaps for an agent to discover only in the schema.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 70% schema coverage, the schema already documents days, limit, since, until, number, and contact, and the description's filter list largely duplicates those. It omits notable parameters such as the transcript-word 'query', 'line', and 'missed_only', so it adds only marginal meaning over the structured fields.

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?

The description names a specific verb ('Finds') and resource ('phone calls on this Widely seat'), and enumerates the filter dimensions (date range, direction, contact name, number). That resource noun cleanly separates it from siblings like search_contacts, search_messages, and search_numbers, though it never explicitly contrasts with the single-call sibling get_call.

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?

Usage is implied rather than stated: an agent can infer 'use this to find calls matching filters,' but there is no when-to-use/when-not guidance, no mention of when to prefer get_call for a single call, and no note on result limits or paging. Adequate but with clear gaps.

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.