Skip to main content
Glama
CallRail MCP

CallRail MCP

by pghdma

get_text_message

Read-onlyIdempotent

Retrieve the complete details of one SMS conversation, including every message, by supplying the conversation ID returned in the text message list.

Instructions

Get full detail for one SMS conversation, including all messages.

Args: conversation_id: Short alphanumeric conversation id (e.g. '8hw3p'). Returned by list_text_messages as id on each conversation.

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

Input Schema

NameRequiredDescriptionDefault
account_idNo
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds only that the response includes 'all messages' for the single conversation, and says nothing about pagination, size limits, or error behavior when the id is unknown.

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 core sentence is front-loaded and free of filler; the Args block is slightly redundant with schema titles but earns its place by carrying the id format and example. Nothing is padded or repeated needlessly.

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?

This is a simple two-parameter read tool with an output schema, so return values need no prose explanation. Coverage is nearly complete; the only real hole is the unexplained optional account_id, which an agent may not know whether to supply.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 compensate; it does for conversation_id by giving its format ('short alphanumeric') and an example ('8hw3p') plus its provenance. The second parameter, account_id, is never mentioned in the description or schema, leaving half the inputs undocumented.

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?

States a specific verb and resource ('Get full detail for one SMS conversation') and scopes it ('including all messages'), which distinguishes it from the sibling list_text_messages that only enumerates conversations. An agent can pick between listing and fetching detail 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 Guidelines4/5

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

The Args section explicitly ties the required input to its source, noting conversation_id is 'Returned by `list_text_messages` as `id`', which implies the list-then-get workflow. It stops short of an explicit when-not or exclusion statement, so it is clear context rather than full routing guidance.

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