Skip to main content
Glama

Coin flip

hopi_coin_flip
Read-onlyIdempotent

Flip a fair coin one or more times. Returns each result plus a tally of heads and tails. Source: https://hopi.co.uk/coin-flip/

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoHow many coins to flip, 1 to 10000 (default 1)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
headsYes
tailsYes
resultsYes
summaryYes
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / required
      Added value: +[
      +  "count",
      +  "heads",
      +  "results",
      +  "source_url",
      +  "summary",
      +  "tails"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so no contradiction exists. The description adds a useful fairness guarantee ('fair coin') and summarizes output shape, but with an output schema available, this is context rather than essential disclosure.

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?

Two short sentences front-load the action and result, with no redundant wording. The source URL is a minor but harmless addition, and every sentence earns its place.

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

Completeness5/5

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

The tool is simple, has one optional parameter, an existing output schema, and annotations covering safety. Nothing an agent needs to call it correctly is missing.

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 100%, and the count parameter is fully documented in the input schema. The description's 'one or more times' adds no meaning beyond the schema's min/default/max, so it rests at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Flip a fair coin one or more times.' It clearly distinguishes this from random utilities like dice_roller or random_number_generator by naming the coin-flip mechanic and adding that results are tallied.

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?

The description implies the obvious use case but gives no guidance about when to prefer this over sibling alternatives such as dice_roller, random_number_generator, or yes_no_wheel. There are no when-to-use, when-not-to-use, or exclusion statements.

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