Skip to main content
Glama

Mailrun Agent Identity

Check a free subdomain

check_free_subdomain
Read-onlyIdempotent

Free plan only. Without label: the Mailrun free parent domains and whether each has room. With label: whether label. can be claimed under each parent (reason taken, retired, reserved, invalid, too_long or parent_full when not). Claim one with add_domain using the full name and no redirect_to; a free subdomain needs no nameserver or DNS change. You can claim one free subdomain and one root domain the user already owns per account. Use add_domain to claim their own domain and ask them to point its nameservers at Mailrun. Create no more than 3 identities in total across both domains.

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

Input Schema

NameRequiredDescriptionDefault
labelNoThe subdomain label to check, e.g. "acme" for acme.agentidentity.to: 3-36 lowercase letters, digits or hyphens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them by disclosing plan gating ('Free plan only'), the enumerated failure reasons (taken, retired, reserved, invalid, too_long, parent_full), the per-account claim quota, and the fact that no DNS or nameserver work is needed. That is exactly the operational context an agent needs before deciding to claim.

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?

Front-loads the plan restriction, then walks through no-label mode, label mode, claim instructions, and quotas in short clauses. Density is high and a few clauses run together, but nearly every sentence carries distinct information and nothing is redundant.

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 still conveys what each mode returns (parent domains plus room, or per-parent claimability with reasons) and the follow-up action needed to claim. Exact field names or the form of the 'room' indicator are left implicit, a minor gap for a single-optional-parameter read tool.

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

Parameters4/5

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

Schema coverage is 100% and the label parameter's format constraints (3-36 lowercase letters, digits, hyphens) are already documented there. The description adds real value the schema cannot: the semantic switch where omitting label changes the operation entirely, and how a label relates to the parent set returned. It does not spell out the exact response shape, keeping it below a 5.

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 ('check' a 'free subdomain') and immediately clarifies the two operating modes (with vs. without the label parameter), which lets an agent predict exactly what the call returns. It also names the sibling add_domain as the mutation counterpart, so the check/claim boundary 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 Guidelines5/5

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

Explicit routing: use this tool with no label to list parent domains and capacity, with a label to test a specific candidate, and use add_domain to actually claim it (with the full name and no redirect_to) or to onboard a user's own root domain. Quota rules (one free subdomain plus one owned root domain per account, max 3 identities) and the no-nameserver-change note are stated inline.

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