random_pick
[Dev] Pick one or several options at random from a caller-supplied list (CSPRNG), optionally without replacement. Costs $0.001.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| unique | No | ||
| options | Yes | Comma-separated options |
[Dev] Pick one or several options at random from a caller-supplied list (CSPRNG), optionally without replacement. Costs $0.001.
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| unique | No | ||
| options | Yes | Comma-separated options |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden. It discloses CSPRNG usage and cost ($0.001), which are important behavioral details. It doesn't cover error handling, but for a simple tool it is adequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, front-loaded with the primary action, and contains no unnecessary words. It earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with no output schema and limited parameter descriptions, the description provides enough context to use it correctly. It explains the key behavior (random pick, with/without replacement) and cost, but doesn't specify return format or limits.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 33% (only 'options' has a description). The description adds context that options are caller-supplied and explains the random picking behavior, partially compensating. It implicitly relates 'unique' to without replacement but could be clearer.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Pick' and the resource 'options from a list', specifies random selection with CSPRNG and the option for without replacement, distinguishing it from siblings like random_numbers.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions 'optionally without replacement' implying usage scenarios, but lacks explicit guidance on when not to use or alternatives. It could be more specific about the count parameter.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.