Skip to main content
Glama
hajekd
by hajekd

list_sms_chats

List SMS chats with sender, direction, and state. Filter by queue, agent, contact, direction, and date range to find specific messages.

Instructions

List SMS activities with SMS-specific fields (sender phone, direction, state).

Args: queue: Filter by queue internal name (e.g. '10333'). Use list_queues to find names. user: Agent name — pass either a display name (e.g. 'John Doe') or login name (e.g. 'john.doe'). Resolved automatically. contact: Filter by contact internal ID (e.g. 'contact_674eda46162a8403430453'). NOT a person's name — call list_contacts(search='...') first to find the ID. direction: Filter by direction: IN or OUT. date_from: Filter by activity start time on or after this date (YYYY-MM-DD). date_to: Filter by activity start time on or before this date (YYYY-MM-DD). sort: Field to sort by. Useful values: time, duration, wait_time. WARNING: only fields that exist on this endpoint work — do NOT use 'created' or 'edited'. sort_dir: Sort direction: asc or desc (default: desc). skip: Pagination offset (default: 0). take: Number of records to return (default: 50, max: 200).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skipNo
sortNo
takeNo
userNo
queueNo
contactNo
date_toNo
sort_dirNodesc
date_fromNo
directionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses important behavioral traits: the user parameter can accept display or login names and is resolved automatically, the contact parameter must be an internal ID (not a person's name), and the sort field has a warning against using invalid fields like 'created' or 'edited'. This goes beyond a simple 'list' statement, though it doesn't mention auth, rate limits, or error cases.

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?

The description is well-structured with a one-sentence overview followed by a clear Args list. It is detailed but not verbose; every line provides necessary information for correct usage. The warning about sort fields is important and earns its place, and the parameter explanations are compact yet complete.

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?

Given the tool has 10 parameters, no annotations, and an output schema (which handles return value documentation), the description covers all parameter semantics and key behavioral nuances. It provides actionable instructions for filters, pagination, and sorting. The only minor omission is explicit mention of auth or rate limits, but for a listing tool this is not critical.

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

Parameters5/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, and it does so excellently. Every one of the 10 parameters receives a clear explanation, including formats, examples, defaults, and direct guidance (e.g., direction must be 'IN' or 'OUT', date formats are YYYY-MM-DD, sort_dir default is 'desc'). The descriptions add significant meaning beyond the schema's bare types and defaults.

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 starts with 'List SMS activities with SMS-specific fields', clearly specifying the action (List), the resource (SMS activities), and the distinguishing detail (SMS-specific fields). This separates it from sibling tools like list_emails or list_web_chats.

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 description provides clear context that this tool is for listing SMS activities and includes helpful parameter guidance, such as using list_queues to find queue names and list_contacts to find contact IDs. It doesn't explicitly state when not to use this tool or name alternatives, but the focus on SMS-specific fields implies when it is appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hajekd/mcp-daktela'

If you have feedback or need assistance with the MCP directory API, please join our Discord server