Skip to main content
Glama

Chuck Norris (Unofficial)

Joke By Category

joke_by_category
Read-onlyIdempotent

Get a random Chuck Norris joke from a specific category. Returns joke text and ID.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "category": "dev"
    },
    "name": "joke_by_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesCategory to fetch a joke from. Use list_categories to see valid values.

Output Schema

NameRequiredDescriptionDefault
idYesUnique joke identifier
urlYesURL to the joke on chucknorris.io
jokeYesThe joke text
categoriesYesList of categories

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "category": "nerdy"
      -  },
      -  {
      -    "category": "sport"
      -  }
      -]New value: +[
      +  {
      +    "category": "dev"
      +  },
      +  {
      +    "category": "sport"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "categories": {
      +      "description": "List of categories",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "id": {
      +      "description": "Unique joke identifier",
      +      "type": "string"
      +    },
      +    "joke": {
      +      "description": "The joke text",
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "URL to the joke on chucknorris.io",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "joke",
      +    "categories",
      +    "url"
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "category": "nerdy"
      +  },
      +  {
      +    "category": "sport"
      +  }
      +]
  4. First observed

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety and repeatability are covered without the description. The description adds only 'Returns joke text and ID', which duplicates the existing output schema, and says nothing about behavior on an invalid category.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the action front-loaded and no filler. The trailing return-value sentence is redundant given an output schema exists, so it is not perfectly lean.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with rich annotations and an output schema, the essentials are covered. The remaining gap is failure handling for an unknown category and guidance relative to the sibling random-joke tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With one parameter at 100% schema description coverage, the schema already carries the meaning and even the pointer to list_categories. The description's 'specific category' adds little beyond that baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get a random Chuck Norris joke') plus the scoping constraint ('from a specific category'), which separates it from an unfiltered random-joke tool. It stops short of naming the sibling it differs from.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is only implied: choosing a category presupposes the caller already knows a valid category. The 'Use list_categories to see valid values' routing lives in the schema, not the description, and there is no explicit statement of when to prefer this over chucknorris_random_joke.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.