Skip to main content
Glama
iMessage MCP

iMessage MCP

by 4ndylg

list_chats

Retrieve recent chats from the local iMessage database with read-only access, using limit and offset to page through conversations without sending or modifying messages.

Instructions

列出本机 iMessage 数据库中的最近聊天。只读,不会发送或修改任何信息。

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
limitNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and usefully discloses that the operation is read-only and will not send or modify information. It does not describe ordering, pagination behavior, or access constraints beyond mentioning the local iMessage database.

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 two short, front-loaded sentences with no wasted wording. It states the purpose first and the read-only safety property second.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only list tool with no output schema, the description covers the core purpose and safety profile. It remains incomplete because the two pagination parameters are undocumented and no return shape or ordering is described.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has zero description coverage for the two parameters, so the description should compensate, but it does not explain what limit and offset mean. The phrase 'recent chats' weakly implies a bounded result, but it adds no meaningful parameter guidance.

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?

The description states a specific verb and resource: listing recent chats from the local iMessage database. It is clear what the tool does, though it does not explicitly differentiate itself from siblings such as get_messages or search_messages.

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 the tool is used when recent chats are needed and notes that it is read-only. However, it gives no explicit when-not-to-use guidance or alternatives for searching messages or retrieving attachments.

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