Skip to main content
Glama

Import from compendiums

compendium_import

Copies compendium entries by UUID into a world folder, applying duplicate rules to skip, replace, or allow existing documents. Use dry run to preview changes first.

Instructions

Copies compendium entries into the world by UUID, into a folder, with the same duplicate rules as create.

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": {
      "uuids": "<uuids>"
    },
    "name": "compendium_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
uuidsYes
dryRunNoReport what would happen without changing anything
folderNoFolder path, e.g. "Session2/Maps". Missing folders are created.
onDuplicateNoWhen a document with the same name is already in the target folder: skip it (default), replace it, or create anotherskip

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already disclose openWorldHint false and destructiveHint false, so the description does not need to repeat safety flags. It adds that the tool copies entries into the world and folder and applies duplicate rules, but it omits what replace/skip actually does, whether dry-run reports results, and what permissions are required, which is a moderate gap for a write operation.

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 a single front-loaded sentence with no filler. Every phrase conveys purpose or referencing context, even if the overall content is terse.

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

Completeness2/5

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

This is a write tool with sparse annotations and no output schema, so the description should clarify return behavior, dry-run output, duplicate handling, and folder-creation effects. Instead it relies on external knowledge of 'create' duplicate rules and leaves several operational details unstated.

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 75%, and the schema already documents dryRun, folder, and onDuplicate. The description adds only that entries are identified by UUID and that duplicate rules match create, while omitting the enum meanings and dryRun behavior already covered by the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: copies compendium entries into the world by UUID and into a folder, with duplicate rules like create. This is clear, but it does not explicitly differentiate its use cases from the sibling create tool beyond the import source.

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

Usage Guidelines2/5

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

Provides no when-to-use or when-not-to-use guidance and names no alternatives. The phrase 'same duplicate rules as create' references a sibling but does not explain when an agent should choose this tool over create or compendium_search.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.