Skip to main content
Glama

Prepwell

Check a session against its map and rules

check_session
Read-onlyIdempotent

Checks a session written for a Prepwell map: every area keyed once and no made-up area numbers, exits and 'leads to' lines match the real connections, every secret door is in the key, fights are inside the system's budget (2024 DMG XP, PF2e GM Core XP), every conclusion has two or more clues and the party can still finish if they miss any single clue, and campaign memory (returning people, open thread ids) is used right. It lists every problem it finds. When the session passes, it gives back a link to the one page GM cheat sheet PDF.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "map_ref": "<map_ref>",
      "session": "<session>"
    },
    "name": "check_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoSession length in hours. Default 3.
memoryNoOptional campaign memory, so returning people and thread ids can be checked: {npcs: [{name, role}], threads: [{id, text, status}]}.
systemNodnd5e2024 (D&D 5e, 2024 rules), pf2e, shadowdark, osr, mothership or traveller. Read from the request if left out.
map_refYesThe map_ref that prep_session_map gave back, unchanged.
requestNoThe GM's few words: who the party is, what they're after, where. Example: 'level 3, they owe a smuggler money, flooded temple, 3 hours'.
sessionYesThe session JSON, in the shape prep_session_map gave.
party_sizeNoNumber of player characters. Default 4.
party_levelNoParty level. Read from the request if left out, else 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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, so the description is freed to describe outcomes. It does that well: it reports every problem found rather than stopping at the first, and on success returns a link to a one-page GM cheat sheet PDF. It does not say whether the session JSON is ever echoed or mutated, but readOnlyHint covers that.

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?

Purpose is front-loaded in the first clause, followed by the check list and then the two outcome sentences. The middle enumeration is a single very long run-on sentence cramming six distinct checks together, which is dense but each item conveys real validation scope.

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

Completeness4/5

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

For an 8-parameter tool with nested objects and no output schema, the description covers both the input contract (the session and its map_ref) and the return behavior (problem list, or cheat sheet link on success). Nothing critical is missing, though it could note that the check does not modify the session.

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%, so every parameter including the nested map_ref fields is already documented. The description adds a little meaning by naming the rule systems behind the fight-budget check (2024 DMG XP, PF2e GM Core XP), tying the 'system' parameter to actual validation behavior, but hours, party_size, and memory get no added explanation beyond the schema.

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 ('Checks a session written for a Prepwell map') and then enumerates exactly what is validated: area keys, exits, secret doors, fight budgets, clue redundancy, and memory use. The reference to 'the map_ref that prep_session_map gave back' implicitly separates it from the map-generation sibling.

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 workflow context is clear: this validates a session produced against a map, taking the map_ref unchanged from prep_session_map. There are no explicit exclusions or named alternatives, and it never states when not to run it, but for a two-sibling toolset the positioning 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.