Skip to main content
Glama
random-mcp-server

random-mcp-server

by mitchallen

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoBind address for http/sse127.0.0.1
PORTNoBind port for http/sse8000
APP_NAMENoName reported by server_inforandom-mcp-server
RANDOM_SEEDNoFixed seed for reproducible pools
RANDOM_COUNTNoRecords generated per kind at start-up25
MCP_TRANSPORTNoTransport type: stdio, http, or ssestdio

Instructions

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

Returns random JSON things. Use list_records / get_record / count_records with a kind of people, words, values, coords, or empty. Records are seeded at start-up so a given id is stable until you call regenerate.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
server_infoA

Health/status of the server (the REST server's GET / route).

list_recordsA

Return the seeded pool of records for kind.

Pass count to cap how many are returned (from the front of the pool); omit it to return the whole pool. empty always returns [].

get_recordB

Return a single record from kind by 1-based id (the /:id route).

count_recordsB

Return the number of records available for kind (the /count route).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation5/5

Each tool serves a distinct purpose: server_info provides health, list_records returns multiple records, get_record fetches a single record by ID, and count_records returns a count. No overlapping functionality, so selection is unambiguous.

Naming Consistency4/5

Three tools follow a clear verb_noun pattern (list_records, get_record, count_records), but server_info breaks the convention with a noun_noun style. Minor inconsistency, but overall readable.

Tool Count5/5

Four tools are well-scoped for a read-only random data server; each provides a unique retrieval operation without redundancy.

Completeness3/5

The surface covers listing, getting, counting, and server status, but lacks a way to discover available 'kind' values and offers no filtering or pagination beyond a simple count cap. This could hinder an agent that doesn't already know valid kinds.

Maintenance

ActivityActive
ResponsivenessSyncing