Skip to main content
Glama

Unread Messages

messages_unread
Read-onlyIdempotent

Retrieve unread incoming texts across all chats, newest first, excluding junk. Use it to check for new texts and paginate results by limit or offset.

Instructions

Unread incoming texts across all chats, newest first. Junk is excluded. Use when: checking for new texts

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax messages to return
offsetNoNumber of results to skip for pagination
response_formatNoOutput format: 'json' for structured data, 'markdown' for human-readable textjson

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes
totalYes
offsetYes
has_moreYes
next_offsetNo
truncation_messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already establish that this is a safe read-only, idempotent, non-destructive, closed-world operation. The description adds useful behavioral detail by specifying newest-first ordering, exclusion of junk, and cross-chat scope, but it does not discuss pagination behavior, result caps, or how unread state is treated after retrieval.

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?

The description is short, front-loaded, and wastes no words. It conveys scope, ordering, filtering, and the primary use case in two compact sentences.

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 full schema coverage, rich annotations, and an output schema, the description supplies enough context for a simple unread-message listing tool. A small gap remains because it does not clarify how this differs from the WhatsApp-specific unread tool or what happens to unread status after retrieval.

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 coverage is 100%, so the schema fully documents limit, offset, and response_format. The description adds no parameter-specific meaning beyond the schema, which is acceptable at the baseline for fully documented parameters.

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 resource and state: unread incoming texts across all chats, returned newest first, with junk excluded. It is clear what the tool does, but it does not explicitly distinguish itself from the sibling whatsapp_unread or other message-list tools.

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

Usage Guidelines4/5

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

It explicitly says to use this when checking for new texts, which gives a clear triggering context. It does not name when-not-to-use cases or direct agents to alternatives such as messages_get_chat or messages_search.

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