Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

update_notification

Idempotent

Update a CallRail notification rule to change alert type, enable/disable call or SMS triggers, adjust email/desktop/mobile delivery, or re-scope it to a company or tracker.

Instructions

Update a notification rule. Pass None to leave a field unchanged; only fields with explicit values are sent in the PUT body.

Notification rules trigger emails / desktop pushes / SMS when calls or form submissions match conditions. Use this to rewire targets, change triggering events, or silence a noisy rule without deleting it (set all send_* to False).

Args: notification_id: Notification rule ID. name: NOT updatable (CallRail generates it). Ignored and reported under api_warnings. alert_type: 'all', 'first_call', 'missed_and_vm' or 'vm_only' (CallRail rejects the older vocabulary). Unknown values warn but are passed through. send_email: Send email notification. send_desktop: Send desktop browser push. send_push: Send mobile push notification. call_enabled: Trigger on call events. sms_enabled: Trigger on SMS events. email: NOT updatable (an email-only recipient is fixed when the rule is created). Ignored and reported under api_warnings. company_id / tracker_id: Re-scope the rule. account_id: CallRail account ID. Auto-resolves if omitted.

Returns: JSON string with the updated notification rule, plus api_warnings when name or email was ignored.

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": {
      "notification_id": "<notification_id>"
    },
    "name": "update_notification"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
emailNo
send_pushNo
account_idNo
alert_typeNo
company_idNo
send_emailNo
tracker_idNo
sms_enabledNo
call_enabledNo
send_desktopNo
notification_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.3.2
    • addedInput schema / properties / company_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Company Id"
      +}
    • addedInput schema / properties / notification_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "integer"
      +  }
      +]
    • removedInput schema / properties / notification_id / type
      Removed value: -"string"
    • addedInput schema / properties / tracker_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Tracker Id"
      +}
  2. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: partial-update semantics (None leaves a field unchanged, only explicit values go in the PUT body), two fields that are silently ignored and surfaced under `api_warnings`, accepted vs. rejected `alert_type` vocabulary, and account_id auto-resolution. These are exactly the surprises an agent would otherwise hit at runtime, and none of them are inferable from readOnlyHint/idempotentHint/destructiveHint.

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 with the update semantics and the PUT-body rule, then a short gloss on what notification rules are, then a structured Args block. Some of the Args lines necessarily restate schema property names, but that repetition is justified by the 0% schema coverage; the prose sections contain no wasted sentences.

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 12-parameter mutation with an output schema, the definition covers everything material: partial-update contract, ignored fields and their warning channel, enum vocabulary, ID resolution, and the silencing workflow. Return values are documented only as far as needed since an output schema exists.

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% across 12 parameters, so the description carries the full burden — and it does, documenting every parameter in the Args block, including which ones are NOT updatable (`name`, `email`), the accepted `alert_type` values, and the semantics of the paired `send_*` vs. `*_enabled` flags. This is meaning the schema alone cannot supply.

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?

Opens with a specific verb+resource ("Update a notification rule") and then explains what the resource actually is — rules that trigger emails/desktop/SMS on matching calls or form submissions. It further enumerates the concrete operations (rewire targets, change triggering events, silence a rule) so the agent knows exactly what class of change this performs.

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?

Gives clear when-to-use context (rewire targets, change triggering events) and a non-obvious technique: silence a noisy rule by setting all `send_*` to False instead of deleting it. It does not name siblings such as delete_notification or create_notification as explicit alternatives, so the routing guidance is implied by the verb rather than stated.

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