Skip to main content
Glama
hermoso-ai

Hermoso

Official

Read your X direct messages

list_x_dms
Read-only

Read X (Twitter) direct messages, grouping them into conversations newest first to see who is waiting on a reply. Check new DMs, review message content, and identify responses needed, with billing per message returned.

Instructions

Read the direct messages sent to the connected X account and group them into conversations, newest first — who is waiting on a reply, in their own words. Use it for 'any new DMs on X', 'what did they say', 'anything I need to answer'. Reply with send_x_dm. COSTS CREDITS PER MESSAGE RETURNED plus one account lookup, so keep maxResults small (default 10) and tell the user the cost before pulling a big page. X KEEPS 30 DAYS of direct-message history and offers no date filter, so a short list can mean an old conversation rather than a quiet inbox — say so rather than reporting silence. There is no conversation-list endpoint at X: this builds the thread list by reading events and grouping them, so a conversation whose last message is older than the page you pulled will not appear. Needs X connected, AND an X account connected before direct messages shipped must be reconnected once (Settings ▸ Connectors ▸ X) — X only grants permissions at authorize time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventTypesNoMessageCreate (default), ParticipantsJoin, ParticipantsLeave. The join/leave events carry no message and are billed like any other, so the default is messages only.
maxResultsNohow many messages to pull, 1-100 (default 10) — EVERY ONE IS BILLED, and omitting it would make X return 100
participantIdNoread just the conversation with this NUMERIC X account id (not an @handle)
conversationIdNoread just this conversation (from a previous call). One-to-one ids look like "12-345"; group ids are one long number.
paginationTokenNonextToken from a previous call, to page further back. There is no since/until filter at X — this is the only way to walk history.
Behavior5/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, but the description goes far beyond: it discloses credit billing per message returned, the 30-day retention limit with no date filter, the lack of a conversation-list endpoint requiring event-based grouping (with the consequence that old conversations may not appear), and the reconnection requirement for pre-shipment accounts. No contradiction with annotations.

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 description is long but information-dense; every sentence contributes (purpose, usage examples, costs, data retention, implementation details, auth). It front-loads the core purpose and then proceeds logically through operational caveats. While slightly verbose, it avoids fluff and earns its length.

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?

Despite lacking an output schema, the description explains the return format (conversations, newest first, with message content) and covers billing, data retention, grouping behavior, and authentication requirements. For a read-only tool with no output schema, this is fully complete — nothing an agent needs to call it correctly is missing.

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%, and each parameter already has a descriptive comment (e.g., maxResults includes billing warning, paginationToken explains walking history). The tool description repeats the cost warning and default but adds no new semantic information beyond what the schema provides. Baseline 3 is appropriate.

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 states a specific verb and resource: 'Read the direct messages sent to the connected X account and group them into conversations, newest first'. It clearly differentiates from sibling DM tools (list_telegram_dms, list_bluesky_convos) by explicitly tying to 'X' and providing example user intents. The purpose is unambiguous.

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?

Provides concrete usage triggers ('any new DMs on X', 'what did they say') and routes replies to send_x_dm. It also warns about cost and data retention caveats. However, it does not explicitly contrast with other platform DM tools or state 'use this only for X', though the X-specific naming makes that implicit.

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/hermoso-ai/hermoso'

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