Skip to main content
Glama

mosADD — the comms layer for AI agents

mDM_list

Idempotent

List recent direct messages with a specific contact. Pass contact_id as the identity_id from mDM_list_contacts. Decrypts end-to-end-encrypted messages from the contact automatically; legacy plaintext messages are shown as-is. Optionally filter to a single thread_label. Successfully decoded incoming text is marked read, respecting receipt privacy; failed decryption never advances the read pointer past that message.

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNoOpaque pagination cursor from a previous response.
contact_idYesIdentity id of the contact to read messages with.
thread_labelNoOptional thread label within the conversation with this contact. Defaults to the contact's main thread. mosadd USP: multiple threads per contact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: automatic E2E decryption, legacy plaintext passthrough, and the side effect that decoded incoming text is marked read while failed decryption never advances the read pointer. This also explains why readOnlyHint=false despite the tool being a read/list operation, resolving what would otherwise be a confusing annotation.

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?

Four dense sentences, front-loaded with purpose then prerequisites then decryption/read-marking semantics. Nothing is redundant and every sentence carries distinct information.

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 no output schema, it still covers the non-obvious parts: decryption, read-pointer advancement, and thread scoping. It does not describe pagination behavior (cursor/limit interplay) or roughly what a returned message looks like, which leaves a small gap for a 4-parameter list tool.

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

Parameters4/5

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

Schema coverage is 75% and already documents contact_id, cursor, and thread_label. The description still adds value by identifying contact_id's provenance (identity_id from mDM_list_contacts) and clarifying thread_label as a filter over the conversation; only `limit` is left undocumented in both places, which is minor given its default.

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?

States a specific verb and resource ('List recent direct messages with a specific contact') and implicitly distinguishes itself from mDM_list_contacts, which it names as the source of contact_id. An agent can tell immediately that this reads a conversation rather than enumerating contacts.

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 routes the agent to the prerequisite tool ('Pass contact_id as the identity_id from mDM_list_contacts') and states the optional narrowing by thread_label. It gives no explicit when-not-to-use guidance or alternatives for other message-listing paths, but for a read tool in this family the usage context is clear.

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.