Skip to main content
Glama

Card Deck Shuffler

CardDeckShuffler
Read-only

Card Deck Shuffler: Card Deck Shuffler randomizes standard playing card decks using Fisher-Yates or riffle algorithms. Pass the deck count and optional jokers to get the full ordered cards with rank, suit, shorthand symbols, and the top card. (Cost: 1 credit)

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

Input Schema

NameRequiredDescriptionDefault
decksNoNumber of decks to shuffle
jokersNoInclude jokers in the deck
methodNoShuffling methodfisher-yates

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered. The description adds genuinely useful context beyond them: the two shuffling algorithms, the 1-credit cost, and that the output includes rank, suit, shorthand symbols, and the top card.

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?

Two sentences that stay on task, but the opening "Card Deck Shuffler: Card Deck Shuffler ..." duplicates the title already present in structured fields. The cost note is useful and well placed at the end.

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 three-optional-parameter, read-only generator with an output schema and full annotation coverage, the description is sufficient to invoke correctly. The only soft spot is that valid method values are only implied by naming the algorithms rather than stated as a list.

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 100%, so baseline is 3, but the description goes slightly further by naming the concrete algorithm options ("Fisher-Yates or riffle"), effectively documenting valid values for the method parameter that the schema leaves as an unenumerated free string. Deck count and jokers are only restated, not elaborated.

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 and resource ("randomizes standard playing card decks") plus the algorithms used, so an agent can tell what it produces. It does not differentiate from adjacent siblings like DiceRoller, CoinFlipper, or SlotMachineSimulator, and the leading clause redundantly restates the name/title.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no named alternative. The agent must infer applicability (card games, random dealing) purely from the tool name and the description's mechanics.

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.