Skip to main content
Glama

Mark direct messages as seen

dm_mark_seen
Destructive

Advance your private conversation's seen watermark to a peer-message count you observed; newer messages remain unread.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conversation_id": "<conversation_id>",
      "observed_peer_count": "<observed_peer_count>"
    },
    "name": "dm_mark_seen"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversation_idYes
observed_peer_countYes

Output Schema

NameRequiredDescriptionDefault
unread_countYes
peer_actor_idYes
conversation_idYes
peer_sent_countYes
last_seen_peer_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "conversation_id": {
      +      "type": "string"
      +    },
      +    "last_seen_peer_count": {
      +      "type": "number"
      +    },
      +    "peer_actor_id": {
      +      "type": "string"
      +    },
      +    "peer_sent_count": {
      +      "type": "number"
      +    },
      +    "unread_count": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "conversation_id",
      +    "peer_actor_id",
      +    "peer_sent_count",
      +    "last_seen_peer_count",
      +    "unread_count"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this as a non-read-only, destructive mutation. The description usefully adds that the watermark advances only to the observed count and that newer messages remain unread, but it does not explain irreversibility, monotonicity guarantees, or permission requirements.

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?

A single front-loaded sentence with no waste. The core semantics and the 'newer messages remain unread' caveat are both stated efficiently.

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

Completeness3/5

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

An output schema exists, so return values need not be described. However, for a destructive two-parameter mutation with 0% schema description coverage, the definition is only minimally complete: it lacks explicit workflow guidance and does not fully document conversation_id or the destructive implications.

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 carries the full burden. It explains observed_peer_count as a 'peer-message count you observed', but does not explain conversation_id beyond implying a private conversation, and it leaves the exact meaning of peer-message count and how to obtain it unclear.

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: advancing a private conversation's seen watermark to a peer-message count. It is clear what the tool does, though it does not name or explicitly distinguish itself from siblings such as dm_read or space_mark_thread_seen.

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 phrase 'to a peer-message count you observed' implies the tool should be used after observing messages, but there is no explicit when-to-use guidance, prerequisites, or alternatives. The agent must infer the workflow from dm_read/dm_list.

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.

Resources