Skip to main content
Glama

password

Generate a strong random password with a chosen length and character classes, plus its entropy. Pure CPU, instant, and nothing is stored.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "length": "<length>"
    },
    "name": "password"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthYesLength (default 20)
symbolsNoInclude symbols

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed3 schema fields changed
    • addedInput schema / properties / length
      Added value: +{
      +  "description": "Length (default 20)",
      +  "type": "integer"
      +}
    • addedInput schema / properties / symbols
      Added value: +{
      +  "description": "Include symbols",
      +  "type": "boolean"
      +}
    • addedInput schema / required
      Added value: +[
      +  "length"
      +]
  4. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful traits: pure CPU, instant, and 'nothing is stored' (no persistence). But for a password generator the single most important behavioral fact — whether the randomness is cryptographically secure — is not stated, nor is any rate/entropy guarantee beyond the word 'strong'.

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?

A single front-loaded sentence with no filler; the capability, the knobs, and the non-persistence guarantee are all up front. The trailing 'plus its entropy' clause is slightly tacked on but still earns its place by naming the second output.

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?

No output schema exists, and the description does name the return contents (password plus entropy), so an agent knows what comes back. The remaining gap is the security/RNG property and any differentiation from 'generate_password', which keeps it short of a 5.

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 only two parameters (length, symbols), so the baseline is 3. The description's phrase 'character classes' implies more configurability than the schema exposes (only a boolean 'symbols', with additionalProperties true), which mildly undersells how much the schema already documents.

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?

States a specific verb and resource ('Generate a strong random password') plus the configurable knobs (length, character classes) and an extra output (entropy). However, it never distinguishes itself from the sibling 'generate_password', which appears to do the same thing, so an agent has no basis to pick between them.

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 when-to-use or when-not-to-use guidance. With both 'generate_password' and 'check_password_strength'/'password_strength' in the sibling list, the description should route the agent (generate vs. validate), and it does not.

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