Skip to main content
Glama

akb_import

Import a knowledge bundle into a vault, restoring documents from a file map while skipping existing paths and reserved records.

Instructions

Import a knowledge bundle into a vault. Pass files as a {path: content} map (the shape akb_export returns). format selects the bundle format — currently 'okf'. Concept documents are imported as AKB documents; a type: table/file concept doc (which carries only schema/metadata, not rows/bytes) imports as a regular document describing that asset. Existing paths are skipped, not overwritten. Records targeting the reserved 'overview' collection or carrying type='skill' are skipped per-record and reported in the response's 'reserved' list. Writer role required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYesBundle as a {bundle-relative-path: markdown-content} map.
vaultYesTarget vault
formatNoBundle format. Currently only 'okf'.okf
statusNoOptional: override status for every imported document.
_vault_skill_ackNoOpaque acknowledgement returned as vault_skill.ack_token. After applying that guide, retry the unchanged operation with this value. The bundled proxy supplies it automatically.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv2.0.14
    • addedInput schema / properties / _vault_skill_ack
      Added value: +{
      +  "description": "Opaque acknowledgement returned as vault_skill.ack_token. After applying that guide, retry the unchanged operation with this value. The bundled proxy supplies it automatically.",
      +  "maxLength": 128,
      +  "type": "string"
      +}
  2. Addedv2.0.13

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it delivers: it explains concept-document handling, the special table/file concept case, that existing paths are skipped rather than overwritten, that reserved records are skipped and reported, and that writer role is required. This is substantial behavioral disclosure beyond the schema.

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, input shape, format, concept-doc behavior, conflict policy, reserved-record behavior, and auth requirement. It is front-loaded with the core purpose and does not repeat schema details.

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 no annotations and no output schema, the description is remarkably complete. It covers the input contract, special cases, idempotency behavior, per-record failures, response reporting for reserved items, and auth. An agent has enough to select and invoke the tool correctly.

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?

Schema coverage is 100%, so the baseline is 3. The description adds real value beyond the schema by explaining that `files` takes the exact map shape akb_export returns, that `format` currently only supports 'okf', and how concept documents map to imports. It doesn't elaborate on `status` or `_vault_skill_ack`, but those are already well described in 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: 'Import a knowledge bundle into a vault.' It also differentiates itself from siblings by referencing the bundle shape akb_export returns, making clear it is the bulk-import counterpart to export rather than a single-document tool like akb_put.

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?

Provides clear usage context: the input must be a {path: content} map in the shape akb_export returns, which strongly implies the tool is for importing exported bundles. It also gives a prerequisite (writer role) and describes edge cases. However, it does not explicitly name alternatives like akb_put or state 'use this instead of X,' so it falls just short of full exclusion guidance.

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

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/dnotitia/akb'

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