Skip to main content
Glama

Knowledge Base

infobroker_manage_kb
Destructive

Manage a local knowledge base: search, ingest, list, retrieve, or delete content and control encryption keys. Archive generated reports for later access or secure stored data.

Instructions

Manage the local knowledge base: search, ingest, list, get, stats, or delete stored content and reports, and manage at-rest encryption. Use when you need to archive a generated report (ingest with source_type 'report' and save_to 'kb'), revisit stored content (list/get), or manage encryption keys. Use the 'encryption' action to enable or disable at-rest encryption, generate or back up a key, verify a key, or re-key the store. Do NOT use for fresh external search (use web_search) or to fetch a new page (use fetch_page). The delete action is destructive and cannot be undone; a lost encryption key makes the store unrecoverable by design. Which parameter each action needs: query for search, text or url for ingest, source_url for get/delete. Returns a JSON envelope prefixed [OK] or [ERROR].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL to fetch and index (for ingest action)
textNoRaw text to index (for ingest action)
queryNoSearch query (for search action)
titleNoDocument/report title
actionYesOperation to perform
formatNoFile format for disk savemarkdown
save_toNoWhere to save (ingest action): kb, disk, or both. Default kb
key_fileNoPath to a key file (generate_key writes here; rekey reads the target key from here). Never pass the secret itself — only a file path.
operationNoSub-operation for the 'encryption' action
collectionNoCollection name
source_urlNoSource URL filter (get/delete action) or identity for ingest
max_resultsNoMaximum results to return (1-50, default 8)
source_typeNoSource type (tag on ingest; filter on search/list)
last_updatedNoSource last-updated date to store (e.g. '2026-08-24'); auto-detected from fetched URLs when omitted
freshness_tierNoFreshness tier tag on ingest (e.g. 'report', 'evergreen')
Install Server

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructive behavior, and the description adds crucial specifics: delete cannot be undone, a lost encryption key makes the store unrecoverable by design, and all responses are wrapped in a [OK]/[ERROR] JSON envelope. This goes meaningfully beyond the annotation flags and matches them without contradiction.

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 description is front-loaded with the core operation list and every sentence serves a purpose: usage, exclusions, destructive warnings, parameter routing, and output format. It is dense and moderately long, but this is justified given 15 parameters and multiple actions; still, the density requires careful parsing.

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

Completeness4/5

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

For a high-complexity tool with no output schema, the description covers operations, when to use them, forbidden uses, destructive consequences, encryption specifics, parameter mapping, and the response envelope. It does not specify the exact response shape for list/stats/get, and the source_url/url naming inconsistency remains a small gap. Overall, quite complete.

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 coverage is 100%, so the baseline is 3. The description adds useful action-to-parameter routing (query for search, text for ingest, source_url for get/delete) and report-ingest guidance, but it also references a 'url' parameter for ingest that does not actually exist in the schema—ingest URLs are handled by source_url. This minor inaccuracy undercuts the added value.

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?

Description begins with a specific verb ('Manage') and a clear resource ('local knowledge base'), then enumerates the exact operations: search, ingest, list, get, stats, delete, and encryption. It distinguishes itself from external-tool siblings by explicitly scoping to 'local' content and later naming web_search and fetch_page as the external alternatives.

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

Usage Guidelines5/5

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

Provides explicit 'Use when...' guidance for archiving reports, revisiting stored content, and managing encryption keys. It also gives a clear 'Do NOT use for...' exclusion with named sibling tools (web_search and fetch_page), so an agent knows when to route elsewhere.

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

Other Tools

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/flukeatzerocool/infobroker'

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