Skip to main content
Glama

akb_put

Store a new document in the knowledge base. Provide title, content, and optional parent. Returns a canonical URI. Content is chunked and indexed for semantic search.

Instructions

Store a new document. The response carries the canonical uriakb://{vault}/coll/{collection}/doc/{filename} when stored under a collection, or akb://{vault}/doc/{filename} at the vault root. Use that URI to address the document from every other tool. Automatically chunked and indexed for semantic search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parentNoParent location as a canonical URI — `akb://{vault}` for the vault root, `akb://{vault}/coll/{path}` for a collection. When given, the doc is placed there and `vault`/`collection` are derived from the URI. Use this in drill-down chains: paste the `uri` from an `akb_browse` response straight back in.
vaultNoTarget vault name. Required unless `parent` is given.
collectionNoCollection (directory) path, e.g. 'api-specs' or 'meeting-notes'. Ignored when `parent` is given.
titleYesDocument title
contentYesDocument body in Markdown
typeNoDocument typenote
statusNoLifecycle status. Defaults to 'draft'; pass 'active' to publish on create instead of promoting later with akb_update. Descriptive metadata only — it does not gate search, browse, or access.draft
tagsNoTags for classification
domainNoDomain: engineering, product, ops, legal, etc.
summaryNoBrief summary (auto-generated if omitted)
depends_onNoakb:// URIs this depends on
related_toNoakb:// URIs of related resources
fileNoLocal file path to read as document body (alternative to content). Provide either file or content, not both.
Behavior3/5

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

The description discloses that documents are automatically chunked and indexed for semantic search, and that the URI is returned. However, it does not mention idempotency, authorization requirements, or other side effects. With no annotations, this is adequate but not comprehensive.

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 concise, with four sentences front-loading the purpose and key behavioral traits. Some technical detail about URI format is included efficiently, and no unnecessary repetition is present.

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?

Given 13 parameters and no output schema, the description covers key aspects: URI response, chunking/indexing behavior, and parameter usage for 'parent' and 'status'. It lacks error handling or permission details but is reasonably complete for a creation tool.

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%, but the description adds value beyond schema descriptions: it explains the 'parent' parameter usage with a drill-down example, clarifies the 'status' parameter's effect on publishing, and notes the mutual exclusivity of 'file' and 'content'. This surpasses the baseline of 3.

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 clearly states 'Store a new document' and explains the URI response format. It distinguishes the create action from siblings like 'akb_update' but doesn't explicitly differentiate from 'akb_put_file', though the context of 'document' vs 'file' is implied.

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?

The description implies usage for creating new documents but provides no explicit guidance on when to use this tool over alternatives like 'akb_update' or 'akb_put_file'. The sibling tool list is extensive, and no when-to-use or when-not-to-use criteria are given.

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

Install Server

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

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