Skip to main content
Glama

AIsa Agent Mail

Manage Inbox Thread

get_agentmail_inbox_thread
Read-onlyIdempotent

Retrieve, update, or delete a specific email thread within an inbox, including details like messages, labels, senders, and timestamps.

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

Input Schema

NameRequiredDescriptionDefault
limitNoLimit of number of items returned.
inbox_idYesThe ID of the inbox.
thread_idYesID of thread.
page_tokenNoPage token for pagination.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / Authorization
      Removed value: -{
      -  "description": "Bearer authentication",
      -  "type": "string"
      -}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Limit of number of items returned.",
      +  "title": "Limit",
      +  "type": "integer"
      +}
    • addedInput schema / properties / page_token
      Added value: +{
      +  "description": "Page token for pagination.",
      +  "title": "PageToken",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "thread_id",
      -  "Authorization"
      -]New value: +[
      +  "inbox_id",
      +  "thread_id"
      +]
  2. Changed4 schema fields changed
    • addedInput schema / properties / Authorization
      Added value: +{
      +  "description": "Bearer authentication",
      +  "type": "string"
      +}
    • removedInput schema / properties / limit
      Removed value: -{
      -  "description": "Limit of number of items returned.",
      -  "title": "Limit",
      -  "type": "integer"
      -}
    • removedInput schema / properties / page_token
      Removed value: -{
      -  "description": "Page token for pagination.",
      -  "title": "PageToken",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "thread_id"
      -]New value: +[
      +  "inbox_id",
      +  "thread_id",
      +  "Authorization"
      +]
  3. Changed4 schema fields changed
    • removedInput schema / properties / Authorization
      Removed value: -{
      -  "description": "Bearer authentication",
      -  "type": "string"
      -}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Limit of number of items returned.",
      +  "title": "Limit",
      +  "type": "integer"
      +}
    • addedInput schema / properties / page_token
      Added value: +{
      +  "description": "Page token for pagination.",
      +  "title": "PageToken",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "inbox_id",
      -  "thread_id",
      -  "Authorization"
      -]New value: +[
      +  "inbox_id",
      +  "thread_id"
      +]
  4. First observed

TDQS

C2.5/5.0
Behavior1/5

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

The description claims 'update, or delete' while annotations declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. This directly contradicts the declared safety profile and could lead an agent to believe it is invoking a mutating or destructive operation.

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 front-loaded sentence that opens with the action and resource, followed by the injected pricing boilerplate. The prose itself is tight, though the misleading verb list is a content flaw rather than a length problem.

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

Completeness3/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 values need not be explained, and the schema fully covers inputs. The remaining gap is that the description fails to resolve the read-vs-write ambiguity created by its own wording against the annotations.

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% and all four parameters (limit, inbox_id, thread_id, page_token) are documented in the schema. The description adds no extra meaning such as pagination semantics or thread_id format, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific resource (a specific email thread within an inbox) and enumerates the data it surfaces (messages, labels, senders, timestamps). However, the verb set 'Retrieve, update, or delete' is over-broad and wrong for a tool whose name and annotations indicate a read, so the purpose is muddled rather than crisp.

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?

No when-to-use guidance and no routing to alternatives, despite many plausible siblings such as get_agentmail_thread, get_agentmail_inbox_threads, patch_agentmail_inbox_thread, and delete_agentmail_inbox_thread. The agent is left to infer when this tool beats a sibling.

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