get_joke_flags

Pack: jokes · Endpoint: https://gateway.pipeworx.io/jokes/mcp

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

FieldTypeDescription
flagsarrayAvailable 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, or use one-click install buttons:

{
  "mcpServers": {
    "jokes": {
      "url": "https://gateway.pipeworx.io/jokes/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 15, 2026