Skip to main content
Glama

Generate

keychain_generate
Read-only

Generate passwords or passphrases without altering the vault. Optionally reveal the value with reveal=true, or enforce redaction with NOREVEAL.

Instructions

Generate a password or passphrase with bw generate. This never mutates the vault; pass reveal=true to return the value, and NOREVEAL or KEYCHAIN_NOREVEAL force redaction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uppercaseNoInclude uppercase letters when generating a password.
lowercaseNoInclude lowercase letters when generating a password.
numberNoInclude numeric digits when generating a password.
specialNoInclude special characters when generating a password.
passphraseNoGenerate a word-based passphrase instead of a password.
lengthNoPassword length in characters, between 5 and 256.
wordsNoPassphrase word count, between 3 and 50.
minNumberNoMinimum number of digits to include.
minSpecialNoMinimum number of special characters to include.
separatorNoSeparator to use between words in passphrase mode.
capitalizeNoCapitalize passphrase words when supported by bw.
includeNumberNoInclude a number in passphrase mode when supported by bw.
ambiguousNoAllow ambiguous characters in generated passwords.
revealNoWhether secret values are returned; default false and can be forced false by NOREVEAL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses non-mutating nature and redaction behavior, complementing the readOnlyHint annotation. Adds value by explaining that reveal=true returns the value and that NOREVEAL forces redaction.

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 concise sentences with no fluff. The first sentence states purpose, and the second adds key behavioral nuance. Every word 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?

Given the comprehensive schema and annotations, the description is largely complete. It covers core purpose and critical behavioral traits. Could briefly mention that parameters like uppercase/lowercase control character sets, but schema already handles that.

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 covers all 14 parameters with descriptions. The description does not add new parameter-level meaning beyond the schema, so baseline score of 3 is appropriate.

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?

Clearly states 'Generate a password or passphrase' with specific verb and resource. Distinguishes from sibling keychain_generate_username by focusing on passwords/passphrases and explicitly noting it never mutates the vault.

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?

Provides some usage context (reveal, NOREVEAL) but does not explicitly state when to use this tool versus alternatives like keychain_generate_username or other creation tools. Lacks explicit when-to-use and when-not-to-use guidance.

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