Skip to main content
Glama

Messages waiting: DMs and texts

list_inbox
Read-only

Use this when the owner asks about messages waiting, who they need to reply to, unread DMs or texts, or what is in their inbox. One list of conversations across Instagram DMs and texts (SMS), newest first (or unread first): the person, the channel, the last message and who sent it, when, how many are unread, and whether a reply can go right now — for Instagram, its 24-hour reply window; for a text, that they agreed to texts or texted first, have not said STOP, the texting number is ready, and it is between 9am and 9pm their time — with the reason when it cannot. Read-only: it sends nothing, drafts nothing and marks nothing read. For an unread conversation, read it in full (get_social_conversation for Instagram, get_person_timeline for a lead's texts), write a reply yourself in the owner's voice, show it to them, and send only the exact text they approve: reply_to_dm for Instagram, plan_text then send_text for a text. Replies people send to follow-up emails are not collected here.

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": "list_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 20.
clientNoClient website slug (or id). Leave out on your own account; required for platform-scoped keys.
cursorNonext_cursor from the previous page, unchanged.
channelNoall (default), instagram (DMs) or sms (texts).
unread_onlyNoOnly conversations with something nobody has opened.
unread_firstNoUnread conversations at the top of the page, each group newest first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/non-destructive, and the description goes further: 'it sends nothing, drafts nothing and marks nothing read' confirms no read-state side effect, and it discloses ordering semantics and the full reply-eligibility rules (Instagram 24-hour window; SMS opt-in, no STOP, number ready, 9am–9pm local) including that a blocking reason is returned. That is substantive behavior an agent could not infer from the annotations or schema.

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 front-loaded: the trigger condition comes first, the return shape second, the safety statement third, the workflow last. Nearly every clause earns its place, but the middle sentence is very long with nested parentheticals (eligibility rules inside a list of returned fields), which costs some scannability.

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?

No output schema exists, so the description compensates by enumerating the returned fields (person, channel, last message and sender, timestamp, unread count, reply-eligibility plus reason). Combined with the ordering, exclusion, and multi-step follow-up workflow, an agent has everything needed to call this and act on the result.

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 100%, so limit, cursor, channel, unread_only, unread_first and client are already documented. The description adds ordering context ('newest first (or unread first)') and confirms the IG/SMS channel split, but does not explain pagination, the client-scoping rule, or cursor usage beyond what the schema states. Baseline 3 is appropriate when the schema carries the parameters.

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 names a specific verb+resource ('One list of conversations across Instagram DMs and texts') and states its scope precisely: unread/waiting messages, newest- or unread-first. It also explicitly differentiates itself from related tools ('Replies people send to follow-up emails are not collected here') and routes to get_social_conversation / get_person_timeline for the detail view, so an agent can separate it from siblings without opening a 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 opens with the exact triggering conditions ('when the owner asks about messages waiting, who they need to reply to, unread DMs or texts'), states an exclusion (email replies are not here), and lays out the downstream workflow — read the thread, draft in the owner's voice, show them, send only the approved text via reply_to_dm or plan_text+send_text. Alternatives and when to move to them are named explicitly.

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