Skip to main content
Glama

Read a text thread

get_texts
Read-onlyIdempotent

The text messages with a merchant, both directions, oldest to newest, with who sent each of ours (a rep, a batch, or the AI holding the conversation), pictures and files they sent named, whether the number said STOP, and whether the AI holds the thread. Give lead_id for the lead's latest thread (its other threads are named), or conversation_id for one thread; pass cursor to read older messages. A text the carrier took is not proof it arrived.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_texts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return, at most 50 (more is cut to 50).
cursorNoThe cursor a previous page of this tool gave, to read the next page. Leave it out for the first.
lead_idNoThe lead's id; reads its newest thread.
conversation_idNoOne thread's id (from get_lead, a search, or a previous answer).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description instead adds content behavior, ordering, sender attribution, attachment naming, STOP flag and AI-thread ownership. The closing caveat that a carrier-accepted text is not proof of arrival is genuinely useful delivery context an agent could not get from schema or annotations. It is not rich on pagination termination or volume, which keeps it off a 5.

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?

It is a single dense passage that front-loads what the tool returns before moving to how to call it, and every clause carries information. It reads as a run-on list rather than cleanly separated sentences, which slightly hurts scanability but wastes almost nothing.

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?

With no output schema, the description carries the return-shape burden and does so: direction, ordering, sender roles, attachments, opt-out state and thread ownership are all enumerated. Combined with the parameter usage rules, an agent has enough to call it correctly and interpret the result without further documentation.

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 coverage is 100%, so the baseline is 3, and the schema already explains each of the four parameters. The description does add real meaning by clarifying that lead_id resolves to the newest thread while the lead's other threads are only named, and that cursor reads older messages. That is modest added value on top of an already complete schema.

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?

The description names the resource precisely (text messages with a merchant, both directions, oldest to newest) and enumerates what comes back: sender attribution, attachments, STOP status, AI ownership. That is specific enough to know exactly what a call returns. It stops short of naming or contrasting with search_texts, so the sibling boundary is left implicit rather than stated.

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?

It tells the agent how to target a read: lead_id for the lead's latest thread with other threads merely named, or conversation_id for one specific thread, and cursor to page backwards. What is missing is any when-not guidance or reference to search_texts for cross-lead or keyword lookups, so the agent must infer that this is a direct fetch rather than a search.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources