Skip to main content
Glama

Generate or inspect a UUID

generate_uuid
Read-onlyIdempotent

Generate UUID version 4 or version 7 from cryptographic randomness, up to 10,000 at once, or inspect the version, variant, and v7 timestamp.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_uuid"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
valueNoUUID to inspect when action is inspect.
actionNogenerate
versionNov4

Output Schema

NameRequiredDescriptionDefault
idsYes
variantYes
versionYes
timestampYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description still adds real value beyond them by disclosing the entropy source ('cryptographic randomness'), the batch ceiling (10,000), and what the inspect branch returns — though it does not say whether generated values are checked for collisions or how output is ordered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with the primary generate behavior first and the secondary inspect mode second; every clause carries information and there is no filler.

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 an output schema present, return values need no explanation, and the annotations cover safety and idempotency, so the remaining burden is modest. The description covers both modes and the batch limit; the only meaningful omission is the parameter interdependency between `action` and `value`/`count`.

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 only 25% (only `value` is documented inline), so the description must compensate, and it partly does: it ties `version` to v4/v7, `count` to the 10,000 cap, and `value` to the inspect action. However, it never states the cross-parameter dependencies — that `value` is effectively required when action=inspect, or that `count`/`version` apply only to generation — leaving the most likely misuse path unaddressed.

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 states a specific verb and resource ('Generate UUID version 4 or version 7') plus a second distinct mode ('inspect the version, variant, and v7 timestamp'), so an agent can tell exactly what the tool does and which two operations it covers. It also differentiates itself from nearby generate_* siblings (passwords, keypairs, TOTP) by naming UUID versions explicitly.

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?

The two modes are clearly delineated — generate for new identifiers, inspect when you already hold a UUID value and want its version/variant/timestamp. There is no explicit exclusion or named alternative for adjacent needs (e.g. random secrets vs UUIDs, which generate_password/generate_keypair cover), so routing guidance stops short of a 5.

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.