generate_uuid
Generate one or more UUIDs. v7 (time-ordered) is best for database keys; v4 is fully random.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| version | No | v4 |
Generate one or more UUIDs. v7 (time-ordered) is best for database keys; v4 is fully random.
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| version | No | v4 |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered by structured data. The description adds that generation can be batched ("one or more"), but does not mention the 1000-item cap, the return shape, or anything about determinism — all of which matter for a generator.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, zero filler, with the purpose front-loaded and the practical version advice immediately after. Every clause carries information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter generator with no output schema, this is nearly sufficient: purpose, variant semantics and selection advice are all present. The remaining gap is the output shape when count > 1 (single string vs array) and the batch limit.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must carry the load. It explains the meaning of both enum values well (v4 = fully random, v7 = time-ordered) and implies the count parameter via "one or more", but never states the 1–1000 range or the default of 1.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb plus resource ("Generate one or more UUIDs") with the two supported variants called out. It does not distinguish itself from siblings like generate_ulid, generate_nanoid or generate_uuid_v5, which would require an extra clause.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit selection guidance between the two version values (v7 for database keys, v4 for randomness), which is genuinely useful. It offers no guidance on when to pick this tool over generate_ulid, generate_nanoid or generate_uuid_v5, so tool-level choice is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.