Skip to main content
Glama

Mailrun Agent Identity

API keys

list_api_keys
Read-onlyIdempotent

List this account's API keys as metadata only (id, name, prefix, scopes, last use, expiry, revocation). Key material is never returned; key creation, rotation and revocation are portal-only.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, 1-100 (default 25).
cursorNoOpaque next_cursor from the previous page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds context annotations cannot: that key material is never returned (a security guarantee that shapes the answer the agent can give) and that mutating operations live outside this API surface.

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?

Two sentences, zero waste: the return payload is front-loaded and the security/scope caveat follows. Every clause earns its place.

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

Completeness4/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 compensates by naming the fields returned and clarifying that secrets are excluded, and pagination is fully covered by the schema. The only minor gap is that it doesn't say what an empty or single-page result looks like, which is low stakes for a read-only list.

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% – both limit (with range and default) and cursor (opaque next_cursor) are fully documented in the schema. The description adds nothing about pagination, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ("List this account's API keys") and immediately enumerates the returned metadata fields (id, name, prefix, scopes, last use, expiry, revocation), so an agent knows exactly what comes back without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing clause "key creation, rotation and revocation are portal-only" effectively tells the agent not to hunt for a sibling mutation tool, which is useful routing guidance. It stops short of explicit when-to-use framing or naming an alternative listing tool, so it lands at 4 rather than 5.

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