Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

create_company

Create a new client company under a CallRail account for onboarding, with optional feature toggles applied after creation. Use it to set up a company before provisioning trackers.

Instructions

Create a new company (client) under the account.

Useful for new-client onboarding. CallRail bills per number, not per company: creating a company is free; provisioning trackers under it is what costs money (see create_tracker).

CallRail's POST /companies accepts only name and time_zone. Every feature toggle is a PUT field, so when any toggle is given this tool creates the company and then applies the toggles with a second call; the response carries settings_applied (or settings_not_applied plus api_warnings if that second call failed).

Args: name: Display name (e.g. "Smith & Co Roofing"). Required. time_zone: IANA TZ. Default 'America/New_York' (matches your existing companies). Common: 'America/Los_Angeles', 'America/Chicago', 'America/Denver'. callscore_enabled: CallRail CallScore AI scoring (paid feature). Pass None (default) to inherit the account default. lead_scoring_enabled: NOT settable via the API (read-only field); passing it returns an error. Toggle it in the CallRail UI. swap_exclude_jquery: Deprecated by CallRail, has no effect. Not sent; reported under api_warnings. callscribe_enabled: Conversation Intelligence transcripts (paid). None=inherit. keyword_spotting_enabled: Deprecated by CallRail, has no effect. Not sent; reported under api_warnings. form_capture: Enable CallRail Form Tracking (sent as the PUT field external_form_capture). None=inherit. account_id: Auto-resolves if omitted.

Note: Optional booleans default to None (inherit account-level defaults) rather than False. Sending False for a paid feature on an account that has it enabled would actively DISABLE it, almost never the caller's intent on a fresh-create.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
time_zoneNoAmerica/New_York
account_idNo
form_captureNo
callscore_enabledNo
callscribe_enabledNo
swap_exclude_jqueryNo
lead_scoring_enabledNo
keyword_spotting_enabledNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that the API only accepts name/time_zone on POST, so any toggle triggers a second PUT call, and that the response surfaces settings_applied or settings_not_applied plus api_warnings. It also flags paid-feature side effects and that two deprecated params are silently dropped into api_warnings. Not a 5 only because the annotations' non-idempotency (retrying could create duplicate companies) is never called out.

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 purpose then the billing/routing note, and the Args block maps one-to-one onto the schema. It is long, and a few lines (e.g. the repeated 'Deprecated by CallRail, has no effect. Not sent; reported under api_warnings') could be compressed, but no sentence is filler.

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 9-param mutation with 0% schema coverage and a hidden two-step write, the description covers the parameters, the failure mode, the response keys, and the paid-feature pitfalls. The output schema means return values need not be enumerated.

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: every one of the nine params is explained, including the None-vs-False inheritance semantics, the IANA format and defaults for time_zone, the rename to external_form_capture for form_capture, and the two parameters that are ignored or error out.

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 ('Create a new company (client) under the account') and immediately distinguishes the sibling create_tracker by explaining that trackers, not companies, drive billing. An agent can tell this apart from create_tracker/update_company without opening a schema.

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?

Names the scenario (new-client onboarding), gives the cost-based routing rule to create_tracker, and explicitly excludes lead_scoring_enabled from this path ('NOT settable via the API... Toggle it in the CallRail UI'). It also warns that passing False to a paid-feature boolean actively disables it, which is exactly the when-not guidance an agent needs.

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