Skip to main content
Glama

Generate Username

keychain_generate_username
Read-only

Generate usernames using random words, plus-addressed emails, catch-all emails, or forwarded aliases without modifying the vault. Optionally reveal or redact the generated value.

Instructions

Generate a username like the Bitwarden generator (random word, plus-addressed email, catch-all, forwarded alias). This never mutates the vault; pass reveal=true to return the value, and NOREVEAL or KEYCHAIN_NOREVEAL force redaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoUsername generation strategy: random word, plus-addressed email, catch-all email, or forwarded alias.
capitalizeNoCapitalize the generated random word when supported.
includeNumberNoAppend a number to generated usernames when supported.
emailNoBase email address for plus-addressed username generation.
domainNoDomain for catch-all email username generation.
revealNoWhether secret values are returned; default false and can be forced false by NOREVEAL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already indicate readOnlyHint=true. The description adds details beyond annotations: 'This never mutates the vault' and explains the reveal parameter behavior with NOREVEAL/KEYCHAIN_NOREVEAL forcing redaction, which is valuable context.

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: first defines purpose and strategies, second adds critical behavioral nuance. No wasted words. Front-loaded effectively.

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?

Covers purpose, safety (read-only), and reveal behavior. With an output schema present, return format is not needed. Could mention prerequisites or edge cases (e.g., email required for plus-addressed) but overall sufficient.

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?

Input schema has 100% description coverage for all 6 parameters, so description adds limited extra meaning. It mentions the strategies but schema already defines them via enum. The reveal parameter note is the main addition, but baseline is 3.

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?

The description clearly states the tool generates usernames using specific strategies (random word, plus-addressed email, etc.). It explicitly says 'Generate a username' and lists the strategies, distinguishing it from sibling tools like keychain_generate (passwords) and keychain_get_username (retrieval).

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 description implies this tool is for generating new usernames, but lacks explicit when-to-use or when-not-to-use guidance or alternatives. It only says 'like the Bitwarden generator,' which is vague.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/icoretech/warden-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server