Skip to main content
Glama

Fair Random

Shuffle a list

shuffle_list
Read-only

Put up to 1000 items in a random order; every order is equally likely.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoOptional. 64 hex characters. Give the seed of an earlier answer to get the same result again (that is how a draw is checked). Leave it out for a fresh draw.
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 already cover the safety profile (readOnly, non-destructive, openWorld false), so the bar is lower, and the description still adds a real behavioral guarantee: 'every order is equally likely' (uniform permutation). The 1000-item ceiling is also surfaced. It omits that repeated calls with the same items produce different results unless seeded, which is only implied via idempotentHint=false.

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?

A single clause pair with zero filler, and the key constraint (1000 items) and the core guarantee are both front-loaded.

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 simple, side-effect-free permutation tool with annotations covering safety and the schema covering the seed, the description is nearly sufficient. The only minor gap is that it never says the shuffled list is what gets returned, which the absent output schema would otherwise need to clarify.

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 coverage is 50%: the seed parameter is well documented in the schema (64 hex chars, replay semantics), while items has no schema description. The description corroborates the item limit ('up to 1000 items') but adds nothing about the seed beyond what the schema already states, so the baseline 3 applies.

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?

States a specific verb (put in a random order) and the resource (a list of items), so an agent immediately understands this permutes the whole input rather than selecting a single element. It doesn't explicitly name sibling pick_from_list, which is the closest adjacent operation, so it stops short of full differentiation.

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?

Use is implied by the operation itself—shuffle the list rather than pick one item or roll dice—but there is no explicit when-to-use or when-not-to-use statement, and no mention of the seed-replay scenario for verification. The schema's seed description carries that usage context instead.

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