Skip to main content
Glama

password_generate

Generate cryptographically secure random passwords with configurable length and character sets, including digits, lowercase, uppercase, and symbols for stronger credentials.

Instructions

Generate a cryptographically secure random password.

Input Schema

NameRequiredDescriptionDefault
digitsNoInclude digits (default true).
lengthNoPassword length (4-128, default 16).
symbolsNoInclude symbols (default true).
lowercaseNoInclude lowercase letters (default true).
uppercaseNoInclude uppercase letters (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the password is cryptographically secure, but it does not mention output format, storage behavior, or other side-effect details.

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?

The description is a single, front-loaded sentence with no wasted words. It states the core action and the key security property immediately.

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?

For a simple password generator with rich parameter descriptions, the description is nearly complete. It could clarify the return value or explicitly rule out storage, but those gaps are minor.

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 description coverage is 100%, so all five parameters already have clear descriptions and defaults. The description adds no parameter-level meaning beyond the schema, which is acceptable given the high coverage.

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 states a specific verb and resource: generate a password. It also adds the important qualifier 'cryptographically secure', which distinguishes it from a generic random string generator.

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 purpose implies when to use it, but there is no explicit guidance about alternatives such as random_string or diceware_passphrase, nor any when-not-to-use condition.

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

Deploy Server

Other Tools