Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAILGATE_URLYesBase URL of the MailGate instance, e.g. https://mailgate.example.com
MAILGATE_ADMIN_TOKENNoOptional admin token for the MailGate instance

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
mailgate_healthA

Check whether the configured MailGate Worker is reachable and healthy.

mailgate_wait_for_otpB

Poll a MailGate inbox until a verification/OTP code arrives. Pass since (ISO timestamp) to ignore stale OTPs from earlier tests.

mailgate_wait_for_emailB

Poll a MailGate inbox until a matching email arrives and return its subject, text body, OTP code, and extracted magic/verification link.

mailgate_list_messagesC

List recent messages stored in a MailGate inbox.

mailgate_create_inboxA

Allowlist a new inbox address on MailGate (requires MAILGATE_ADMIN_TOKEN).

mailgate_clear_messagesA

Delete all stored messages for an inbox before starting a fresh test run (requires MAILGATE_ADMIN_TOKEN).

mailgate_simulate_emailB

Inject a simulated RFC822 message through the live MIME parser and OTP extractor (requires MAILGATE_ADMIN_TOKEN and ALLOW_SIMULATE=true).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have distinct actions and resources, but mailgate_wait_for_otp and mailgate_wait_for_email overlap heavily: both poll an inbox for incoming mail, with OTP being a narrower case. The descriptions help differentiate them, though an agent could still reasonably choose the wrong one for a given test.

Naming Consistency5/5

All tools use a consistent mailgate_ prefix followed by clear snake_case verb_noun names such as mailgate_list_messages and mailgate_create_inbox. The naming pattern is predictable throughout the set.

Tool Count5/5

Seven tools is well-scoped for an email testing service, covering health, inbox setup, message inspection, polling, cleanup, and simulation without obvious padding. Each tool maps to a meaningful operation in the workflow.

Completeness4/5

The surface covers most of the email-testing lifecycle: health, inbox creation, listing, OTP/email polling, clearing messages, and simulation. Minor gaps remain, such as deleting an inbox or fetching a specific message by ID, but core workflows are supported.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues