Skip to main content
Glama
Asmit Dev Tools

Asmit Dev Tools

by asmitsr

generate_password

Generate random passwords locally with configurable length and optional symbols, returning them directly without storage or external transmission.

Instructions

Generate a random password locally with the secrets module.

The password is generated on the server machine and returned to the caller; it is never stored or sent anywhere else. Length is clamped to 8-64.

Input Schema

NameRequiredDescriptionDefault
lengthNo
include_symbolsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose meaningful behavior: the password is generated on the server, returned to the caller, and never stored or transmitted elsewhere. It also discloses input clamping ('Length is clamped to 8-64'), which tells the agent how out-of-range values are handled. It stops short of describing the character-set/entropy guarantees or what happens if include_symbols makes generation impossible, so not a 5.

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 core action is front-loaded in the first sentence, and the following sentences add non-redundant behavioral context. Slightly padded by line breaks, but no wasted wording.

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?

An output schema exists, so return values need not be explained, and for a simple two-parameter generator the description covers what is generated, where it is generated, whether it is persisted, and the input bounds. The only residual gap is include_symbols semantics, which is minor at this complexity.

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 0%, so the description must compensate. It does add real meaning for 'length' by declaring the 8-64 clamp that the schema does not state, but it says nothing about 'include_symbols' — the parameter that most affects the output's character set. Partial compensation for a two-parameter tool.

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 a random password') plus the mechanism ('secrets module'), which unambiguously separates it from siblings like check_password_breach and password_strength. An agent can pick this tool without opening the schema.

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?

Usage is implied by the description (produce a fresh random password, generated server-side rather than stored), but there is no explicit when-to-use/when-not guidance and no routing to siblings such as password_strength for validating an existing password. Adequate but leaves the agent to infer the workflow.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.