get_joke_flags
Pack: jokes · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_joke_flags for the schema, then POST the same URL with its arguments for the data.
The content flags (e.g. nsfw, political) usable to filter jokes, from the JokeAPI database.
Tool description as the model sees it
List all content filter flags (e.g., explicit, political, racist). Use to understand what filters exclude.
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_flags","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_joke_flags', {});
Response shape
Always returns: flags
| Field | Type | Description |
|---|---|---|
flags | array | Available content filter flags |
Full JSON Schema
{
"type": "object",
"properties": {
"flags": {
"type": "array",
"description": "Available content filter flags",
"items": {
"type": "string"
}
}
},
"required": [
"flags"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the jokes pack
{
"mcpServers": {
"jokes": {
"url": "https://gateway.pipeworx.io/jokes/mcp"
}
}
}
See Getting Started for client-specific install steps.