Skip to main content
Glama

import_pack

Loads CompendiumPack JSON files to import NPCs, locations, quests, and encounters into active campaigns. Handles name conflicts and regenerates entity IDs with preview mode for dry-run testing.

Instructions

Import a compendium pack into the current campaign.

Loads a CompendiumPack JSON file and imports its entities (NPCs, locations, quests, encounters) into the active campaign. Handles name conflicts via the chosen conflict mode. Regenerates all entity IDs and re-links cross-references.

Use preview=true for a dry-run that shows what would happen without changing anything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to the pack JSON file to import
conflict_modeNoConflict resolution: 'skip' (keep existing), 'overwrite' (replace), 'rename' (add suffix)skip
previewNoIf true, show what would be imported without making changes
entity_filterNoComma-separated entity types to import: npcs, locations, quests, encounters. Omit for all.
Install Server

Other Tools

Latest Blog Posts

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/Polloinfilzato/dm20-protocol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server