"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:
| Tool | Description |
|---|---|
fun/magic-8-ball | Magic 8 Ball |
fun/fortune | Fortune Cookie |
fun/dad-joke | Dad Joke |
fun/would-you-rather | Would You Rather |
fun/compliment | Random Compliment |
fun/excuse | Random Excuse |
fun/roast | Friendly Roast |
fun/trivia | Random Trivia |
fun/emoji | Random Emoji |
fun/yes-no | Yes 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.
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.
fun/coin-flip
{}
3. Party game agent
A game agent randomly selects from a list of options for team assignments or challenges.
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.