Skip to main content
Glama

x402 Crediting Swarm

agentmail_inbox

Read-onlyIdempotent

Reads recent AgentMail inbox messages or threat alerts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agentmail_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum messages to return

Output Schema

NameRequiredDescriptionDefault
countYesNumber of returned inbox messages
inboxYesRecent AgentMail messages and automated threat alerts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint:false, and openWorldHint:false, so the safety profile is covered. The description adds only that results are "recent" and may include threat alerts; it says nothing about ordering, default count, or how alerts differ from messages, which are the behaviors an agent would actually need.

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 with no filler, so the core action is immediately clear. It is arguably too terse, since the "or threat alerts" clause is never developed, but there is no wasted wording to cut.

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?

Because an output schema exists, return values need not be described, and annotations cover the safety profile. However, for a read tool whose only control is "how many", the absence of any statement about default limit or recency window leaves a real gap.

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?

The single limit parameter is fully documented in the schema (100% coverage), so parameter meaning is already carried by structured data. The description adds no further semantics such as a default value, maximum, or how truncation affects alerts.

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: "Reads recent AgentMail inbox messages". The appended "or threat alerts" muddies scope, but the tool is still clearly a read operation on the agent's inbox, distinct from the only relevant sibling agentmail_send.

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, and no prerequisites or alternatives are named. The word "recent" is the only hint about the context of use, leaving the agent to infer when fetching the inbox is appropriate.

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.