Skip to main content
Glama

generate_password

Generate secure random passwords, passphrases, or PINs with customizable length. Select a type to get a strong random secret for authentication or encryption.

Instructions

Generate secure random passwords or passphrases

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNopassword
lengthNoLength for password/PIN, or word count for passphrase
Behavior2/5

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

With no annotations, the description must carry behavioral disclosure, but it only states 'secure random' without specifying return format, cryptographic randomness, statelessness, or how the 'type' and 'length' parameters interact. This is insufficient for an agent to predict behavior beyond the basic operation.

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. Every token contributes meaning, making it highly concise and well-structured.

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

Completeness3/5

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

The tool is simple, but without an output schema or annotations, the description leaves out useful context such as the return format (e.g., a plain string) and when to prefer it over siblings like generate_fake_data. It is adequate for basic use but has clear gaps.

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?

The schema already describes 'length' clearly and provides self-explanatory enum values for 'type', so the description adds little. It mentions passwords and passphrases but omits 'pin', and does not explain parameter syntax or constraints beyond the schema. With 50% schema coverage, the description only partially compensates, earning a middle score.

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 uses a specific verb ('Generate') and resource ('secure random passwords or passphrases'), clearly distinguishing it from sibling tools like generate_uuid or generate_lorem. The only minor gap is omitting the 'pin' type from the schema, but the core purpose is unmistakable.

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?

No guidance is given on when to use this tool instead of alternatives, nor any exclusions or prerequisites. The phrase 'secure random' hints at security-sensitive contexts, but no explicit when/when-not guidance is provided.

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/RockaRhymeLLC/bmobot-mcp'

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