Skip to main content
Glama

Roll Tabletop RPG / D&D NPC + VTT Exports

roll_rpg_npc
Read-onlyIdempotent

Deterministically roll a complete tabletop RPG / D&D NPC (name, ancestry, role, traits, quirk, plot hook, GM secret, portrait prompt, matched voice sample MP3, and a <=50-char greeting tuned for the free 4s talking video clip), plus ready-to-import SillyTavern Character Card V2 JSON and Foundry VTT NPC Actor JSON. Public zero-cost tool — requires NO API key and charges 0 credits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
roleNoOptional tabletop role filter or custom archetype, e.g. "Tavern keeper", "Runesmith", "Hedge alchemist", "Harbor smuggler", "Wandering bard".
seedNoOptional deterministic seed (e.g. "forge26a" or "42"). Same seed always produces the exact same NPC; omit to roll a fresh random seed.
styleNoVisual portrait style preset (default "fantasy"). Supports fantasy, anime, 3d-cartoon (or aliases cartoon / 3d), pixel-art, cyberpunk, watercolor, realistic, professional-headshot.
genderNoOptional character presentation filter: "f" (feminine) or "m" (masculine).
ancestryNoOptional ancestry filter or custom ancestry, e.g. "Dwarven", "Elven", "Half-orc", "Halfling", "Gnomish", "Fey-touched", "Tiefling".
exportFormatNoOutput export format: "all" (default, includes both SillyTavern Character Card V2 and Foundry VTT Actor JSON), "summary", "sillytavern", or "foundry".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, and the description is consistent with all of them. It adds genuinely non-obvious context the annotations cannot express: zero cost ('charges 0 credits'), no API key required, and that the same seed deterministically reproduces an identical NPC. It omits rate limits or whether repeated random rolls are throttled, which keeps it off a 5.

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?

The verb and resource are front-loaded, and the long output enumeration is dense but every listed artifact earns its place by telling the agent what it will receive. The closing cost/API-key sentence is a useful qualifier rather than filler, though the single sprawling sentence could be broken up for scanability.

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 6 optional parameters, no required inputs, and no output schema, the description carries the full burden of explaining returns — and it does so by enumerating every generated field and both export artifact types. An agent can decide to call it and know what comes back without opening anything else.

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 description coverage is 100%, and every parameter (role, seed, style, gender, ancestry, exportFormat) is already documented in the schema with examples and enum meanings. The description largely restates the seed determinism and export bundle contents rather than adding new parameter semantics, so the baseline 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 ('Deterministically roll') and resource ('a complete tabletop RPG / D&D NPC'), then enumerates exactly what is produced: name, ancestry, role, traits, quirk, plot hook, GM secret, portrait prompt, voice sample MP3, greeting, plus SillyTavern Card V2 and Foundry Actor JSON. That level of output enumeration makes it trivially separable from siblings like create_npc_voice_line or generate_avatars.

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?

Usage context is clear: it is the all-in-one generator whose greeting is 'tuned for the free 4s talking video clip' and whose portrait prompt feeds the avatar pipeline, and the seed parameter documents when to re-roll vs reproduce. It stops short of naming an explicit alternative or when-not-to-use case, so it lands at clear-context-without-exclusions.

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.

Resources