Skip to main content
Glama

Read Messages

read_messages
Read-only

Reads messages from an iMessage conversation by chat ID or contact name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax messages (default 50)
chat_idNoChat identifier from list_message_chats
contact_nameNoContact name substring (alternative to chat_id)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
countNo
chat_idNo
messagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with that. It adds the iMessage scope and identifier options but does not disclose ordering, pagination, or default limit (which is covered in the schema).

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 a single, concise sentence that front-loads the action and resource, with no wasted words.

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?

For a read-only tool with an output schema and full schema parameter coverage, the description covers the essential identifier options. It could potentially note the mutually exclusive nature of chat_id and contact_name, but the schema already does that, so the description is complete enough.

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 the schema fully documents all three parameters. The description merely restates the chat_id/contact_name parameters without adding new information about limit or constraints.

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 uses the specific verb 'Reads' and clearly identifies the resource as 'messages from an iMessage conversation'. It also distinguishes the tool from siblings like send_message or search_messages by mentioning the two identification methods (chat ID or contact name).

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 implies usage for reading iMessage conversations but does not explicitly state when to prefer it over search_messages or how it complements list_message_chats. No exclusions or alternative tools are mentioned, though the schema hints at list_message_chats for obtaining chat_id.

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