Skip to main content
Glama

Password generator

random_password

Generate strong random secrets from the platform CSPRNG, with the entropy in bits so you can judge them. Four alphabets, including one with no look-alike characters for anything a human has to read back. $0.005 per call, paid over x402 (USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoHow many to generate, 1-50. Defaults to 1.
lengthNoCharacters per secret, 8-256. Defaults to 20.
alphabetNoalnum | legible | hex | completo. Defaults to legible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

No annotations, so the description carries the burden. It discloses key behavior: cryptographic randomness source, presence of entropy bits, and per-call cost via x402. It does not state whether generated secrets are stored/logged or describe the exact return shape, leaving minor gaps.

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?

Three tightly written sentences, front-loaded with purpose. Each sentence adds distinct value: purpose/security, alphabet guidance, and payment cost. No filler.

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?

The description is complete enough for a simple zero-required-param generator: it covers security source, output entropy, alphabet choice, and cost. With no output schema, the return structure is not fully specified, but the entropy mention gives useful partial context.

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 coverage is 100%, so the schema already documents count, length, and alphabet. The description still adds meaningful context for the alphabet parameter, especially the legibility/readability distinction beyond the enum names.

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?

States a specific verb (Generate) and resource (strong random secrets/passwords), and adds distinguishing properties: CSPRNG origin, entropy output, and four alphabets. This is enough to separate it from generic random_* siblings without naming them.

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 description implies when to use the legible alphabet ('for anything a human has to read back'), but gives no explicit alternatives or when-not-to-use guidance relative to random_number, random_pick, or other siblings. Usage is inferable but not fully prescribed.

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.

Resources