Skip to main content
Glama

Fair Random

Random integers

random_integer
Read-only

Integers from min to max inclusive, 1 to 1000 of them, with or without repeats. The range may hold at most 2^32 values. The answer is a drawstoday.com link where the result is shown; the answer itself carries no result.

Input Schema

NameRequiredDescriptionDefault
maxYes
minYes
seedNoOptional. 64 hex characters. Give the seed shown on an earlier result page to get the same result again (that is how a draw is checked). Leave it out for a fresh draw.
countNo
uniqueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / seed / description
      Previous value: -"Optional. 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."New value: +"Optional. 64 hex characters. Give the seed shown on an earlier result page to get the same result again (that is how a draw is checked). Leave it out for a fresh draw."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, non-idempotent), so the description's real contribution is the crucial disclosure that the response is a drawstoday.com link and 'carries no result' — without this an agent would wrongly try to parse numbers. It also notes the 2^32 range cap. It could still say more about what the link page contains, but the highest-risk surprise is disclosed.

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 tight sentences, front-loaded with what is generated before the output caveat. No filler, though the phrasing 'The answer is a drawstoday.com link ... the answer itself carries no result' is slightly redundant in its repetition of 'answer'.

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?

For a 5-parameter generator with no output schema, the description supplies the two things an agent most needs: the shape of the result (a link, not values) and the verification/seed story. Combined with the well-documented seed param, nothing essential to correct invocation is missing.

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 description coverage is only 20% (only seed is documented), so the description must compensate, and it does: it defines count bounds ('1 to 1000 of them'), unique ('with or without repeats'), and the valid range size for min/max. Only the seed parameter's meaning is left to the schema, which handles it well.

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 states a specific verb+resource ('Integers from min to max inclusive, 1 to 1000 of them, with or without repeats') and immediately distinguishes itself from siblings like roll_dice or flip_coin by describing a bounded integer range with count and uniqueness controls.

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 only implied — an agent can infer this is the tool for arbitrary integer ranges rather than dice/coin/list operations, but the description never names an alternative or states when not to use it. The seed-replay sentence does indicate one legitimate use case (verifying a draw), which lifts it above a bare 2.

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