Skip to main content
Glama

Artil — Email, SMS & Messaging for AI Agents

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Artil — Email, SMS & Messaging for AI Agents.

List messages

messages.list
Read-only

List the messages the agent account received, newest first. A refused message did not wake the agent, and its reason says why; a received one's admission says whether its sender is on the team, on the channel's list, or anyone else; an imported one came from a mailbox the agent used before.

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": "messages.list"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoKeep the messages from this address
agentNoThe id of the agent account to act as, from status. Leave it out when these tools act as one agent account.
limitNoHow many to list, from 1 to 25
beforeNoList the messages older than this one; pass the last id listed to page back
channelNoKeep the messages that came on this channel

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / channel / enum
      Previous value: -[
      -  "email",
      -  "sms",
      -  "telegram"
      -]New value: +[
      +  "email",
      +  "sms",
      +  "telegram",
      +  "slack"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / agent / format
      Removed value: -"uuid"
    • removedInput schema / properties / agent / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: newest-first ordering and the meaning of the refused/received/imported states and their reason and admission fields. It stops short of describing pagination limits or result shape beyond the state semantics.

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?

Two sentences, front-loaded with the core action and ordering. The second sentence is dense but every clause explains a distinct message state that affects interpretation of results.

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?

With no output schema, the description usefully explains the semantics of returned fields (reason for refusal, admission for received, provenance for imported). Paging and default result size are left to the schema, which documents them adequately, so little is missing for a filtered-list tool.

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%, including per-parameter descriptions and an enum for channel, so the schema carries the parameter burden. The description mentions no parameters at all, adding nothing about filtering or paging beyond what the schema already documents, which is the baseline case.

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?

"List the messages the agent account received, newest first" gives a specific verb, resource, scope (agent account), and ordering. It is clear what the tool does, though it does not explicitly contrast itself with the sibling messages.read.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says when to list versus read a single message, or when to filter by channel or sender. The second sentence explains message states rather than directing tool selection, so usage is only implied by the verb.

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