Skip to main content
Glama

AIsa Agent Mail

List Drafts

get_agentmail_inbox_drafts
Read-onlyIdempotent

Retrieve a list of email drafts from the specified inbox, with optional filters and pagination support.

Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.

Input Schema

NameRequiredDescriptionDefault
afterNoTimestamp after which to filter by.
limitNoLimit of number of items returned.
beforeNoTimestamp before which to filter by.
labelsNoLabels to filter by.
inbox_idYesThe ID of the inbox.
ascendingNoSort in ascending temporal order.
page_tokenNoPage token for pagination.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / Authorization
      Removed value: -{
      -  "description": "Bearer authentication",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "Authorization"
      -]New value: +[
      +  "inbox_id"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / Authorization
      Added value: +{
      +  "description": "Bearer authentication",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id"
      -]New value: +[
      +  "inbox_id",
      +  "Authorization"
      +]
  3. Changed2 schema fields changed
    • removedInput schema / properties / Authorization
      Removed value: -{
      -  "description": "Bearer authentication",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "Authorization"
      -]New value: +[
      +  "inbox_id"
      +]
  4. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safe-read profile is covered by structured data. The description adds only that filtering and pagination are supported; it says nothing about auth scope, result caps, or how pagination tokens behave. The appended pricing line is boilerplate billing metadata, not behavioral disclosure.

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?

One front-loaded sentence carrying the core information with no wasted phrasing. The trailing pricing comment block is extraneous to tool selection, though it appears to be injected metadata rather than authored description text.

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 an output schema present, return values need not be explained, and full schema coverage handles parameter detail; annotations cover safety and idempotency. The remaining gap is only the absence of sibling-routing guidance, which is minor for a straightforward list endpoint.

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%, so every parameter (after, before, labels, limit, ascending, page_token, inbox_id) is already documented in the schema. The description generalizes about filters and pagination but adds no field-level meaning beyond it, matching the baseline-3 expectation.

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 ('Retrieve a list of email drafts') and scopes it to 'the specified inbox,' which matches the required inbox_id. It does not, however, explicitly distinguish itself from the sibling get_agentmail_drafts (the non-inbox-scoped list) or get_agentmail_inbox_draft (single draft), so the differentiation is left to the name.

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?

Mentioning 'optional filters and pagination support' implies the intended listing/filtering use case, but the description never says when to pick this over get_agentmail_drafts, get_agentmail_inbox_draft, or the thread/message list siblings, nor does it state any prerequisites.

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