Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

list_accounts

Read-onlyIdempotent

Retrieve CallRail accounts accessible to your API key to get the account IDs required by other tools. Optionally include fields like numeric_id shown in app URLs.

Instructions

List CallRail accounts accessible to this API key.

Most users have one account per agency. The returned id is used as account_id in all other tools (auto-resolved if omitted, or pinned with the CALLRAIL_ACCOUNT_ID environment variable). fields (comma-separated) adds optional attributes such as 'numeric_id', the number shown in CallRail app URLs.

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_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.2
    • addedInput schema / properties / fields
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Fields"
      +}
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context: the typical one-account-per-agency shape of results and how the returned id propagates to other tools. It omits whether results are paginated or what happens with multi-account keys.

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?

The identifying sentence is front-loaded, and the remaining text is dense with operational context (id propagation, env-var pinning, fields example) rather than filler. No sentence is redundant.

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 zero-required-parameter read-only list tool with an output schema present, the description covers all the decision-relevant information: what it returns, the meaning of the id, and how account resolution works downstream. Nothing needed to invoke it correctly is absent.

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 must carry the single 'fields' parameter, and it does: comma-separated, adds optional attributes, with 'numeric_id' (the number in CallRail app URLs) as a concrete example. It does not enumerate the full set of valid field names, which leaves some guesswork.

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 ('List CallRail accounts') plus an explicit scope ('accessible to this API key'), which makes it immediately distinguishable from the other list_* siblings that cover calls, companies, trackers, and so on. An agent knows exactly what it gets without opening the 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?

Explains that the returned id is the account_id used by all other tools, and that it is auto-resolved when omitted or can be pinned via CALLRAIL_ACCOUNT_ID. That effectively tells the agent when this call is optional, which is stronger than most list tools, though it never states an explicit when-to-use/when-not-to-use rule.

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