Skip to main content
Glama

random_gen

Create random numbers within a range, generate UUID v4 identifiers, produce customizable passwords, or pick and shuffle items from a list.

Instructions

Generate random values. Operations: 'number' (random int in range, requires 'min' and 'max'), 'uuid' (UUID v4), 'password' (random password, optional 'length' and 'uppercase'/'symbols' flags), 'pick' (pick N items from a list, requires 'items' array and optional 'count'), 'shuffle' (shuffle a list, requires 'items' array).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoMaximum value for 'number' operation (inclusive)
minNoMinimum value for 'number' operation (inclusive)
countNoNumber of items to pick for 'pick' operation (default 1)
itemsNoArray of items for pick/shuffle operations
lengthNoLength for password (default 16)
symbolsNoInclude symbols in password (default true)
operationYesThe random generation operation
uppercaseNoInclude uppercase in password (default true)
Behavior4/5

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

With no annotations, the description fully discloses behavioral traits: it explains each operation's process (e.g., 'number' generates random int in range, 'uuid' generates UUID v4) and defaults (password length 16, etc.). No destructive behavior is mentioned, which is consistent with a read-only generator.

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 description is a single sentence efficiently listing operations and their parameters. It is front-loaded with 'Generate random values.' While dense, it covers all necessary information without waste. A slightly more structured format would improve readability.

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?

Given the tool's complexity (5 operations, 8 parameters) and no output schema, the description provides sufficient context about each operation's inputs and behavior. It does not cover return values, but that is acceptable per guidelines. It is complete for a stateless random value generator.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds meaning by grouping operations and clarifying required parameters per operation (e.g., 'min' and 'max' for number, 'items' for pick/shuffle), which is not evident from the schema alone.

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?

The description clearly states 'Generate random values' and enumerates five specific operations (number, uuid, password, pick, shuffle), providing a clear verb and resource. The tool is distinctly different from siblings like search, calculator, and text tools, so no sibling confusion.

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?

The description implicitly tells when to use each operation via parameter requirements, but lacks explicit guidance on when to use this tool vs alternatives or when not to use it. Since siblings are unrelated, the context is adequate but not explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Microbiosis/mini-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server