Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

update_tracker

Idempotent

Update a CallRail tracker's name, routing, greeting, SMS, recording, and swap-target settings while preserving unchanged basic call-flow fields; advanced call flows are rejected for flow edits.

Instructions

Update a tracker's mutable settings: name, whisper, SMS, swap targets, campaign name, and the basic call flow (destination, recording, greeting).

CallRail's PUT /trackers replaces the entire call_flow object, so when any call-flow field is given this tool first reads the tracker and merges the change into its current basic flow; the destination, recording flag and greeting you did not mention are preserved. Trackers on an advanced call flow (IVR menus, schedules, voicemail steps) are refused for call-flow edits because the API could only replace that flow with a basic one.

Args: tracker_id: 'TRK...' id. account_id: Auto-resolves if omitted. name: New display name. destination_number: Where calls forward (e.g. "+14129548337"). whisper_message: New whisper text (max 500 chars). greeting_text: New text-to-speech greeting (max 500 chars). sms_enabled: Toggle SMS on/off. recording_enabled: Toggle call recording for this tracker. greeting_recording_url: http(s) URL of a .wav/.mp3 greeting. CallRail copies the file once; greeting_text is cleared so the recording takes effect (pass one or the other, not both). swap_targets: Phone numbers on the website that this tracker's number replaces (any formatting). Replaces the current list. campaign_name: Campaign label for reports. Source trackers only.

Field-level rules: - name, destination_number, whisper_message, greeting_text must be non-empty strings if provided. Pass None (the default) to leave a field unchanged.

NOTE: Setting status via this PUT is silently ignored by CallRail. To disable a tracker, use delete_tracker(tracker_id) (soft-delete / disabled, keeps history). To permanently remove, contact CallRail support.

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": {
      "tracker_id": "<tracker_id>"
    },
    "name": "update_tracker"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
account_idNo
tracker_idYes
sms_enabledNo
swap_targetsNo
campaign_nameNo
greeting_textNo
whisper_messageNo
recording_enabledNo
destination_numberNo
greeting_recording_urlNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.3.2
    • addedInput schema / properties / campaign_name
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Campaign Name"
      +}
    • addedInput schema / properties / greeting_recording_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Greeting Recording Url"
      +}
    • addedInput schema / properties / recording_enabled
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Recording Enabled"
      +}
    • addedInput schema / properties / swap_targets
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Swap Targets"
      +}
  2. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only tell the agent this is a non-destructive, idempotent mutation; the description goes well beyond that by explaining the read-merge-write behavior forced by CallRail's PUT semantics, that unmentioned call-flow fields are preserved, that swap_targets replaces rather than appends, and that status is silently dropped. The one remaining gap is that it never says what the response contains, though the output schema covers that.

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?

The critical merge-semantics paragraph is front-loaded before the argument list, and the field-level rules and status caveat are separated into scannable blocks. It is long, but with 11 undocumented parameters and non-obvious PUT semantics most of that length earns its place; the Args section could be slightly tighter given the near-duplicate restatement in the 'Field-level rules' block.

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

Completeness4/5

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

For a mutation tool with 11 parameters, zero schema coverage, and hidden server-side quirks, the description covers the merge behavior, the advanced-flow refusal, the greeting file/text interaction, and the status trap. Return values are covered by the existing output schema, so the only real omission is confirmation of whether the merged tracker is returned or just a status.

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 it documents all 11 parameters individually, including formats ("+14129548337", max 500 chars, .wav/.mp3 URL), the 'pass None to leave unchanged' convention, and the mutual exclusivity of greeting_text versus greeting_recording_url. It adds meaning that is entirely absent from the schema.

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 sentence names a specific verb (update) and resource (tracker) and enumerates the mutable settings, so the scope is unambiguous. It also implicitly separates this from create_tracker/get_tracker by framing the fields as 'mutable settings', and the closing note explicitly redirects disabling to delete_tracker.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the conditions that select this tool versus siblings: use delete_tracker(tracker_id) for soft-delete/disable, contact CallRail support for permanent removal, and never pass status here because it is silently ignored. It also gives an explicit exclusion ('Trackers on an advanced call flow ... are refused for call-flow edits'), which lets an agent avoid a doomed call.

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