Skip to main content
Glama
Jambozx

OnlineCyberTools MCP (280+ filterable tools)

crypto_mysql_password_generator

Read-only

Generate MySQL server-side password hashes for any plaintext. Supports SHA1-based formats (mysql41-57) and caching_sha2_password (mysql80). Returns hash with version, algorithm, and salt info.

Instructions

MySQL Password Hash Generator. Generate the server-side password hash MySQL stores in mysql.user.authentication_string for a given plaintext, across MySQL versions. Use it to build CREATE USER / SET PASSWORD statements or seed test fixtures; use crypto_postgresql_password_generator for PostgreSQL (md5/SCRAM) hashes instead, and crypto_password_generator to invent a new random plaintext rather than hash one. Runs locally on the input you provide: read-only, non-destructive, contacts no database or external service, and is rate-limited (30 requests/min anonymous). SHA1-based formats (mysql41/5/55/56/57) are deterministic; the mysql80/mysql8 caching_sha2_password format uses a fresh random salt, so its hash differs on every call. Returns the hash plus its version label, algorithm, format, and (for 8.0) salt and iterations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordYesPlaintext password to hash. Required and non-empty.
versionNoTarget MySQL format. mysql41/5/55/56/57 produce the SHA1(SHA1()) PASSWORD() hash; mysql80/mysql8 produce a salted caching_sha2_password hash; old_mysql/mysql323 produce the deprecated, insecure pre-4.1 hash.mysql57

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
originalNoThe plaintext password, echoed back.
hashNoThe MySQL-format password hash (e.g. *HEX, or $A$005$... for 8.0).
versionNoHuman-readable label of the MySQL format used.
algorithmNoHash algorithm, e.g. SHA1(SHA1(password)) or PBKDF2-SHA256.
formatNoDescription of the output encoding/format.
iterationsNoPBKDF2 iteration count (caching_sha2_password / mysql80 only).
saltNoBase64 random salt used (caching_sha2_password / mysql80 only).
warningNoPresent only for deprecated old_mysql/mysql323 formats.
Behavior5/5

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

Annotations indicate readOnlyHint=true and destructiveHint=false. The description adds that it runs locally, contacts no database or external service, is rate-limited (30 req/min), and explains deterministic vs non-deterministic behavior (SHA1-based formats are deterministic, mysql80 uses random salt). This goes beyond annotations.

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?

Description is a single well-structured paragraph, front-loading the main purpose and use cases. It covers key points without excessive verbosity. Could be slightly more concise but overall effective.

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

Completeness5/5

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

Given the tool's complexity (2 parameters, enum, simple behavior), the description covers purpose, parameters, usage, behavior, rate limits, and output (returns hash, version, algorithm, format, salt, iterations). No output schema provided but description adequately hints at return structure.

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

Parameters4/5

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

Schema covers both parameters (password and version) with descriptions and examples. The description adds context about version-specific formats (e.g., mysql80 uses caching_sha2_password with random salt) and behavior differences, providing useful nuance beyond schema.

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 clearly states the tool generates MySQL password hashes for a given plaintext across versions. It specifies the exact use case (building CREATE USER/SET PASSWORD statements or test fixtures) and distinguishes from sibling tools like crypto_postgresql_password_generator and crypto_password_generator.

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

Usage Guidelines5/5

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

Explicitly provides when to use (for MySQL password hash generation) and when not to use (for PostgreSQL, use crypto_postgresql_password_generator; for random plaintext, use crypto_password_generator). Also notes it runs locally, is read-only, non-destructive, and rate-limited.

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/Jambozx/onlinecybertools-mcp-server'

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