Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

get_company

Read-onlyIdempotent

Retrieve full details for a single company by company ID, with automatic account resolution and optional field selection. Returns soft-deleted companies with a disabled status instead of an error.

Instructions

Get full detail for one company.

Args: company_id: 'COM...' id. account_id: Auto-resolves if omitted. fields: Optional attributes (comma-separated), for example 'verified_caller_ids'.

Note: Returns the disabled record (with status: "disabled", disabled_at timestamp) for soft-deleted companies, NOT 404. Check the status field if you need to distinguish.

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

Input Schema

NameRequiredDescriptionDefault
fieldsNo
account_idNo
company_idYes

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

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavior: soft-deleted companies return a disabled record with status 'disabled' and a disabled_at timestamp instead of a 404, and it tells the agent to check the status field. That is exactly the kind of surprise an agent needs warned about.

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 the single-sentence purpose, then the args block, then the behavioral note. The note earns its space; the args block is slightly redundant with the schema but readable. No filler sentences.

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?

Return values need not be explained since an output schema exists, and the description still flags the one response case an agent would otherwise misread (disabled records rather than 404). With three simple parameters all addressed, the definition covers what is needed to call it correctly.

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 description coverage is 0%, so the description must carry the parameter burden, and it mostly does: company_id is given a 'COM...' format hint, account_id is explained as auto-resolving when omitted, and fields is described as optional comma-separated attributes with a concrete example. Only the fields parameter lacks a list of valid values, but the example compensates adequately.

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: 'Get full detail for one company.' That is enough to separate it from the create/update/delete_company siblings and from the get_call/get_user readers, which target different resources. It stops short of naming an alternative for listing or searching companies, so it is clear without being maximally distinguishing.

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 by the verb rather than spelled out; there is no statement of when to prefer this over a list/search tool or what prerequisite lookups are needed. The note about soft-deleted companies, however, gives real guidance on how to interpret the response in an edge case.

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