Skip to main content
Glama

FernTool Network Tools

random_number

Fair, cryptographically secure random integers (you cannot produce real randomness yourself). min and max are inclusive. unique=true for no repeats (raffles, lotto, picking winners). For a coin flip use min 0, max 1; for dice use min 1, max 6.

Input Schema

NameRequiredDescriptionDefault
maxNodefault 100
minNodefault 1
sortNo
countNodefault 1
uniqueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses important behavioral traits: cryptographic security, fairness, inclusive min/max bounds, and unique-mode semantics. It omits how count and sort affect the result, and does not mention output format or the 1000-count limit, but covers the most critical traits.

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?

The description is short, front-loaded with the core purpose, and every sentence adds value: security context, inclusive bounds, unique mode, and concrete examples for coin flip and dice. No wasted words.

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?

For a 5-parameter tool with no annotations and no output schema, the description is only partially complete. It covers purpose, bounds, unique mode, and examples, but leaves count and sort behavior unexplained and does not clarify return values, which an agent may need when invoking with non-default count.

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 60%, so the description must compensate. It clarifies min/max inclusiveness and unique=true meaning, which the schema does not. However, it does not explain the sort parameter or the count parameter's effect (e.g., returning multiple integers).

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 exactly what the tool returns: fair, cryptographically secure random integers. It distinguishes the tool from all siblings, which are unrelated utilities, and even explains why an agent should use it (you cannot produce real randomness yourself).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear contexts for parameter usage: unique=true for raffles, lotto, picking winners; coin flip with min 0, max 1; dice with min 1, max 6. No explicit when-not-to-use or alternative tool is named, but no sibling tool offers this functionality.

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