Skip to main content
Glama

Password Generator API - strong random passwords

password_generator
Read-onlyIdempotent

Generate 1-50 random passwords with chosen length and character sets, secure random source, strength in bits. Runs on our server, files are deleted right after the call, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/password-generator.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "count": 3,
      "length": 20
    },
    "name": "password_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many, 1-50
upperNoCapital letters
digitsNoDigits
lengthNoLength 8-128
symbolsNoSymbols
clearOnlyNoLeave out look-alike characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / count / minimum
      Added value: +1
    • addedInput schema / properties / length / minimum
      Added value: +1
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the CSPRNG source, server-side execution, immediate file deletion, no storage, and concrete rate limits/authentication paths — none of which appear in the structured hints. One residual tension: idempotentHint=true while the tool is explicitly random, so an agent could wrongly assume repeat calls return the same passwords; the description corrects this indirectly but does not address it directly.

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?

The capability and constraints are front-loaded in the first sentence, with operational details after. It is appropriately short, though the pricing/auth sentence is dense with URLs and mixed payment schemes that could be split for readability.

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?

For a stateless generator with a fully documented six-parameter schema, the definition supplies the missing operational context: scale limits, entropy reporting, storage policy, and access tiers. Nothing critical to invoking it correctly is absent, and no output schema is needed for a tool that returns a password list.

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 the baseline is 3. The description adds one piece of meaning the schema omits — the count maximum of 50 — but says nothing about clearOnly, symbols, or the default-on behavior of the boolean character-set flags, and its 'length' guidance does not align with the schema's stated minimum of 1.

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 and resource ('Generate ... random passwords') plus the controllable dimensions (count, length, character sets) and the entropy basis ('strength in bits'). This clearly separates it from siblings like hash_generator or base64_encode_decode, which transform input rather than produce random secrets.

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 covers access conditions (free 5 calls/day per IP, paid via Radar API key or x402) but never says when to use this tool versus alternatives, nor any when-not condition. Usage is implied by the tool name and purpose rather than stated as guidance.

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