Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

call_eligibility_check

Read-onlyIdempotent

Audit whether a CallRail call is eligible as a Google Ads conversion by checking gclid, answered status, duration threshold, and Google source; return pass/fail reasons and remediation.

Instructions

Audit whether a specific call is/was eligible to count as a Google Ads conversion. Useful for "where did my conversion go" debugging.

Checks:

  1. Did the call have a gclid? (Required for CallRail to upload to Google Ads as a UPLOAD_CLICKS Phone Call conversion.)

  2. Was the call answered? (Most integrations skip unanswered.)

  3. Did duration meet Google Ads' minimum? (Default 60s; configurable per conversion action in Google Ads UI.)

  4. Is the call from a Google source? Detection uses CallRail's internal source slug (e.g. google_paid, google_my_business)

    • presence of gclid, NOT the user-editable source_name display string (which can mislead, e.g. "Bing Ads (Google legacy import)" would substring-match as Google but is clearly Bing).

Args: call_id: 'CAL...' id. google_ads_min_duration_seconds: Threshold to check duration against. Defaults to 60 (Google's UI default). Override if you've lowered it on a specific conversion action. account_id: Auto-resolves if omitted.

Returns: Verdict + each criterion's pass/fail + suggested remediation when eligibility fails.

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": {
      "call_id": "<call_id>"
    },
    "name": "call_eligibility_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
call_idYes
account_idNo
google_ads_min_duration_secondsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description earns credit for going well beyond them: it enumerates the four eligibility criteria checked and how each can fail. The note that Google-source detection uses the internal `source` slug rather than the user-editable `source_name` display string is exactly the kind of non-obvious behavioral nuance an agent could not infer 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?

Purpose is front-loaded in one sentence, followed by a numbered checklist and an Args block — a structure that reads quickly. The parenthetical about the 'Bing Ads (Google legacy import)' substring example is longer than strictly necessary, though it does illustrate a real pitfall.

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?

Even though an output schema exists (so return values needn't be documented), the description still summarizes the return shape as verdict plus per-criterion pass/fail plus remediation. Combined with the four explicit checks, nothing an agent needs to call this correctly is missing.

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%, so the description must carry all three parameters — and it does: call_id as a 'CAL...' id, google_ads_min_duration_seconds with its default of 60 and the reason to override it, and account_id as auto-resolving when omitted. This fully compensates for the empty schema descriptions and adds meaning (when to override the threshold) that the schema cannot express.

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: "Audit whether a specific call is/was eligible to count as a Google Ads conversion." That framing is diagnostic rather than retrieval or mutation, so an agent can distinguish it from get_call or call_stats without opening any schema.

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 names a concrete trigger scenario — "where did my conversion go" debugging — which tells the agent when this tool is the right pick. It stops short of naming alternatives or stating when not to use it, so it is clear context without explicit routing.

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