Skip to main content
Glama

import_skb

Extract a .tar.gz source archive into a project's .skb/ folder, merging or replacing files and optionally rebuilding the index.

Instructions

Import a source archive into a project's .skb/ folder.

Extracts a .tar.gz source archive (created by export_skb) into the target project's .skb/ folder and optionally rebuilds the index.

Input:

  • archive_path (str): path to the .tar.gz archive

  • project_dir (str, optional): target project root — defaults to current working directory

  • merge (bool, optional): if True (default), merge with existing files; if False, replace .skb/ entirely

  • run_sync (bool, optional): if True (default), rebuild the index after import

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": {
      "archive_path": "<archive_path>"
    },
    "name": "import_skb"
  }
}

Input Schema

NameRequiredDescriptionDefault
mergeNo
run_syncNo
project_dirNo
archive_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the most important behavioral trait: merge=true merges with existing files while merge=false replaces the .skb/ folder entirely, which is a destructive outcome an agent must know. It also states the index is optionally rebuilt. It omits prerequisites (archive existence, project validity), failure behavior, and return values.

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?

The purpose sentence is front-loaded and followed by a clearly labeled parameter list; no filler sentences. The bulleted input block duplicates structure the schema lacks, so it earns its space rather than being redundant.

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

Completeness3/5

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

For a four-parameter mutation tool with no annotations and no output schema, the definition covers parameters and the key destructive mode well. It still leaves an agent guessing about prerequisites, error cases, and what the call returns (e.g., counts of imported files or sync status).

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 description coverage is 0%, so the description must compensate, and it documents all four parameters with types, optionality, and defaults — notably explaining merge and run_sync defaults and the empty project_dir meaning. Only archive_path is left as a bare restatement, and the cwd-vs-empty-string default nuance could be sharper.

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?

The description uses a specific verb ('Import') and resource ('source archive into a project's .skb/ folder') and clarifies the archive's provenance as '(created by export_skb)', which implicitly separates it from that sibling. It is clear what the tool does, though it does not explicitly contrast itself with siblings like sync_skb or import_index.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the tool restores an archive into a project. The run_sync option hints that index rebuilding can be skipped and handled by a sync tool instead, but no explicit 'use this when...' or 'use X instead when...' guidance is given.

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