get_joke_categories
Pack: jokes · Endpoint: https://gateway.pipeworx.io/jokes/mcp
The joke categories available to filter by, from the JokeAPI database.
Tool description as the model sees it
List all available JokeAPI joke categories (e.g., Programming, Misc, Dark, Pun, Spooky, Christmas). Use the returned category names as the category input to get_joke or search_jokes.
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/jokes/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_joke_categories","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_joke_categories', {});
Response shape
Always returns: categories
| Field | Type | Description |
|---|---|---|
categories | array | Available joke categories |
Full JSON Schema
{
"type": "object",
"properties": {
"categories": {
"type": "array",
"description": "Available joke categories",
"items": {
"type": "string"
}
}
},
"required": [
"categories"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"jokes": {
"url": "https://gateway.pipeworx.io/jokes/mcp"
}
}
}
See Getting Started for client-specific install steps.