Skip to main content
Glama

iam_whoami

Returns the mailbox identity bound to this MCP server, so agents can verify which InterAgentMail mailbox they are using before sending or receiving messages.

Instructions

Return the mailbox identity bound to this MCP server.

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": "iam_whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault
mailboxNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.5.0
    • addedInput schema / properties / mailbox
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Mailbox"
      +}
  2. First observedv1.1.0

TDQS

B3.1/5.0
Behavior3/5

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

The word 'Return' implies a read-only, side-effect-free lookup, which is the key behavioral fact for an unannotated tool. However, it says nothing about permissions, whether the response can fail for an unbound mailbox, or how the mailbox param affects resolution.

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

Conciseness5/5

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

One front-loaded sentence with no filler. Every word carries meaning and there is nothing to trim.

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, which keeps this from being worse. Still, an optional parameter is left unexplained and no context on failure or auth is given for a tool whose whole job is identity resolution.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single optional 'mailbox' parameter is never mentioned in the description. It is unclear whether supplying it overrides the bound identity, filters, or is ignored, so the description fails to compensate for the schema gap.

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: it returns the mailbox identity bound to the server. That is enough to distinguish it from mutation siblings like iam_send or iam_email, though it doesn't explicitly contrast with the nearby iam_list_mailboxes.

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 guidance on when to call this versus iam_list_mailboxes, and no mention of prerequisites or what the optional mailbox argument changes. The agent must infer usage entirely from the name.

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