Skip to main content
Glama

list_dm_conversations

Read-onlyIdempotent

Lists a member's own one-to-one direct message conversations in a workspace, newest activity first, so you can find a conversation ID for posting or a thread ID for reading messages.

Instructions

List the one-to-one DM conversations a member has in a workspace, most recently updated first, as {id, workspace_id, member_low_id, member_high_id, thread_id, created_at, updated_at}. Post to one with post_dm_message using its id, or read it by passing its thread_id to list_messages. Start one with open_dm_conversation; group DMs are listed by list_group_dms. member_id must be your own. Requires workspace:read.

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": {
      "workspace_id": "<workspace_id>",
      "member_id": "<member_id>"
    },
    "name": "list_dm_conversations"
  }
}

Input Schema

NameRequiredDescriptionDefault
member_idYesUUID of the member. Must be your own member id (whoami returns it); any other member is refused.
workspace_idYesUUID of your own workspace (whoami returns it). A different workspace is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • addedInput schema / properties / member_id / description
      Added value: +"UUID of the member. Must be your own member id (whoami returns it); any other member is refused."
    • addedInput schema / properties / workspace_id / description
      Added value: +"UUID of your own workspace (whoami returns it). A different workspace is refused."
  2. First observedv479.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, yet the description still adds real behavioral context: an authorization requirement ('Requires workspace:read'), a hard scoping constraint ('member_id must be your own'), a deterministic sort order, and the shape of each returned record. Nothing here contradicts the annotations.

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?

Three sentences, each load-bearing: the first defines scope, ordering, and return shape; the second maps follow-on actions to sibling tools; the third states the new-conversation alternative and permission requirement. Front-loaded and free of filler.

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, the description correctly compensates by enumerating the returned fields, and the auth/prerequisite information is present. The only gap is pagination or result-count limits for a list tool ordered by recency, which an agent might need for large workspaces.

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 100% and both parameters are already documented in-schema, including the self-only member_id restriction, so the baseline is 3. The description adds the workspace:read permission prerequisite and reinforces the self-only constraint in prose, giving a small but genuine increment over the structured fields.

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 names a specific verb and resource ('List the one-to-one DM conversations'), states scope (a member in a workspace), ordering ('most recently updated first'), and even the returned field set. It explicitly separates itself from group DMs by pointing at list_group_dms, so an agent can route correctly without opening a schema.

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

Usage Guidelines5/5

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

Every follow-on action is routed: post with post_dm_message using the returned id, read with list_messages using thread_id, start a new one with open_dm_conversation, and use list_group_dms for the non-one-to-one case. That is explicit when-to-use-this vs alternatives guidance rather than implied usage.

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

Deploy Server

Other Tools