Skip to main content
Glama

Embers: Tabletop RPG Toolkit

Record a class-less 5e24 character's existing classes

vault_record_pc_classes

The class-less on-ramp to the level-up flow. A hand-made 5e24 character with no Class entries on its sheet can't level up (vault rejects the plan and the apply) — this tool records the class(es) and level(s) the character is ALREADY playing so the wizard can take over at the next level. It stamps identity snapshots ONLY: no features, proficiencies, HP, or trackables are granted — the sheet is trusted to already carry everything. Call vault_get_levelup_options first: RECORD mode (needsClassRecord: true) ships recordOptions[] (base classes with subclasses[] and subclassLevel) and totalLevel, the character's XP-derived level. The recorded levels must sum to EXACTLY that totalLevel (XP is the authority; vault never rewrites it) and a row may carry a subclass only at/above the option's subclassLevel. Rejected once any class entry exists. On success vault sets each class snapshot's stored level, attaches subclasses, updates core.class, appends a note, and returns { character, summary } — then call vault_get_levelup_options again for the normal chooser.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing non-effects ('no features, proficiencies, HP, or trackables are granted'), constraints ('levels must sum to EXACTLY that totalLevel'), side effects ('updates core.class, appends a note'), and return shape. It also explains the rejection behavior clearly.

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

Conciseness5/5

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

The description is dense but every sentence earns its place: purpose, prerequisite, constraints, non-effects, side effects, return value, and follow-up. It is front-loaded with the core purpose and avoids filler.

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?

For a tool with complex game-rule constraints, the description covers prerequisites, validation rules, side effects, and the follow-up call. The output schema exists for return-value details, and the description still summarizes the return shape as { character, summary }.

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

Parameters4/5

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

The input schema has zero parameters, which sets a baseline of 4. The description adds useful semantic context about the recordOptions[], subclassLevel, and totalLevel contract from the prerequisite call, even though it does not document actual invocation parameters because none exist.

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?

The description states a specific verb and resource: it records the existing class(es) and level(s) of a class-less 5e24 character so the level-up wizard can proceed. It clearly distinguishes this from the normal level-up flow and from vault_get_levelup_options by calling it the 'class-less on-ramp'.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance: only for a hand-made 5e24 character with no Class entries, and it names the prerequisite call to vault_get_levelup_options first. It also states when the tool is rejected ('Rejected once any class entry exists') and tells the agent to call vault_get_levelup_options again after success.

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