Skip to main content
Glama

Agent Data Tools: Utilities

Random fortune: a short fortune chosen at random

fortune
Read-only

Random fortune: get one short fortune-cookie saying chosen at random with a cryptographic source, with no input needed. For fun only; a fortune is not a prediction. Use for games, chat bots and a light daily message. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fortune"
  }
}

Input Schema

NameRequiredDescriptionDefault
onlyNoOptional: comma-separated top-level result keys to keep, for a smaller answer (for example only=price,symbol); unknown keys are ignored and an empty match returns the full result

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, non-idempotent, openWorld=false), and the description adds genuinely new behavioral facts: a cryptographic randomness source, $0.01/call via x402 USDC or card key, first 10 free, failed calls free, and the explicit warning that repeats are charged because the tool is non-idempotent. That cost/auth disclosure is exactly the extra context annotations cannot carry. It stops short of rate limits or latency expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the sentences are dense rather than padded, with the disclaimer and the billing model each adding real information. The pricing clause is somewhat crammed into the same block, but nothing is redundant except a mild restatement between "each call is charged" and the per-call price.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter, annotation-rich tool with no output schema, the description covers purpose, return shape ("one short saying"), safety, and cost. The only gap is that it never mentions the "only" projection parameter nor the keys a caller could filter on, which is the one thing an agent would need to use that parameter well.

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 100% and the single optional "only" parameter is fully documented in the schema itself. The description adds nothing about it, but does not mislead either, so the baseline 3 applies; a note on which result keys exist would have helped since the agent cannot see an output schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get one short fortune-cookie saying chosen at random" gives a specific verb plus a specific resource, and the cryptographic-source detail further pins it down. It never names a sibling tool, but the resource is distinct enough (a fortune, not a color/number/password) that an agent can place it without opening the schema.

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?

It states positive usage contexts (games, chat bots, a light daily message) and an exclusion ("for fun only; a fortune is not a prediction"), plus "no input needed". What is missing is any explicit routing statement versus the other random_* siblings, but the context is otherwise clear.

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.