Skip to main content
Glama

ScorpTech x402 Tools

Id Generate

id_generate
Read-onlyIdempotent

Generate unique IDs: UUID v4 (random), v7 (time-ordered, monotonic within a batch), v5 (deterministic from namespace + name), ULID, nanoid (custom size / alphabet), KSUID and MongoDB ObjectId, up to 100 at once. Or inspect an existing ID: detects UUID (version, variant, embedded v1 / v6 / v7 time), ULID, KSUID, ObjectId and Snowflake (Twitter / Discord) and decodes the timestamp. Returns JSON with: type, count, ids. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/id-generate

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": "id_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoinspect: the ID to analyse
nameNouuid5: name to hash
sizeNonanoid length
typeNouuid4
countNo
alphabetNonanoid alphabet (default URL-safe A-Za-z0-9_-)
namespaceNouuid5: dns | url | oid | x500 or a UUIDdns

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 cover the safety profile (readOnlyHint, destructiveHint=false, idempotentHint), but the description adds materially beyond them: the $0.001 USDC per successful call x402 pricing on Base or Solana, the 100-item batch ceiling, and the fact that output arrives as JSON with type/count/ids. The monotonic-within-a-batch guarantee for v7 is a behavioral nuance the schema cannot express. It stops short of stating failure behavior (e.g. what happens on a rejected payment or an undecodable input).

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?

The generation capability and its variants lead, inspection follows, and return shape, price and an alternate HTTPS endpoint are appended in descending order of importance — a sensible front-loaded structure with no filler sentences. The single dense first sentence packs several ideas together, which is efficient but slightly hard to scan.

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?

For a seven-parameter, zero-required tool with no output schema, this is close to self-sufficient: it documents both operating modes, the result envelope, batch limits, cost and an equivalent HTTP endpoint. The only substantive omission is what happens on invalid or unsupported input during inspection, which matters given that the 'id' parameter has no format constraint to fall back on.

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 71%, with inline descriptions for id, name, size, alphabet and namespace, so the schema does much of the work. The description still adds genuine meaning: it links nanoid to 'custom size / alphabet', ties v5 to 'namespace + name', and explains what each enum value produces rather than merely naming it. The remaining gap is minor — 'count' is only implied by 'up to 100 at once'.

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 specific verb-plus-resource ('Generate unique IDs') and then enumerates every supported flavor (UUID v4/v7/v5, ULID, nanoid, KSUID, ObjectId), plus a clearly delineated second mode ('Or inspect an existing ID'). An agent can tell immediately whether it is producing or decoding an ID, and the scope of each mode is spelled out (batch up to 100, detected formats, decoded timestamps).

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?

It gives the selecting condition for each variant — 'v7 (time-ordered, monotonic within a batch)', 'v5 (deterministic from namespace + name)', and 'inspect' for analysing an existing ID — which is real when-to-use guidance for choosing a type. What it lacks is explicit routing away from related tools such as a validator, or any statement about when generation is inappropriate; the guidance is clear but not exclusive.

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.

Resources