Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

get_integration

Read-onlyIdempotent

Retrieve full details for a specific CallRail integration by ID, with optional field selection and automatic account resolution if omitted.

Instructions

Get full detail for one integration.

Args: integration_id: Numeric integration id (from list_integrations). account_id: Auto-resolves if omitted. fields: Optional attributes (comma-separated).

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

Input Schema

NameRequiredDescriptionDefault
fieldsNo
account_idNo
integration_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.3.2
    • addedInput schema / properties / fields
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Fields"
      +}
    • addedInput schema / properties / integration_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "integer"
      +  }
      +]
    • removedInput schema / properties / integration_id / type
      Removed value: -"string"
  2. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is fully covered without the description. The description adds that it returns "full detail" (contrasted with list-level data) and that account_id auto-resolves when omitted, which is useful behavior beyond annotations, but it says nothing about failure modes for an invalid or inaccessible integration id.

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?

One-line purpose statement followed by a compact per-argument block; every line carries information and the verb+resource intent is front-loaded. No filler or restated boilerplate.

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 needn't document return values, and rich annotations cover the safety profile. Combined with per-parameter notes, the only real omission is the valid vocabulary for fields, which is minor for a single-record read.

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 carries the whole burden and documents all three parameters: integration_id is numeric and sourced from list_integrations, account_id auto-resolves when omitted, fields takes optional comma-separated attributes. The remaining gap is that "attributes" is never enumerated or linked to a valid set, so an agent cannot construct a fields value from this text alone.

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 integration"), and the singular "one" implicitly separates it from the list_integrations sibling. Clear enough to distinguish a single-record fetch from the bulk listing 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 Guidelines3/5

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

The mention that integration_id comes "from list_integrations" implies the retrieve-after-list workflow, and the account_id auto-resolution note removes a prerequisite concern. There is no explicit statement of when to use this instead of alternatives or when detail is unnecessary, so guidance is only implied.

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