Skip to main content
Glama

AI SENSE Free Public Tools

Generate a random value

generate_random
Read-only

Generate a random number in a range (kind number, from and to, default 1 to 6), a color as #rrggbb (color), a GUID (guid), a password of 6 to 128 characters (password, length, default 12) or a passphrase of 2 to 12 word groups (passphrase, groups, default 4), which comes with its entropy in bits. For a UUID use generate_uuid. No API key, no account and no sign up: call it directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNonumber only.
fromNonumber only.
kindYes
groupsNopassphrase only.
lengthNopassword only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent hints, and random generation is consistent with idempotentHint=false. The description adds useful output context (passphrase returns entropy in bits) and default behavior, though it doesn't elaborate on return format for other kinds.

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?

One dense sentence enumerates the variants with defaults and ranges, followed by the sibling pointer and the no-auth note; front-loaded with the core purpose. Slightly long but every clause carries information.

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?

With no output schema, the description compensates by describing what each kind returns (e.g. color as #rrggbb, entropy bits for passphrase). Adequate for a 5-param tool, though it could note error behavior for out-of-range values.

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 80% (min/max ranges documented), and the description adds the missing defaults (number 1-6, password length 12, passphrase groups 4) plus the semantic mapping of each parameter to its kind, which is value beyond the schema.

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+resource and enumerates every generated variant (number/color/guid/password/passphrase) with their modifiers, so an agent knows exactly what the tool produces. It also names the sibling generate_uuid and the condition that routes there.

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

Usage Guidelines4/5

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

Explicitly says 'For a UUID use generate_uuid,' giving one clear alternative and when to pick it. It also clarifies there is no API key/account/sign-up requirement, which aids invocation, but gives no when-not guidance for the other random kinds.

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.