Skip to main content
Glama

Random Joke

RandomJoke
Read-only

Random Joke: Random Joke fetches two-part jokes with separated setups and punchlines for applications and bots. Paid plans add a joke rating score to evaluate humor. (Cost: 1 credit)

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": "RandomJoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
safeNoOnly return jokes reviewed as safe for a general audience (no sexual, offensive, violent or political jokes). Set to false to include the full collection, which has adult humor

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description contributes genuinely new behavior: a 1-credit cost and a plan-dependent response variation (paid plans add a rating score). It does not mention rate limits or how the two-part structure appears in the response, though an output schema exists.

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

Conciseness3/5

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

The body is compact, but it opens with a redundant 'Random Joke: Random Joke fetches' repetition of the title and name before reaching the substance. The cost note in parentheses is terse and earns its place; the plan/rating sentence is the only marketing-flavored filler.

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 one-parameter read-only tool with an output schema and full annotation coverage, the description supplies the remaining critical facts: cost per call and plan-dependent output. The main gap is sibling differentiation among the numerous joke tools, which is partially outside a single tool's description.

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?

There is a single optional parameter whose schema description is 100% covered and explains the safe/unsafe collection split in detail. The description adds nothing about the parameter, which is acceptable given full schema coverage, so the baseline of 3 applies.

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?

States a specific verb and resource (fetches jokes) and adds a distinguishing structural detail: two-part jokes with separated setups and punchlines. It never names or distinguishes itself from close siblings like DadJokes, ChuckNorrisJokes, or RandomPun, so an agent cannot tell from the text alone which joke tool to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage framing is 'for applications and bots', which is target audience rather than a when-to-use condition. There is no statement of when-not to use it and no pointer to the sibling joke tools that overlap heavily, leaving selection entirely to inference.

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.