Skip to main content
Glama
imessage-mcp

imessage-mcp

by kashyapmanu

Get unread incoming messages

get_unread
Read-only

Lists incoming Messages marked unread from chat.db, newest first, so you can review unseen conversations; the unread flag may not match the Messages app exactly.

Instructions

List incoming messages that Messages marks as unread, newest first. The unread flag comes from chat.db and may not match the Messages app exactly.

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": "get_unread"
  }
}

Input Schema

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

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 declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the data source (chat.db) and warning that the unread flag may diverge from the Messages app, plus the newest-first ordering — a caveat an agent could not get from structured fields.

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 short sentences, zero filler, with the scope and ordering front-loaded and the caveat following. Every clause carries information an agent can act on.

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 single-parameter list tool with full annotation coverage, the definition covers behavior, ordering, and a data-fidelity caveat. The only mild gap is that it never sketches what a returned message looks like, which matters somewhat since there is no output schema.

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?

There is a single optional 'limit' parameter with 100% schema description coverage, including range and default, so the schema does the work. The description adds nothing about the parameter, which matches the baseline for fully documented schemas.

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 incoming messages') plus a precise filter ('that Messages marks as unread') and an ordering ('newest first'). This is enough to distinguish it from read_messages or search_messages in practice, though it does not name a sibling explicitly.

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?

Usage is only implied by the name and the 'unread' filter; there is no explicit statement of when to choose this over read_messages, search_messages, or get_conversation. It does not mislead, but it leaves the routing decision to inference.

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