Fantasy Gamebook Engine
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| roll_diceA | Roll a dice expression like '2d6' or '1d6+6'. |
| test_luckA | Test the hero's luck (2d6 <= current luck); always spends one luck. |
| create_characterC | Roll a new hero's attributes and persist a living character sheet. |
| read_character_sheetA | Return the hero's full character sheet. |
| update_character_sheetA | Patch the character sheet. Scalars/lists are replaced; attribute sub-dicts (skill/stamina/luck) are merged. Invariants are validated; on error the state is left unchanged. |
| read_worldA | Return the current world state. |
| update_worldA | Patch the world. Scalars/lists (current_location, visited_locations, known_npcs, turn) are replaced; 'flags' is merged key-wise so one flag can be set without dropping others. Invariants are validated; on error the state is left unchanged. Sole legal path to set the victory flag and advance the turn counter. |
| register_eventC | Append a hard fact to the chronicle, stamped with the current turn. |
| read_eventsA | Return the full chronicle of events, in order. |
| read_summaryB | Return the running narrative summary. |
| update_summaryC | Replace the running narrative summary. |
| start_combatC | Start a fight against one or more living enemies. |
| resolve_combat_roundC | Resolve one combat round, optionally testing luck on the hit. |
| flee_combatC | Flee the combat (if allowed); costs 2 stamina. |
| end_combatC | Conclude a combat and return its final result. |
| archive_characterA | Archive the hero to the graveyard (death) or hall_of_fame (victory). |
| save_progressB | Snapshot all state to a named slot (default 'autosave'). |
| load_progressB | Restore all state from a named slot (default 'autosave'). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rc-ventura/fantasy-gamebook-engine'
If you have feedback or need assistance with the MCP directory API, please join our Discord server