Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

list_notifications

Read-onlyIdempotent

Retrieve and filter notification rules to review who receives alerts and how, using company, user, email, or notification-type filters plus pagination.

Instructions

List notification rules on the account.

Args: company_id: Applied CLIENT-SIDE (CallRail ignores it as a query param). Keeps rules scoped to that company plus account-wide rules (company_id null), which also fire for it. The page's total_records describes the unfiltered query; see company_filter in the response. user_id: Server-side filter on the notified user. notification_type: Server-side filter: 'push', 'email', or 'desktop'. email: Server-side filter on an email-only recipient. per_page: Page size (max 250). page: 1-indexed. account_id: Auto-resolves if omitted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_notifications"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
emailNo
user_idNo
per_pageNo
account_idNo
company_idNo
notification_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.2
    • addedInput schema / properties / email
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Email"
      +}
    • addedInput schema / properties / notification_type
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Notification Type"
      +}
  2. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the description is freed to add real behavioral context — and it does: company_id is applied client-side because CallRail ignores it as a query param, and `total_records` reflects the unfiltered query with `company_filter` surfacing the discrepancy. That pagination/filter mismatch is a non-obvious trap an agent would otherwise get wrong. Minor gaps remain around auth/permission requirements and ordering.

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 compact args block. Each line carries distinct information, though the docstring-style formatting is slightly verbose compared to prose and a couple of lines (email, user_id) are near-tautological restatements of the field names.

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?

An output schema exists, so return fields need not be enumerated, and the description usefully flags `company_filter` and `total_records` where they matter. All seven params are covered. A note on default sort order and on what a notification rule contains would close the remaining gap.

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 tags each of the seven params as client-side or server-side, supplies enum values for notification_type ('push','email','desktop') that the schema lacks, states per_page max 250 and that page is 1-indexed, and explains account_id auto-resolution. This is meaning well beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: "List notification rules on the account." An agent can immediately tell what the tool returns. It does not differentiate from siblings like create_notification or delete_notification, but the verb itself makes the direction obvious.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent infers this is the read path for notification rules, and the company_id note explains a scoping behavior. There is no explicit when-to-use versus when-not guidance, nor a pointer to create_notification/delete_notification for the mutation paths.

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