Skip to main content
Glama

Get Random Table

get_random_table
Read-onlyIdempotent

Pipeworx original random tables: fetch one built-in table in full, its title, genre, description, and every raw entry (text + weight), without rolling. Entry text may contain unresolved {{table:}} references; roll_table resolves those at roll time.

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": {
      "table": "loot"
    },
    "name": "get_random_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYesBuilt-in table id, e.g. "loot", "npc_full", "encounters_fantasy". Call list_random_tables to see every id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the description's added value is the disclosure that entries may contain unresolved {{table:<id>}} references that only get expanded at roll time — a real behavioral caveat an agent would otherwise miss. It does not mention error behavior for an unknown table id, which is the main remaining gap.

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 sentences, front-loaded with the action and return contents, followed by one caveat sentence. No filler; the only mild density cost is the brace notation mid-sentence, which is still readable.

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

Completeness5/5

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

With no output schema, the description carries the full burden of describing the return value, and it does so field by field (title, genre, description, entries as text + weight). Combined with the reference-resolution caveat, an agent has everything needed to call it and interpret the result.

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?

Schema coverage is 100% and the single parameter is fully documented in the schema, including the example ids and the pointer to list_random_tables. The description adds no additional parameter meaning, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('fetch one built-in table in full') and enumerates the payload (title, genre, description, every raw entry with text + weight). It also explicitly contrasts with rolling, which separates it from roll_table and roll_custom_table.

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

Usage Guidelines4/5

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

The phrase 'without rolling' plus 'roll_table resolves those at roll time' clearly frames when to pick this tool over the roller. It stops short of an explicit 'use this when you need the raw data to inspect/transform, use roll_table when you need a sampled result' statement, but the intent is unambiguous.

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.