Skip to main content
Glama

Lookup Kit

random_pick

Read-only

Random picker, choose a random item or winner from a list. Pick one or more items at random from a list (comma or newline separated), without repeats. 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": "random_pick"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses two non-obvious traits: the draw is cryptographic (quality of randomness) and sampling is without replacement. It also states cost and payment rail ($0.001 per call, x402/USDC on Base), which matters for call budgeting. It does not describe the return shape or what happens when count exceeds the list length.

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?

Three short sentences, front-loaded with the core action before the format, no-repeat rule, and pricing. The first sentence ('Random picker, choose a random item or winner') partially restates the second, a minor redundancy rather than real waste.

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 two-parameter read-only utility with no output schema, the description supplies input format, sampling behavior, randomness quality, and cost. The remaining gap is edge-case behavior (count larger than the candidate list) and whether output is a list versus a single value when count is 1.

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 description coverage is 0%, so the description must carry the load. It usefully defines 'items' as comma- or newline-separated and implies count via 'one or more items', but never covers the count parameter's bounds (1-100), default of 1, or the 5000-character input cap. Partial compensation only.

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 states a specific verb and resource ('choose a random item or winner from a list') and adds distinguishing scope ('without repeats'), which separates it from repeat-allowing siblings like random_number. It never explicitly names which sibling handles non-list randomness, so sibling differentiation is implied rather than stated.

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 by the resource: supply a list when you want a winner or subset drawn from candidates. There is no explicit when-to-use/when-not clause or pointer to alternatives such as coin_flip, dice_roll, or random_number, leaving the agent to infer routing from names alone.

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