opentdb.trivia.categories
List all 24 trivia categories available in the Open Trivia Database with their numeric IDs. Categories include General Knowledge (9), Entertainment: Books (10), Film (11), Music (12), Musicals & Theatres (13), Television (14), Video Games (15), Board Games (16), Science & Nature (17), Computers (...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/opentdb.trivia.categories.md
What opentdb.trivia.categories does on Apibase
AI agents call opentdb.trivia.categories to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
_placeholder | string | — | No parameters required — returns all 24 trivia categories with their numeric IDs. |
Parameters from the server's own tool schema.
Why opentdb.trivia.categories is rated Low
Retrieves static category metadata with no side effects, modifications, or external operations.
From the tool's definition List all 24 trivia categories available in the Open Trivia Database
Attacks that exploit this kind of access
The rule that runs opentdb.trivia.categories safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For opentdb.trivia.categories, this is the rule to start with:
opentdb.trivia.categories is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every opentdb.trivia.categories call is checked against it from then on.
Questions about opentdb.trivia.categories
List all 24 trivia categories available in the Open Trivia Database with their numeric IDs. Categories include General Knowledge (9), Entertainment: Books (10), Film (11), Music (12), Musicals & Theatres (13), Television (14), Video Games (15), Board Games (16), Science & Nature (17), Computers (18), Mathematics (19), Mythology (20), Sports (21), Geography (22), History (23), Politics (24), Art (25), Celebrities (26), Animals (27), Vehicles (28), Comics (29), Gadgets (30), Japanese Anime & Manga (31), Cartoon & Animations (32). Use returned IDs as the 'category' parameter in opentdb.trivia.questions. Source: opentdb.com — CC BY-SA 4.0, free unlimited. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
opentdb.trivia.categories accepts 1 parameter: _placeholder. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for opentdb.trivia.categories: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
opentdb.trivia.categories is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the opentdb.trivia.categories rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for opentdb.trivia.categories. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
opentdb.trivia.categories is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue