fetch_joke
[COST: $0.01] Fetch a random joke (safe mode).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
[COST: $0.01] Fetch a random joke (safe mode).
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description bears the burden of behavioral disclosure. It mentions 'safe mode' and a $0.01 cost, which add some context, but 'safe mode' is vague and does not explain what content filtering is applied or what the API response contains.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single short sentence that includes the cost and the core behavior. It is efficiently front-loaded with no filler and every word contributes value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple, no-parameter fetch tool with an output schema present, the description is mostly sufficient. The cost and 'safe mode' details provide useful context, though the lack of sibling differentiation is a minor completeness gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the input schema is empty, so the description has no parameter meaning to add. The baseline of 4 applies because there is nothing to clarify.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Fetch a random joke') and adds 'safe mode' as a qualifier. It is understandable on its own, though it doesn't explicitly distinguish itself from siblings like get_random_joke_v2 or get_programming_joke beyond the 'safe mode' phrase.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given about when to use this tool versus the numerous joke-related siblings such as get_dad_joke, get_geek_joke, or get_random_joke_v2. An agent has no basis to select this tool over similar alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.