Skip to main content
Glama

Generate IDs (UUID / ULID / NanoID)

id_generate
Read-only

Generate 1–1000 unique IDs using cryptographic RNG: UUID v4, UUID v7, ULID, or NanoID with customizable length and alphabet.

Instructions

Generate 1–1000 unique IDs with a cryptographic RNG: UUID v4 (random), UUID v7 (time-ordered, RFC 9562, strictly increasing within a batch), ULID (26 Crockford Base32 chars, monotonic) or NanoID (custom length 2–128 and alphabet: URL-safe default, alphanumeric, hex, digits, no look-alikes, or your own). Options: uppercase, no dashes. Web version: https://s3eidat.github.io/uuid-forge/

Input Schema

NameRequiredDescriptionDefault
kindNoWhich ID type.v4
countNoHow many IDs (1–1000).
lengthNoNanoID length (2–128). 21 URL-safe chars ≈ UUID v4 collision safety.
alphabetNoNanoID alphabet: a preset ("A-Za-z0-9_-", "A-Za-z0-9", "0-9a-f", "0-9", "nolook") or your own characters (2–256 distinct; duplicates ignored).A-Za-z0-9_-
noDashesNoUUIDs only: drop the dashes (32 hex chars).
uppercaseNoUpper-case output (UUID hex digits, ULID letters). Default false = lower case, like the website.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly true, openWorld false, idempotent false; the description adds substantive behavior beyond them: cryptographic RNG source, v7 strictly increasing within a batch, ULID monotonicity and Crockford Base32 encoding, NanoID length 2–128 and alphabet presets, and that duplicate alphabet characters are ignored. This is precisely the context an agent needs to trust and configure the output.

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?

Front-loaded with the core action and ID kinds, then options, then a link. It is dense but nearly every clause carries information; the main weakness is that the first sentence is a single run-on string of technical details rather than separated clauses, which slightly hurts scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description never states the response shape — whether IDs are returned as an array, newline-joined string, or object with metadata. For a generator whose count ranges to 1000, the return format is a meaningful omission even though generation behavior itself is well covered.

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 the baseline is 3, but the description adds genuine meaning for parameter selection by explaining what each kind actually is (v7 time-ordered and RFC 9562, ULID monotonic, NanoID custom length/alphabet) rather than merely restating 'Which ID type'. It also confirms uppercase/noDashes semantics in line with 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 (Generate), resource (IDs), and enumerates the exact variants produced (UUID v4, UUID v7, ULID, NanoID) with distinguishing properties. An agent can tell this apart from siblings like password_generate or hash_compute from the name and description alone.

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 content (identifier generation for UUID/ULID/NanoID), but the description never states when to prefer this over adjacent tools such as password_generate, hash_compute, or id_inspect. It also does not mention prerequisites or exclusions, leaving routing to inference.

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

Deploy Server

Other Tools