Skip to main content
Glama

Build Offline Knowledge Base

export_knowledge_base

Build a static, offline copy of the help center as a ZIP: branding, sections, articles, images, exported videos and client-side search. Pick languages, restrict to tagged articles (any/all), and choose whether to include videos (missing exports are rendered first and metered). Builds in the background — poll get_kb_export. Only one build runs at a time (409).

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_knowledge_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoWhat changed in this version; kept with the export and in its manifest, never shown to readers
tagIdsNoEmpty = every published article
localesNoDefaults to the KB's default locale
tagMatchNo
includeVideosNoDefault true

Output Schema

NameRequiredDescriptionDefault
idNo
errorNo
notesNo
staleNo
countsNo
statusNo
optionsNo
versionNoBuild number within its tag selection; shown in the exported site's footer
filenameNo
progressNo
createdAtNo
sizeBytesNo
completedAtNo
downloadUrlNo
skippedVideosNo
externalImagesNo
downloadExpiresAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say non-read-only, open-world, non-idempotent, non-destructive. The description adds the operational facts an agent actually needs: asynchronous background execution, required polling of get_kb_export, a one-build-at-a-time concurrency limit returning 409, and that missing video exports are rendered first and metered (cost implication).

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?

Three sentences, front-loaded with the output artifact, then options, then operational constraints. Every clause carries information; no restatement of the title or name.

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 an async, non-idempotent export job the description covers the artifact contents, the option surface, how to track progress, and the concurrency failure mode. Return values need not be described since an output schema exists, so nothing material is missing for correct invocation.

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 80%, so baseline is 3; the description goes beyond it by explaining tagMatch semantics (any/all article restriction) that the schema leaves as a bare enum, and by explaining that includeVideos can trigger metered rendering of missing exports. Locale defaults and the tagIds empty-string behavior are already covered by 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 artifact: build a static offline ZIP of the help center containing branding, sections, articles, images, exported videos, and client-side search. This clearly separates it from sibling export tools such as export_remix, export_video, and export_studio_project, which target different resources.

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?

Explicitly tells the agent the workflow: the build runs in the background and progress must be polled via get_kb_export, and only one build may run at a time (409). It does not name when another export tool would be preferable, but the resource scope is narrow enough that misuse is unlikely.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources