Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

get_sms_thread

Read-onlyIdempotent

Retrieve a single SMS thread's lead-management record, including notes, value, tags, qualification, and state, by thread ID. Use it to review lead details; fetch message transcripts separately.

Instructions

Get one SMS thread's lead-management record (notes, value, tags, lead_qualification, state). For the message transcript itself use get_text_message with the conversation id.

Args: thread_id: Thread id (from list_sms_threads). account_id: Auto-resolves if omitted.

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

Input Schema

NameRequiredDescriptionDefault
thread_idYes
account_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.4

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description's only added behavioral information is scoping — that this returns lead-management metadata rather than messages — which is useful but thin, and it says nothing about volume, ordering, or failure modes.

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?

Two short body sentences plus a compact Args block; the differentiating scope statement is front-loaded and the redirect to the sibling immediately follows. No filler sentences.

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 two-parameter read tool with rich annotations and an existing output schema, nothing an agent needs is missing: purpose, scope boundary, the alternative tool, and both parameter behaviors are all stated.

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 has to carry the parameters, and it does: `thread_id` is identified as coming from `list_sms_threads`, and `account_id` is documented as auto-resolving when omitted. That is real meaning beyond the bare string/anyOf types, though it stops short of stating id formats.

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?

The description opens with a specific verb plus resource ('Get one SMS thread's lead-management record') and enumerates the payload fields (notes, value, tags, lead_qualification, state). It also explicitly separates itself from the transcript-reading sibling `get_text_message`, so an agent can distinguish the two without opening either 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?

It names the alternative to use for message transcripts (`get_text_message` with the conversation id) and states where the required id comes from (`list_sms_threads`). The one genuinely ambiguous routing decision for this tool family is covered explicitly.

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