Skip to main content
Glama

mail_provider

Identify a domain's email provider: mailbox host (Google Workspace, Microsoft 365, Zoho, Proton and more) plus gateway detection (Mimecast, Proofpoint, Barracuda) from MX records. $0.01 USDC per call. Returns the x402 payment requirements; your agent's wallet executes the payment. Example: mail_provider(domain="acme.com")

Input Schema

NameRequiredDescriptionDefault
domainYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a good job: it discloses the per-call cost ($0.01 USDC), the x402 payment flow (returns payment requirements, wallet executes payment), and that detection is derived from MX records. It lacks detail on failure modes or rate limits, but the payment/auth behavior — the most consequential trait here — is explicit.

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?

Three tight sentences, front-loaded with what is detected and followed by cost/payment and an example. No filler, though the provider/gateway name lists are slightly long.

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?

An output schema exists so return shape needn't be described, and the description still covers the non-obvious part — the x402 payment mechanics. For a one-parameter lookup tool this is close to complete; only failure/error behavior is unaddressed.

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 0% (the single `domain` parameter has no description), so the description must compensate. The worked example `mail_provider(domain="acme.com")` does convey format and usage, though it doesn't state edge cases (subdomains, bare domain vs FQDN).

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 (identify a domain's email provider) and enumerates the concrete outputs: mailbox host (Google Workspace, Microsoft 365, Zoho, Proton) and gateway detection (Mimecast, Proofpoint, Barracuda) from MX records. That specificity makes it easy to distinguish from the generic `dns` sibling without opening a schema.

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

Usage Guidelines3/5

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

The implied use case is obvious from the description (look up who hosts email for a domain), but there is no explicit when-to-use/when-not guidance or routing to alternatives such as `dns` for non-MX records. Adequate but leaves the agent to infer the boundary.

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.