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. UUIDs come from generate_uuid. No API key, no account and no sign up.

Input Schema

NameRequiredDescriptionDefault
toNonumber only.
fromNonumber only.
kindYesnumber for an integer between from and to, color for #rrggbb, guid, password for a password of length characters, or passphrase for groups word groups.
groupsNopassphrase only.
lengthNopassword only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / kind / description
      Added value: +"number for an integer between from and to, color for #rrggbb, guid, password for a password of length characters, or passphrase for groups word groups."
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and idempotentHint=false, so the safety profile is covered. The description adds genuinely new context: no API key, account, or sign up is required, and passphrase output comes with entropy in bits. It does not state whether the randomness is cryptographically secure, which matters for the password and passphrase modes.

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?

Everything is packed into one sentence, but it is front-loaded with the primary capability and the kind/parameter pairings are easy to scan. The parenthetical style and the trailing 'No API key, no account and no sign up' fragment are slightly awkward yet each 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 carries the burden of explaining returns, and it does so partially by naming output formats (#rrggbb) and noting passphrase entropy in bits. It does not describe the response shape for number, color, guid, or password, nor what happens if from exceeds to, leaving a modest gap for a five-mode tool.

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 100%, so the schema already defines every parameter, including ranges and enum values. The description's contribution is the documented defaults (1 to 6, 12, 4), which the schema does not state, but it adds no syntax or constraint detail beyond that.

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 names a concrete verb (generate) and enumerates the five exact resources it produces: integer number, #rrggbb color, GUID, password, and passphrase. It also explicitly names the sibling it should not be confused with ('UUIDs come from generate_uuid'), so an agent can distinguish it from nearby tools 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 Guidelines4/5

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

Each kind is paired with its applicable parameters and defaults (number 1 to 6, password length 12, passphrase 4 groups), which is effectively when-to-use guidance per mode. The one alternative, generate_uuid, is named explicitly. The only gap is that the description offers a 'guid' kind while also redirecting UUIDs to generate_uuid, leaving the agent unsure which to pick for a UUID-looking value.

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.