Skip to main content
Glama

TinyFn

random_password

Generate secure random password(s).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of passwords to generate
lengthNoPassword length
numbersNoInclude numbers
symbolsNoInclude symbols
lowercaseNoInclude lowercase letters
uppercaseNoInclude uppercase letters
exclude_ambiguousNoExclude ambiguous characters (0O1lI)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNo
countNo
errorNo
valueNo
lengthNo
valuesNo
entropy_bitsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. 'Secure random' is vague; doesn't specify cryptographic source, behavior when all sets disabled, or error handling. Adequate but minimal.

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 sentence, no fluff, appropriately front-loaded. Slightly too terse but effective for a simple tool.

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?

Output schema exists, so return values are covered. However, for a tool with 7 parameters and no usage context, description is minimal; acceptable for simple generation but could elaborate on character set flexibility.

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 100% with parameter descriptions. The description adds no extra semantic value beyond the schema, meeting baseline but not exceeding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states verb 'Generate' and resource 'secure random password(s)', but doesn't differentiate from sibling tools like generate_password or generate_passphrase.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus siblings (e.g., generate_passphrase for diceware, generate_password_2 for different algorithm). Description lacks context for selection.

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.