Skip to main content
Glama

AIsa Agent Mail

Manage Email Thread

get_agentmail_thread
Read-onlyIdempotent

Retrieve, update, or delete an email thread by its ID. Supports fetching thread details, modifying labels, and deleting the thread permanently or moving it to trash.

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.
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: -[
      -  "thread_id",
      -  "Authorization"
      -]New value: +[
      +  "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: -[
      -  "thread_id"
      -]New value: +[
      +  "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: -[
      -  "thread_id",
      -  "Authorization"
      -]New value: +[
      +  "thread_id"
      +]
  4. First observed

TDQS

C2.1/5.0
Behavior1/5

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

The description asserts mutating and destructive behavior ('update', 'delete the thread permanently') while annotations declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. This directly contradicts structured data an agent relies on, and the schema offers only thread_id/limit/page_token with no action or force/trash parameter to select a delete mode. Pricing note is the only additive context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core is only two sentences and is front-loaded, which is good. However, the injected pricing boilerplate interrupts the definition, and the second sentence spends its space enumerating capabilities the parameters cannot actually invoke.

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?

An output schema exists, so return values need no exposition, but for a tool advertised as capable of permanent deletion the description omits permission requirements, reversibility, and which parameter selects each mode. Combined with the readOnly annotation conflict, an agent lacks what it needs to call this safely.

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 three parameters (thread_id, limit, page_token) are documented in the schema, so the baseline is 3. The description adds nothing about pagination or list-size behavior, and notably never explains how a single thread_id call could trigger the update/delete paths it advertises.

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

Purpose2/5

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

The description claims three distinct operations ('Retrieve, update, or delete') for a tool named get_agentmail_thread whose title is 'Manage Email Thread'. That tri-verb claim collides with both the tool's own name and real siblings like patch_agentmail_thread and delete_agentmail_thread, so an agent cannot tell which tool performs which action. It effectively restates the vague title rather than pinning down a single purpose.

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 is given, and the closest siblings (get_agentmail_inbox_thread, get_agentmail_threads, patch_agentmail_thread, delete_agentmail_thread) are never named or contrasted. The mention of 'permanently or moving it to trash' hints at a deletion mode but never says when to prefer which, nor which tool owns those paths.

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