Fun MCP Tools for AI Agents

"Roll a d20." Your LLM says 14. But was that actually random, or did the model just pick a number that felt right? LLMs don't have random number generators — they generate plausible-looking numbers from patterns. These tools use real randomness.

All Fun Tools (10)

Your agent gets access to 10 fun tools via the /mcp/fun/ endpoint. Here's the complete list:

ToolDescription
fun/magic-8-ballMagic 8 Ball
fun/fortuneFortune Cookie
fun/dad-jokeDad Joke
fun/would-you-ratherWould You Rather
fun/complimentRandom Compliment
fun/excuseRandom Excuse
fun/roastFriendly Roast
fun/triviaRandom Trivia
fun/emojiRandom Emoji
fun/yes-noYes No

Agent Scenarios

Here's how real agents use these tools:

1. Game master agent

A tabletop RPG agent rolls dice with genuine randomness for fair gameplay.

Tool Call: fun/dice-roll
{ "sides": 20 }

2. Decision-making agent

A personal assistant agent flips a coin or uses Magic 8-Ball for fun decision-making.

Tool Call: fun/coin-flip
{}

3. Party game agent

A game agent randomly selects from a list of options for team assignments or challenges.

Tool Call: fun/random-choice
{ "choices": ["Team A", "Team B", "Team C"] }

MCP Setup

Add fun tools to your agent in under 2 minutes. Choose your client:

Claude Desktop / Claude Code

Add this to your MCP config:

{
  "mcpServers": {
    "tinyfn-fun": {
      "url": "https://api.tinyfn.io/mcp/fun/",
      "headers": {
        "X-API-Key": "your-api-key"
      }
    }
  }
}

Cursor

Go to Settings > MCP and add a new server:

  • Type: SSE
  • URL: https://api.tinyfn.io/mcp/fun/sse
  • Headers: X-API-Key: your-api-key

Tip: Use the category-specific endpoint (/mcp/fun/) for the best experience. The all-in-one endpoint (/mcp/all/) works too but has 500+ tools which some clients handle less efficiently.

When to Use These Tools

Use fun MCP tools when your agent needs to:

  • Guarantee correctness — when wrong answers have real consequences
  • Process user data — when you're operating on actual user input, not hypothetical examples
  • Maintain consistency — when the same input must always produce the same output

You don't need these tools for casual conversation or rough estimates. Use them when precision matters.

Ready to add fun tools to your agent?

Get Free API Key 100 requests/month free. No credit card required.

Frequently Asked Questions

Are LLM 'random' numbers actually random?

No. LLMs generate numbers from learned distributions, not from random number generators. They tend to favor certain numbers and avoid extremes, making their output statistically biased.

What fun tools does TinyFn provide?

TinyFn offers dice rolling (any number of sides), coin flipping, Magic 8-Ball, random choice from options, and other entertaining utilities.

Is the randomness cryptographically secure?

Fun tools use standard randomness, which is suitable for games and casual use. For cryptographic randomness, use the generator or crypto tools.

Ready to try TinyFn?

Get your free API key and start building in minutes.

Get Free API Key