Skip to main content
Glama
zazencodes

Random Number MCP

by zazencodes

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
random_intB

Generate a random integer between low and high (inclusive).

Args: low: Lower bound (inclusive) high: Upper bound (inclusive)

Returns: Random integer between low and high

random_floatA

Generate a random float between low and high.

Args: low: Lower bound (default 0.0) high: Upper bound (default 1.0)

Returns: Random float between low and high

random_choicesA

Choose k items from population with replacement, optionally weighted.

Args: population: List of items to choose from k: Number of items to choose (default 1) weights: Optional weights for each item (default None for equal weights)

Returns: List of k chosen items

random_shuffleA

Return a new list with items in random order.

Args: items: List of items to shuffle

Returns: New list with items in random order

random_sampleA

Choose k unique items from population without replacement.

Args: population: List of items to choose from k: Number of items to choose

Returns: List of k unique chosen items

secure_token_hexA

Generate a secure random hex token.

Args: nbytes: Number of random bytes to generate (default 32)

Returns: Hex string containing 2*nbytes characters

secure_random_intA

Generate a secure random integer below upper_bound.

Args: upper_bound: Upper bound (exclusive)

Returns: Random integer in range [0, upper_bound)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have clearly distinct purposes: integer, float, secure integer, token, sample, shuffle, and choices. There is mild overlap between random_int and secure_random_int, but the inclusive/exclusive bounds and cryptographic distinction in descriptions help disambiguate them.

Naming Consistency4/5

Naming follows a mostly consistent snake_case pattern with random_* for general operations and secure_* for cryptographic variants. The only minor inconsistency is secure_random_int breaking the random_* prefix pattern, but the naming remains predictable and readable.

Tool Count5/5

Seven tools is well-scoped for a random number utility server. Each tool addresses a distinct common random-generation need without unnecessary redundancy or bloat.

Completeness4/5

The server covers the core random number domain well: integers, floats, secure randomness, sampling, shuffling, and weighted choices. Minor gaps such as random boolean generation or non-uniform distributions exist but are not essential for the stated purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues