Skip to main content
Glama

List drafts

list_drafts
Read-only

Lists an account's drafts newest first so you can find a draft's ID to read, send, update, or delete it.

Instructions

The drafts of an account, newest first. get_message reads one by its id. It reads only. Use it to find a draft for send_draft, update_draft or delete_draft.

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": {
      "account_id": "<account_id>"
    },
    "name": "list_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoAt most this many in one answer
cursorNonext_cursor of the previous call, for more
account_idYesThe account, by the id list_accounts names

Output Schema

NameRequiredDescriptionDefault
noteYes
draftsYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.8.0
    • addedOutput schema / $defs
      Added value: +{
      +  "Draft": {
      +    "description": "A draft in a list, or the one just written.",
      +    "properties": {
      +      "date": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "title": "Date"
      +      },
      +      "id": {
      +        "title": "Id",
      +        "type": "string"
      +      },
      +      "subject": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "title": "Subject"
      +      },
      +      "to": {
      +        "title": "To",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "date",
      +      "to",
      +      "subject"
      +    ],
      +    "title": "Draft",
      +    "type": "object"
      +  }
      +}
    • removedOutput schema / additionalProperties
      Removed value: -true
    • addedOutput schema / description
      Added value: +"A page of drafts."
    • addedOutput schema / properties
      Added value: +{
      +  "drafts": {
      +    "items": {
      +      "$ref": "#/$defs/Draft"
      +    },
      +    "title": "Drafts",
      +    "type": "array"
      +  },
      +  "next_cursor": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "title": "Next Cursor"
      +  },
      +  "note": {
      +    "title": "Note",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "drafts",
      +  "next_cursor",
      +  "note"
      +]
    • changedOutput schema / title
      Previous value: -"list_draftsDictOutput"New value: +"Drafts"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so 'It reads only' restates structured data and earns little credit. The one genuine addition is the default ordering, 'newest first', which is a real behavioral trait not expressed in the schema. It says nothing about how pagination behaves in practice or whether results are filtered by folder or state.

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?

Four very short sentences, front-loaded with what is returned and in what order, followed by the sibling distinction and the use case. 'It reads only' is low-value given the annotations but it is only a few words, so waste is minimal.

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

Completeness5/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-value detail is not needed, and the schema fully documents the limit and cursor pagination parameters. For a simple read-only list tool, resource, ordering, sibling distinction and downstream use are all covered.

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

Parameters3/5

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

Schema description coverage is 100%, with limit, cursor and account_id all documented inline (including the pointer to list_accounts for account ids). The description only echoes the account scoping, adding no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

The first sentence names the resource (drafts) and its scope (of an account) plus the ordering (newest first), which immediately distinguishes it from get_message, which the next sentence explicitly says reads one by id. The verb 'list' is only implicit (carried by the tool name rather than the description), which keeps it just short of a full verb+resource statement.

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 gives a concrete downstream use case: find a draft id to feed send_draft, update_draft or delete_draft, and it separates this tool from get_message by noting get_message takes an id. That is real routing guidance. It stops short of stating exclusions, such as how this relates to search_messages or whether drafts are ever folder-filtered.

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