Skip to main content
Glama

gmail_list_drafts

List draft emails in a connected Gmail account, filter by Gmail search query, and return metadata only or full subject and body details for review.

Instructions

List draft emails in the account.

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": "<account>"
    },
    "name": "gmail_list_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoDRAFT_VIEW_METADATA_ONLY (default) omits subject and body; DRAFT_VIEW_FULL includes them.
queryNoGmail search query to filter drafts.
accountYesWhich connected account (alias) to act as, e.g. "business".
pageSizeNoMaximum results to return. Defaults to 20, maximum 50.
pageTokenNoToken from a previous call, to fetch the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden yet only implies read-only via "List". It does not disclose that the default view omits subject and body, how pagination behaves, or what the response contains for a five-parameter listing tool.

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?

A single short sentence with zero wasted words, front-loaded with the verb and resource. Its brevity is efficient, though it borders on under-specification for a tool with five parameters.

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 listing tool with no annotations and no output schema, the description leaves key operational facts unstated, notably that default results exclude subject and body and that results are paginated. An agent must read the schema to learn anything beyond the tool's basic purpose.

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%, including the enum view parameter, the search query, page size defaults, and the page token, so the schema already does the explanatory work. The description adds no meaning beyond what the schema states, which is the baseline case.

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 description states a specific verb and resource ("List draft emails") plus a scope ("in the account"), which clearly distinguishes it from write siblings like gmail_create_draft. However, it never names or contrasts any alternative such as gmail_search_threads or gmail_get_message, so it stops short of full sibling differentiation.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites (e.g., that an account alias must be connected), and no routing to alternatives for searching rather than listing. The only implied context is that it operates within a single account.

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