Skip to main content
Glama

akb_put

Store a new document in a vault or collection and get its canonical akb:// URI. Content is automatically 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
fileNoLocal file path to read as document body (alternative to content). Provide either file or content, not both.
slugNoOptional explicit slug for the document filename. When stored under a collection the URI is `akb://{vault}/coll/{collection}/doc/{slug}.md`; at the vault root it is `akb://{vault}/doc/{slug}.md`. When omitted, the slug is derived from the title. Pass it to keep the path stable and meaningful when the title is friendly, changeable text (e.g. slug `github-issue-123` with a human-readable title).
tagsNoTags for classification
typeNoDocument type. Free-form — any string is accepted, EXCEPT 'skill', which is reserved for the system-managed vault-skill document. Recommended vocabulary: note (default), report, decision, spec, plan, session, task, reference. Use a custom value when none fit (e.g. an OKF concept type).note
titleYesDocument title
vaultNoTarget vault name. Required unless `parent` is given.
domainNoDomain: engineering, product, ops, legal, etc.
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.
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
contentYesDocument body in Markdown
summaryNoBrief summary (auto-generated if omitted)
collectionNoCollection (directory) path, e.g. 'api-specs' or 'meeting-notes'. Ignored when `parent` is given. 'overview' is a reserved system collection (vault-skill only).
depends_onNoSame-vault akb:// URIs this depends on. Use an ordinary Markdown link for a cross-vault reference.
related_toNoSame-vault akb:// URIs of related resources. Use an ordinary Markdown link for a cross-vault reference.
_vault_skill_ackNoOpaque acknowledgement returned as vault_skill.ack_token. After applying that guide, retry the unchanged operation with this value. The bundled proxy supplies it automatically.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed5 schema fields changedv2.0.14
    • addedInput schema / properties / _vault_skill_ack
      Added value: +{
      +  "description": "Opaque acknowledgement returned as vault_skill.ack_token. After applying that guide, retry the unchanged operation with this value. The bundled proxy supplies it automatically.",
      +  "maxLength": 128,
      +  "type": "string"
      +}
    • changedInput schema / properties / collection / description
      Previous value: -"Collection (directory) path, e.g. 'api-specs' or 'meeting-notes'. Ignored when `parent` is given."New value: +"Collection (directory) path, e.g. 'api-specs' or 'meeting-notes'. Ignored when `parent` is given. 'overview' is a reserved system collection (vault-skill only)."
    • changedInput schema / properties / depends_on / description
      Previous value: -"akb:// URIs this depends on"New value: +"Same-vault akb:// URIs this depends on. Use an ordinary Markdown link for a cross-vault reference."
    • changedInput schema / properties / related_to / description
      Previous value: -"akb:// URIs of related resources"New value: +"Same-vault akb:// URIs of related resources. Use an ordinary Markdown link for a cross-vault reference."
    • changedInput schema / properties / type / description
      Previous value: -"Document type. Free-form — any string is accepted. Recommended vocabulary: note (default), report, decision, spec, plan, session, task, reference, skill. Use a custom value when none fit (e.g. an OKF concept type)."New value: +"Document type. Free-form — any string is accepted, EXCEPT 'skill', which is reserved for the system-managed vault-skill document. Recommended vocabulary: note (default), report, decision, spec, plan, session, task, reference. Use a custom value when none fit (e.g. an OKF concept type)."
  2. Changed3 schema fields changedv2.0.13
    • addedInput schema / properties / slug
      Added value: +{
      +  "description": "Optional explicit slug for the document filename. When stored under a collection the URI is `akb://{vault}/coll/{collection}/doc/{slug}.md`; at the vault root it is `akb://{vault}/doc/{slug}.md`. When omitted, the slug is derived from the title. Pass it to keep the path stable and meaningful when the title is friendly, changeable text (e.g. slug `github-issue-123` with a human-readable title).",
      +  "type": "string"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"Document type"New value: +"Document type. Free-form — any string is accepted. Recommended vocabulary: note (default), report, decision, spec, plan, session, task, reference, skill. Use a custom value when none fit (e.g. an OKF concept type)."
    • removedInput schema / properties / type / enum
      Removed value: -[
      -  "note",
      -  "report",
      -  "decision",
      -  "spec",
      -  "plan",
      -  "session",
      -  "task",
      -  "reference",
      -  "skill"
      -]
  3. Changed5 schema fields changedv2.0.7
    • changedInput schema / properties / collection / description
      Previous value: -"Collection (directory) path, e.g. 'api-specs' or 'meeting-notes'"New value: +"Collection (directory) path, e.g. 'api-specs' or 'meeting-notes'. Ignored when `parent` is given."
    • addedInput schema / properties / parent
      Added value: +{
      +  "description": "Parent 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.",
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "default": "draft",
      +  "description": "Lifecycle 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.",
      +  "enum": [
      +    "draft",
      +    "active",
      +    "archived"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / vault / description
      Previous value: -"Target vault name"New value: +"Target vault name. Required unless `parent` is given."
    • changedInput schema / required
      Previous value: -[
      -  "vault",
      -  "collection",
      -  "title",
      -  "content"
      -]New value: +[
      +  "title",
      +  "content"
      +]
  4. Addedv2.0.4
  5. Removedv2.0.1
  6. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

It usefully discloses that documents are 'automatically chunked and indexed for semantic search' and that the response carries a canonical URI. However, with no annotations present, the description does not cover other important behavioral traits like overwrite behavior for an existing URI, required permissions, or whether the vault/collection must already exist.

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 with no filler: the purpose is first, followed by the canonical response behavior, then the indexing side effect. Every sentence earns its place.

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 15-parameter tool with no annotations and no output schema, the description covers key behavioral outcomes but leaves gaps around failure modes, duplicate-document handling, and prerequisites for vault/collection targets. The rich input schema compensates for parameter understanding, but runtime behavior is only partially disclosed.

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 description coverage is 100%, so the baseline is 3 even without parameter guidance in the tool description. The description reinforces the URI-return behavior which complements the schema, but it adds no parameter-specific meaning beyond what the schema already documents.

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 opens with a specific verb and resource ('Store a new document') and clarifies where the document lands via canonical URI forms. It is clear, but it does not explicitly distinguish this tool from siblings like akb_put_file or akb_update beyond the word 'new'.

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

Usage Guidelines2/5

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

The description explains what to do with the returned URI, but does not state when to prefer this tool over alternatives such as akb_update, akb_edit, or akb_put_file. No exclusions or conditions are given, leaving tool selection largely to inference.

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

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