Skip to main content
Glama

random password

random_password
Read-only

Strong random passwords (8-128 characters, chosen character sets, look-alikes removed) or diceware-style passphrases, from a cryptographic RNG, with entropy in bits. Never stored or logged. Costs $0.002 USDC per call (x402).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "random_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNopassword (default) or passphrase
countNo
wordsNo
lengthNo
symbolsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Adds real value beyond the readOnlyHint/openWorldHint annotations: cryptographic RNG source, entropy reporting, no storage or logging, and per-call cost of $0.002 USDC via x402. These are behavioral traits the annotations cannot convey.

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?

Single dense sentence front-loads the core capability, followed by a short cost/behaviour tail. No filler, though it crams many facts into one clause-bound sentence.

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?

Covers the what, how (CSPRNG), safety (not stored), and cost, which is solid for a stateless generator. However, with only 20% schema description coverage and no output schema, the meaning and defaults of count/words/length/symbols are missing.

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 coverage is only 20% (only the type param is described), and the description names character sets, length range, and look-alike removal, partially compensating. But count, words, length, and symbols go undocumented in both places, so the description does not fully close the gap.

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+resource with qualifiers: generating random passwords or diceware passphrases from a cryptographic RNG. Distinguishes itself clearly from sibling password_check (which audits, not generates).

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?

Implied usage is clear (generate a password), but there is no explicit when-to-use vs. when-not, no mention of alternatives, and no note about which type to pick for which scenario. Adequate but leaves the agent to infer.

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