Skip to main content
Glama

Generate a password or passphrase

generate_password
Read-onlyIdempotent

Generate cryptographic passwords or EFF-wordlist passphrases and report the entropy in bits. Randomness comes from the platform CSPRNG.

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

Input Schema

NameRequiredDescriptionDefault
countNo
digitNo
styleNopassword
wordsNo
digitsNo
lengthNo
symbolsNo
lowercaseNo
separatorNo-
uppercaseNo
capitalizeNo
excludeAmbiguousNo

Output Schema

NameRequiredDescriptionDefault
bitsYes
labelYes
scoreYes
valuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already establish readOnlyHint, openWorldHint=false and idempotentHint, so the safety profile is covered; the description adds genuinely useful context that randomness comes from the platform CSPRNG and that entropy in bits is reported. It does not state that successive calls return different, non-reproducible values (a tension with idempotentHint worth surfacing) nor anything about limits on the number of passwords generated at once.

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?

Two dense, well-ordered sentences with the operation front-loaded and the security-relevant detail second; nothing is padded. The entropy/reporting clause is slightly redundant given an output schema exists, but it is short enough to earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 12-parameter tool with zero parameter documentation, and the description supplies no guidance on how the parameters interact across the two styles. Output schema presence excuses it from explaining return values, and annotations cover safety, but an agent still lacks enough to choose sensible values for length, words, count, or the ambiguous 'digit' flag.

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

Parameters2/5

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

Schema description coverage is 0% across 12 parameters, so the description must carry the param burden and largely does not. It only indirectly gestures at the password/passphrase split and says nothing about length, words, count, digit vs digits, separator, capitalize, or excludeAmbiguous — including the easy-to-confuse near-duplicate 'digit' and 'digits' booleans.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource pair ('Generate cryptographic passwords or EFF-wordlist passphrases') and names both output modes, so an agent can tell this apart from hash_password or generate_uuid by the artifact produced. It stops short of explicitly contrasting with any sibling tool, which keeps it at 4 rather than 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no note on when a passphrase is preferable to a random password (e.g. human-typed secrets vs machine secrets), and no prerequisites or exclusions. An agent must infer the choice entirely from the 'style' enum in the schema, and nothing in the text explains trade-offs or when another sibling (e.g. hash_password) is the right call.

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.