Skip to main content
Glama

Lookup Kit

shuffle

Read-only

Shuffle a list, randomize order. Shuffle a list into a fair random order (comma or newline separated, up to 1000 items). Cryptographic random. Price: $0.001 per call (x402, USDC on Base).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "shuffle"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description goes well beyond them by disclosing the randomness source (cryptographic, not pseudo-random) and a per-call price of $0.001 via x402 USDC on Base. That cost/payment information is exactly the kind of operational context an agent needs before invoking. It stops short of describing error behavior or output formatting.

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

Conciseness3/5

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

The content is short and front-loaded, but the first sentence ("Shuffle a list, randomize order.") is largely restated verbatim by the second ("Shuffle a list into a fair random order"). It reads as a tagline plus a real description concatenated, wasting one clause.

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

Completeness5/5

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

For a read-only, single-parameter utility with no output schema, the description supplies input format, item cap, randomness quality, and cost. Nothing essential for a correct invocation is missing, and return values were reasonably left implicit for a shuffle.

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?

The schema has 0% description coverage on its single string parameter, so the description must compensate, and it does: it specifies comma- or newline-separated input and a practical ceiling of 1000 items. It does not clarify maxLength 8000 characters or how delimiters are echoed in the result, leaving minor gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb and resource ("shuffle a list", "randomize order") and clarifies the output is a fair random permutation. It is immediately distinguishable from single-value randomizers like coin_flip or dice_roll, though it never names a sibling explicitly to route the agent.

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 rather than stated: the description covers the input shape and the 1000-item cap, which implicitly tells the agent when this tool applies. There is no explicit when-to-use/when-not guidance or comparison against the other randomization tools in the catalog.

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