Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

list_companies

Read-onlyIdempotent

Retrieve companies under a CallRail account, filter by status or name, and paginate results to manage client businesses.

Instructions

List companies (client businesses) under a CallRail account.

Args: account_id: CallRail account ID. Auto-resolves if omitted. per_page: Page size (max 250). status: Filter by status. Defaults to None (returns all). Common values: 'active' (excludes disabled/soft-deleted), 'disabled'. page: 1-indexed. Agencies with more than per_page companies need this to reach the rest. Previously there was no way to fetch page 2 via this tool.

search matches the company name; fields (comma-separated) adds optional attributes, for example 'verified_caller_ids' (the readable list of outbound caller IDs, which the caller_ids endpoint itself gates behind a permission).

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

Input Schema

NameRequiredDescriptionDefault
pageNo
fieldsNo
searchNo
statusNo
per_pageNo
account_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.2/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 safety is covered structurally. The description nonetheless adds real behavioral context beyond that: the soft-delete semantics of status='active', the per_page cap of 250, and the note that 'verified_caller_ids' surfaces data the caller_ids endpoint gates behind a permission. The unexplained trailing sentence about page 2 being previously unreachable is changelog noise rather than behavior.

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 Args block is well organized and front-loaded with the purpose statement, and each parameter line earns its place. The only waste is the sentence 'Previously there was no way to fetch page 2 via this tool,' which is release-note material an agent does not need in order to call the tool.

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?

With an output schema present, the description need not explain return values, and with six parameters at 0% schema coverage it correctly spends its budget documenting all of them. Combined with annotations covering the safety profile, an agent has enough to call it correctly; only the absent alternative-tool guidance leaves a small 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 must carry the full burden and it does: account_id auto-resolves if omitted, per_page caps at 250, status enumerates 'active'/'disabled' with their meanings, page is 1-indexed, search matches company name, and fields is comma-separated with a concrete example. Every one of the six parameters receives meaning that the schema alone does not provide.

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?

The description opens with a specific verb and resource, 'List companies (client businesses) under a CallRail account,' and parenthetically disambiguates the object as a client business. It is clear on its own, but it never contrasts itself with sibling readers such as list_accounts or the create/delete_company tools, so differentiation is left to the name.

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?

It gives concrete usage context: page is needed when an agency has more companies than per_page, status 'active' excludes disabled/soft-deleted records, search matches the company name, and fields adds optional attributes. What is missing is an explicit exclusion or named alternative (e.g., when to use list_accounts instead), so it stops short of a full when/when-not statement.

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