Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

delete_notification

DestructiveIdempotent

Deletes a CallRail notification rule by ID, removing it from the account so it no longer triggers alerts. To keep the rule but mute alerts, update its send settings instead.

Instructions

Delete a notification rule. The rule is gone. To keep but mute it, prefer update_notification(send_email=False, send_desktop=False, send_push=False).

Args: notification_id: Notification rule ID. account_id: CallRail account ID. Auto-resolves if omitted.

Returns: JSON string {"deleted": True, "notification_id": ..., "response": ...}. The response mirrors CallRail's body (often empty on 204).

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

Input Schema

NameRequiredDescriptionDefault
account_idNo
notification_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.2
    • addedInput schema / properties / notification_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "integer"
      +  }
      +]
    • removedInput schema / properties / notification_id / type
      Removed value: -"string"
  2. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description reinforces irreversibility ('The rule is gone') and describes the response body including the 'often empty on 204' case, which is behavior not visible in annotations. It does not mention permission requirements, but the added context is meaningful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the destructive action and its consequence, then the alternative, then structured Args/Returns. Every sentence adds information; the two-sentence opening is deliberate emphasis rather than padding.

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 two-parameter destructive tool, the definition covers purpose, the safer alternative, both parameters including the auto-resolve rule, and the return shape. The explicit return description slightly duplicates the output schema, but the 204 note adds real value.

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 0%, so the description carries the full burden and does document both parameters, including the non-obvious behavior that account_id auto-resolves if omitted. The notification_id explanation ('Notification rule ID') is minimal and does not address the string-or-integer union in 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?

States a specific verb and resource ('Delete a notification rule') and immediately clarifies the consequence ('The rule is gone'), which separates it from the sibling update_notification that also touches the same resource.

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?

Gives an explicit when-not-to-use case with the exact alternative call: 'To keep but mute it, prefer update_notification(send_email=False, send_desktop=False, send_push=False)'. The agent does not need to infer the safer path.

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