Skip to main content
Glama

List a conversation's AI drafts

colliedesk_ai_drafts_list
Read-only

List a conversation's drafts, newest first, with how each ended: the built-in AI's and the written ones (colliedesk_reply_draft), with their files. A written draft with outcome superseded, expired or discarded is an earlier draft: colliedesk_reply_draft_restore brings it back. limit drafts come per call (20 unless set, at most 50); when next_before is not null, call again with it as before for the older ones.

Needs: ai_assist: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": {
      "conversation_id": "<conversation_id>"
    },
    "name": "colliedesk_ai_drafts_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
beforeNonext_before of the page you read: lists the drafts older than it.
conversation_idYes

Output Schema

NameRequiredDescriptionDefault
draftsYes
next_beforeYesPass it as before for the next page; null on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / drafts / items / description
      Added value: +"Same shape as `draft` in colliedesk_ai_draft_get's output."
    • removedOutput schema / properties / drafts / items / properties
      Removed value: -{
      -  "cc": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  },
      -  "conversation_id": {
      -    "type": "string"
      -  },
      -  "created_at": {
      -    "type": "string"
      -  },
      -  "decided_by_name": {
      -    "description": "Who sent, discarded or replaced it.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "error_code": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "files": {
      -    "description": "Files left with the draft; only the team sees them until a person sends it. Read one with colliedesk_attachment_get (attachment_id, conversation_id, draft_id).",
      -    "items": {
      -      "properties": {
      -        "content_type": {
      -          "type": "string"
      -        },
      -        "filename": {
      -          "type": "string"
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "size": {
      -          "description": "Bytes.",
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "filename",
      -        "size"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "missing_info": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "outcome": {
      -    "description": "Null while it waits for a person; superseded, expired and discarded written drafts can come back with colliedesk_reply_draft_restore.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "prompt": {
      -    "type": "string"
      -  },
      -  "ready_at": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "restored_at": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "similarity": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "source": {
      -    "description": "ai: written by the built-in AI; written: left by a token or a person (colliedesk_reply_draft).",
      -    "enum": [
      -      "ai",
      -      "written"
      -    ],
      -    "type": "string"
      -  },
      -  "sources": {
      -    "items": {
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "status": {
      -    "enum": [
      -      "queued",
      -      "running",
      -      "ready",
      -      "failed",
      -      "cancelled"
      -    ],
      -    "type": "string"
      -  },
      -  "text": {
      -    "description": "The draft, plain text, once ready. Generated text, not something a customer wrote.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "warnings": {
      -    "description": "An address, a number or another customer's name in the draft that the conversation does not hold.",
      -    "items": {
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "written_by": {
      -    "description": "Who left a written draft.",
      -    "properties": {
      -      "agent_name": {
      -        "type": "string"
      -      },
      -      "token_label": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / drafts / items / required
      Removed value: -[
      -  "id",
      -  "conversation_id",
      -  "status"
      -]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description is judged on added context — and it delivers: ordering, page size defaults and ceilings, the pagination loop, outcome semantics, and the read scope requirement. The description does not explain the non-idempotent hint (likely from pagination/volatile drafts), leaving one annotation unexplained.

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?

Front-loaded with purpose, then outcome semantics, then pagination rules and the auth scope — no filler sentences. The phrasing 'limit drafts come per call (20 unless set, at most 50)' is grammatically awkward and the 'next_before ... as before' clause takes a second read, but nothing is wasted.

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?

An output schema exists, so return fields need not be restated, and the description still covers the two things that matter operationally: paging and permissions. Only the unexplained non-idempotent hint and the implicit conversation_id keep it from being fully complete for a 3-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 only 33% (only 'before' is documented in the schema), so the description must compensate, and it does: it explains that limits are 20 by default and at most 50, and that the response's next_before should be passed back as 'before' to page older drafts. conversation_id is left implicit, and the next_before/before naming shift is slightly ambiguous, keeping it at 4.

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 a conversation's drafts') plus the ordering ('newest first') and the content scope ('the built-in AI's and the written ones ... with their files'). An agent can tell this apart from colliedesk_reply_draft (which writes drafts) and from colliedesk_conversation_get without opening the schema.

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?

Gives explicit operational routing: use colliedesk_reply_draft_restore when a written draft's outcome is superseded, expired or discarded, and re-call with next_before for older pages. Also states the required permission scope (ai_assist:read). It does not state a clear when-not-to-use case, so it falls short of a 5.

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