Skip to main content
Glama

peek

Read incoming messages without deleting them to review new or unacknowledged conversations, filter by thread, and decide when to acknowledge. Use metadata mode for smaller payloads.

Instructions

Read incoming messages without deleting them. By default returns only NEW (unread) messages with full bodies. Set include_read=true to see ALL unacknowledged messages. Filter by thread_id to see a specific conversation. Use ack() to acknowledge messages when you're done with them. Also returns delivery receipts for your recently sent messages.

Modes:

  • mode='full' (default): each message returned with full content + payload.

  • mode='metadata': each message returned as {id, from, ts, priority, preview_120, size_bytes, thread_id, state} — no full body. ~80% smaller; use this for defensive polling.

since: ISO8601 timestamp filter — only return messages with timestamp >= since.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNofull
sinceNo
thread_idNo
include_readNo
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that peek is non-destructive ('without deleting them'), that it defaults to only new/unread messages, that it also returns delivery receipts, and that the metadata mode is ~80% smaller. This is strong behavioral context, though it does not explain whether peeking changes read state or how delivery receipts are structured.

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 front-loaded with the core behavior, then logically grouped into mode and since sections. Every sentence adds value, and the labeled sections make the details easy to scan despite the length. No filler or repetition is present.

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?

Given there is no output schema, the description does a good job of explaining return values: full content plus payload for the default mode, and an explicit field list for metadata mode. It also mentions delivery receipts. Minor omissions such as pagination, limits, or exact delivery receipt format keep it from being fully comprehensive, but it is complete enough for an agent to call the tool correctly in most cases.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate for everything. It explains all four parameters: mode with both allowed values and their effects, since with ISO8601 format and filter semantics, thread_id with a concrete use case, and include_read with a clear behavioral toggle. This fully covers the input schema's gaps.

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 a specific verb-resource pair: 'Read incoming messages without deleting them,' which immediately distinguishes peek as a non-destructive read operation. It also names sibling ack() and contrasts peek against acknowledgement, so an agent can tell the tools apart without opening their schemas.

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?

The description gives clear conditional guidance: use include_read=true to see all unacknowledged messages, filter by thread_id for a specific conversation, and use ack() when done. It also recommends the metadata mode 'for defensive polling,' which gives a concrete context for choosing a mode. It does not explicitly contrast peek with dispatch or who, but enough context is present.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sophia-labs/mcp-dispatch'

If you have feedback or need assistance with the MCP directory API, please join our Discord server