generate_password
Generate random passwords using the platform crypto RNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many (1-20, default 1) | |
| length | No | Password length (4-128, default 20) |
Generate random passwords using the platform crypto RNG.
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many (1-20, default 1) | |
| length | No | Password length (4-128, default 20) |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It usefully discloses that randomness comes from the platform crypto RNG (i.e., cryptographically secure rather than a weak PRNG), but it says nothing about character set composition (symbols? ambiguous characters?), which is the most important behavioral trait for an agent consuming a generated password.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations, the description leaves the agent guessing the password's character composition and whether generation is deterministic or has side effects. The parameter surface is fully covered by the schema, but the return-value characteristics are not.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, with both count and length fully documented including ranges and defaults. The description adds no additional meaning beyond that, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Generate) and resource (random passwords) and adds that it uses the platform crypto RNG. Sibling tools like generate_uuid or hash_text are clearly different in purpose, though the description doesn't explicitly contrast with them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the name and verb — you use it when you need a random password — but there is no explicit statement of when to prefer it, any prerequisites, or any notes about persistence/display of the generated value.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.