Skip to main content
Glama

Fair Random

Flip a coin

flip_coin
Read-only

Flip a fair coin 1 to 100 times.

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.
countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds only the 'fair' uniformity claim; it says nothing about reproducibility via seed or the return format, though the idempotentHint=false annotation and the schema's seed text together imply the quirky seed-replay behavior the description omits.

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, front-loaded sentence with no filler. Nothing to trim and the essential scope (count bound) is stated immediately.

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

Completeness3/5

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

With no output schema, the description should ideally state what a flip returns (heads/tails vs boolean) and how multiple flips are represented. For a simple two-parameter tool the omission is survivable, but it leaves a real gap for an agent composing a response.

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 50%: seed is well documented in the schema, while count relies on its min/max/default constraints. The description's '1 to 100 times' reinforces the count range, but adds nothing about the seed parameter's verification purpose.

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 ('Flip a fair coin') plus the count range, so the core action is unambiguous. It stops short of distinguishing itself from siblings like roll_dice or random_integer, which occupy nearly the same conceptual space.

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?

No guidance on when to prefer this over roll_dice, random_integer, or pick_from_list, and no mention of the seed-reuse workflow for verifying or reproducing a draw. The agent is left to infer selection entirely from the tool name.

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