Skip to main content
Glama

export_index

Export a project's ChromaDB chunks and embeddings as a compressed JSONL archive for fast re-import without re-embedding; reuse the same embedding model.

Instructions

Export vector index as gzipped JSONL (.jsonl.gz).

Exports all ChromaDB chunks and embeddings for a project as a compressed JSONL file. Fast to import (no re-embedding needed), but requires the same embedding model.

Input:

  • project (str, optional): project name — defaults to current project

  • output_path (str, optional): where to write the archive — defaults to /-skb-index.jsonl.gz

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo
output_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the output format, compression, default destination, and the same-embedding-model requirement. It omits important behaviors: whether an existing file at output_path is overwritten, permission/auth needs, approximate size or rate considerations, and whether the operation is read-only against the index.

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?

Front-loaded with the one-line summary, followed by a short elaboration and a clean bulleted Input section. Slightly verbose in restating the format twice, but every line carries usable information and nothing is buried.

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 two-optional-parameter tool with no annotations and no output schema, the description covers format, default path, and the model requirement adequately. The gap is write behavior at the destination (overwrite/append/fail) and confirmation of what the returned result looks like, which matters for a file-producing export.

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%, and the schema defaults are empty strings that convey nothing, so the description is doing real work by explaining that project defaults to the current project and output_path defaults to <cwd>/<project>-skb-index.jsonl.gz. That is meaningful added semantics beyond the raw schema, though it does not clarify path format edge cases or relative vs absolute paths.

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 names a specific verb and resource ('Export vector index as gzipped JSONL') and immediately scopes it to 'all ChromaDB chunks and embeddings for a project,' which is concrete enough to distinguish it from search or document-listing tools. It does not explicitly name import_index as the inverse operation, so sibling differentiation is only implied by the 'fast to import' remark.

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?

It gives context about what the export is good for (fast re-import without re-embedding) and a key constraint (requires the same embedding model), which implies when to choose this over re-indexing. However, it never states when to use this versus import_index, export_skb, or sync_skb, and gives no exclusions or prerequisites beyond the model note.

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