Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

list_messages

Retrieve stored chat history for a channel and filter messages by chat ID, limit, message number, or time range.

Instructions

List stored chat history for this channel (requires history storage). Filter with chatId, limit, last, message numbers, or time bounds.

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

Input Schema

NameRequiredDescriptionDefault
lastNo
limitNo
msgIdNo
chatIdNo
max_timeNo
min_timeNo
lastMessageNumberNo
firstMessageNumberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv1.2.10
    • addedInput schema / properties / chatId
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / firstMessageNumber
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / last
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / lastMessageNumber
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / max_time
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / min_time
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / msgId
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv1.2.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it contributes the non-obvious prerequisite that history storage must be enabled. It does not disclose ordering, default limits, pagination behavior, or whether an unfiltered call returns the entire history, which are meaningful gaps for an 8-parameter list operation.

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?

Two short sentences with the resource statement front-loaded and the filtering note second; nothing is padded. The second sentence is a bare list rather than a structured explanation, but it is not wasteful.

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

Completeness2/5

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

For a tool with eight parameters, zero schema descriptions, no annotations, and no output schema, the definition says very little about how to construct a valid or useful query. An agent would have to guess at filter semantics and result behavior.

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?

Schema description coverage is 0%, so the description must compensate, yet it only echoes parameter names already visible in the schema. Grouping them as "message numbers" and "time bounds" adds marginal structure, but `last`, `msgId`, `firstMessageNumber`/`lastMessageNumber`, and the unit/format of `min_time`/`max_time` remain unexplained.

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 stored chat history for this channel") and a key precondition, which is enough to separate it from the many send_* siblings. The phrase "this channel" is left unresolved, so the scope is slightly undercut.

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 parenthesis "requires history storage" is a genuine prerequisite that tells an agent when the call may fail or return nothing. However, there is no guidance on which filters to combine, what happens when no filter is supplied, or how it relates to alternatives such as get_status or the send_* family for reading back conversation context.

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