Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

listBulkCallLines

Read-only

Retrieve per-contact call results for a bulk call campaign, including call outcomes, sent variables, and recording IDs, with cursor-based paging, status filters, and phone search.

Instructions

List per-contact results for a campaign.

Each row has what happened on the call, the variables you sent, and call.recording_id.

Paging

Call with no cursor. Then pass back the next_cursor you were given until it is null. Rows come oldest first. pagesize defaults to 30 and goes up to 150. Cursors are opaque, so never build one. No contact is skipped or returned twice, even while the campaign dials.

cursor = None
while True:
    page = GET /lines?pagesize=150&cursor={cursor}
    handle(page["records"])
    cursor = page["next_cursor"]
    if not cursor: break

Transcripts are not in the row

Transcripts reach 212 KB, so rows carry only call.recording_id. Fetch the transcript from GET /calls/logs/{recording_id}.

(Tags: Bulk calls)

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": {
      "bulk_call_id": "<bulk_call_id>"
    },
    "name": "listBulkCallLines"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoThe `next_cursor` from your previous response. Omit it on the first request. Opaque: pass it back unchanged.
searchNoAn exact phone number, matched against the contact's number and the number that called it. Not a substring search.
pagesizeNoRows per page. Above 150 the request is refused.
call_statusNoReturn only contacts in this state.
bulk_call_idYesId of the bulk call campaign.
include_totalNoAdd `total_records` to the response. It costs a count over the whole filtered campaign, so it is off unless you ask. Ask for it once to fill a header, not on every page of a walk.
interaction_statusNoReturn only contacts with this interaction outcome.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld; the description goes well beyond by disclosing ordering (oldest first), the pagination size cap, the stability guarantee that no contact is skipped or duplicated while the campaign dials, and the deliberate omission of transcripts due to 212 KB payloads. That is exactly the behavioral context an agent cannot get from structured fields.

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?

Section headers (Paging, Transcripts) front-load the essentials and each paragraph carries distinct information. The pseudo-code loop largely restates the prose above it, which is the only redundancy; otherwise there is no filler.

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?

With no output schema, the description still covers return shape (per-row fields, optional total_records), ordering, and pagination termination, plus how to obtain data intentionally excluded from rows. Nothing an agent needs to call this correctly is left unstated.

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 already 100%, so baseline is 3; the description earns extra by explaining that cursors are opaque and must be passed back unchanged, the pagesize range, and the real cost semantics of include_total (a full filtered count, so request it once for a header). It adds meaning rather than restating types.

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?

"List per-contact results for a campaign" names a specific verb and resource, and the next sentence defines exactly what a row contains (call outcome, sent variables, call.recording_id). It also implicitly separates this tool from call-log tools by routing transcript retrieval to GET /calls/logs/{recording_id}.

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 explicit operational guidance: start with no cursor, pass next_cursor back until null, never construct a cursor, and ask for include_total once rather than on every page. What's missing is a direct statement of when to prefer this over siblings such as getBulkCallLiveStatus or listCallLogs, though the transcript note does partial routing work.

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

Deploy Server

Other Tools