Skip to main content
Glama

generate_password

Create a secure random password with customizable length and optional special characters. Ensures complexity with lowercase, uppercase, digits, and special characters if enabled.

Instructions

Generate a random password with specified length, optionally including special characters. The password will meet the complexity requirements of at least one lowercase letter, one uppercase letter, and two digits. If special characters are included, it will also contain at least one such character. Until the password meets these requirements, it will keep regenerating. This is a simple example of a tool that can be used to generate passwords. It is not intended for production use.

Input Schema

NameRequiredDescriptionDefault
lengthNoThe length of the password to generate (between 8 and 64 characters).
use_special_charsNoInclude special characters in the password.

Input Schema (JSON Schema)

{ "properties": { "length": { "default": 12, "description": "The length of the password to generate (between 8 and 64 characters).", "maximum": 64, "minimum": 8, "title": "Length", "type": "integer" }, "use_special_chars": { "default": false, "description": "Include special characters in the password.", "title": "Use Special Chars", "type": "boolean" } }, "type": "object" }
Install Server

Other Tools from PyMCP

Related Tools

    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/anirbanbasu/pymcp'

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