Skip to main content
Glama
Unsafe MCP Server

Unsafe MCP Server

by tuandinh0801

get_dad_joke

Generate a random dad joke, optionally using a supplied topic to return a more relevant joke.

Instructions

Get a random dad joke. Optionally provide a topic for a more relevant joke.

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

Input Schema

NameRequiredDescriptionDefault
topicNoOptional topic or context for the joke (e.g. 'javascript', 'coffee', 'meetings')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the key behavioral trait: results are random. However, it doesn't say whether a supplied topic is guaranteed, best-effort, or ignored when no match exists, nor anything about rate limits or return shape for a tool with zero annotation coverage.

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

Conciseness5/5

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

Two short sentences with zero waste; the primary action is front-loaded and the optional parameter follows immediately. Nothing is repeated or padded.

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 single optional-parameter, no-output-schema tool, the definition covers what the tool does and how the parameter affects results. The only real gap is the lack of any hint about the response format (e.g., setup/punchline), which would help an agent consume the result.

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 coverage is 100%, so the schema already documents the single optional 'topic' parameter with examples. The description adds only a slight nuance with 'more relevant,' hinting the topic is a soft relevance hint rather than a strict filter, which is the baseline-3 level of added meaning.

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 ('Get a random dad joke') with the optional topic modifier, so the core action is unmistakable. It does not distinguish itself from siblings like search_jokes or get_joke_categories, leaving the agent to infer which retrieval tool fits.

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

Usage Guidelines3/5

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

The description implies usage through 'Optionally provide a topic for a more relevant joke,' which explains the parameter's purpose but not when to choose this over search_jokes or get_joke_categories. No explicit when-to-use or when-not guidance is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.