Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

update_call

Idempotent

Edit an existing call's notes, tags, customer name, lead status, or spam flag to keep CallRail records accurate and support follow-up workflows.

Instructions

Update an existing call: notes, tags, spam flag, customer name, lead status.

Args: call_id: 'CAL...' id of the call to update. account_id: Auto-resolves if omitted. note: Replace the call's note text. tags: REPLACE the call's tag list with this set of tag names. (Use add_call_tags/remove_call_tags for additive changes.) spam: True to mark as spam. False is rejected: CallRail cannot un-mark spam via the API. Note: spam-flagged calls are HIDDEN from default GET endpoints; re-reads will 404. Tag the call BEFORE flagging spam if you need both. customer_name: Override the auto-detected caller name. lead_status: 'good_lead' or 'not_a_lead'. CallRail returns 400 when a call already at previously_marked_good_lead is set to good_lead.

Note: value is intentionally NOT exposed here. CallRail's API returns a 500 server error when value is included in the PUT body to /calls (verified via live testing 2026-04-24). It IS supported on form submissions. See update_form_submission.

Empty-string fields (e.g. note="") are rejected because CallRail interprets them as "clear this field", which is almost always a mistake. To intentionally clear a field, set it to None and use a separate UI operation, or contact CallRail support.

Length caps (rejected pre-network): - note: 4000 chars - customer_name: 200 chars - tags: 100 entries max

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

Input Schema

NameRequiredDescriptionDefault
noteNo
spamNo
tagsNo
call_idYes
account_idNo
lead_statusNo
customer_nameNo

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?

Far beyond the annotations: it discloses that spam-flagged calls are hidden from default GET endpoints and re-reads will 404, that `spam=false` is rejected outright, that lead_status can return 400 for previously_marked_good_lead, and that `value` triggers a 500 on the /calls PUT body. Empty-string rejection semantics and per-field length caps are also spelled out — these are exactly the failure modes annotations cannot convey. The idempotentHint=true is consistent with the described REPLACE semantics for tags.

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?

Front-loaded summary sentence followed by a clean per-argument breakdown, with warnings placed next to the field they affect. Nearly every sentence earns its place; the parenthetical provenance note ('verified via live testing 2026-04-24') adds length without changing agent behavior.

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 a 7-parameter mutation tool with zero schema coverage, everything an agent needs is present: field semantics, ordering constraints, pre-network validation limits, and the specific server-error traps. An output schema exists, so return values need not be described, and the annotations cover the safety profile.

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 carries the full burden and does: it explains `account_id` auto-resolves when omitted, `tags` replaces rather than appends, `note` replaces note text, `spam` only accepts True, `lead_status` accepts only 'good_lead'/'not_a_lead', and `customer_name` overrides auto-detection. Length caps per field are documented where the schema offers no constraints.

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 opening line states a specific verb (Update) and resource (an existing call) and enumerates exactly which fields are mutable: notes, tags, spam flag, customer name, lead status. It also distinguishes itself from tag siblings by noting `add_call_tags`/`remove_call_tags` are for additive changes, so an agent can route correctly without opening another 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 gives explicit routing for the main ambiguity (use add/remove_call_tags for additive tag changes, since `tags` here REPLACES) and an ordering rule ('Tag the call BEFORE flagging spam if you need both'). It also tells the agent that `value` cannot be set here and points to `update_form_submission`. It stops short of saying when to prefer `bulk_update_calls` over this single-call tool, so not a full when/when-not map.

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