get_joke

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

Retrieve a specific dad joke by ID. Returns the full joke text.

Parameters

NameTypeRequiredDescription
idstringyesThe ID of the dad joke to retrieve.

Example call

Arguments

{
  "id": "R7UfaahbfFd"
}

curl

curl -X POST https://gateway.pipeworx.io/dadjokes/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_joke","arguments":{"id":"R7UfaahbfFd"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_joke', {
  "id": "R7UfaahbfFd"
});

Response shape

Always returns: id, joke

FieldTypeDescription
idstringUnique identifier for the joke
jokestringThe joke text
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the joke"
    },
    "joke": {
      "type": "string",
      "description": "The joke text"
    }
  },
  "required": [
    "id",
    "joke"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026