Skip to main content
Glama

Mailrun Agent Identity

Get identity

get_identity
Read-onlyIdempotent

One identity: name, status, email address (null until provisioning completes), domain, phone number, voice, retention, voicemail settings, daily send cap and the hosted email agent settings (email_agent).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "identity_id": "<identity_id>"
    },
    "name": "get_identity"
  }
}

Input Schema

NameRequiredDescriptionDefault
identity_idYesIdentity id from list_identities.

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?

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description contributes one genuine behavioral fact beyond that: the email address is null until provisioning completes, which tells the agent a missing email is expected state rather than an error. It says nothing about auth, lookup failures, or how the nested objects (voice, retention, voicemail settings, email_agent) are shaped.

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 with no filler or repetition. The field list is long but every item is informative, and the parenthetical cue about the email field is placed where it matters.

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?

With no output schema, the description effectively serves as the return contract, and it lists top-level fields adequately. However, several fields it names (voice, retention, voicemail settings, email_agent) are composite values whose shape is left entirely undefined, and error behavior for an invalid or released identity is not addressed.

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?

With a single required parameter at 100% schema description coverage, the schema already explains that identity_id comes from list_identities. The description adds no clarification of format or accepted identifier types, so the baseline of 3 applies.

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?

The description names a single resource ('One identity') and enumerates the exact fields it returns, which lets an agent distinguish it from siblings like get_identity_status (status only) and get_email_agent (agent settings only). The retrieval verb is left implicit in the noun-phrase field list, but the intent is unambiguous.

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 guidance, no statement of prerequisites, and no direction toward alternatives such as get_identity_status or update_identity. The only hint that this is the broad single-object read is the field enumeration itself, which the agent must infer.

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