Skip to main content
Glama
imessage-mcp

imessage-mcp

by kashyapmanu

List iMessage chats

list_chats
Read-only

Lists recent iMessage and SMS conversations, newest first, with chat IDs, participant names, and message counts so you can select a chat to read.

Instructions

List recent iMessage/SMS conversations, newest activity first. Returns chat id, name (group display name, else participant contact names, else handles), participant handles with their Contacts names (participant_names), last message time and message count. Use the chat id with read_messages, get_conversation.

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_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of items to return (1-500, default 50).
offsetNoNumber of chats to skip (pagination).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly, non-destructive, and closed-world, so the safety profile is handled. The description adds genuinely non-obvious behavior: the name fallback resolution order (group display name, else participant contact names, else raw handles) and the presence of participant_names via Contacts. It does not describe pagination behavior or any cap on result ordering beyond 'newest activity first'.

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?

Two sentences, front-loaded with the action and ordering, then the return contract, then the follow-up pointer. No filler and no restatement of the tool name.

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?

There is no output schema, so the description appropriately carries the burden of explaining return fields, including the name resolution logic an agent needs to display conversations. It is close to complete; only pagination/result-set behavior across offset pages is left implicit.

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 and offset are already documented with ranges and defaults. The description adds nothing about paging through results or how ordering interacts with offset, so it sits at the baseline for a fully-described 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?

States a specific verb and resource ('List recent iMessage/SMS conversations') plus the ordering rule ('newest activity first') and enumerates the returned fields. It does not distinguish itself from siblings like get_unread or search_messages, so an agent must infer which listing tool to pick, but the resource scope 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 Guidelines3/5

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

The description gives downstream routing ('Use the chat id with read_messages, get_conversation'), which implies this is the entry point for locating a chat. It never states when to prefer this over get_unread or search_messages, and offers no exclusions or prerequisites.

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