Skip to main content
Glama

akb_create_table

Create structured data tables with typed columns, indexes, and unique keys in a vault or collection, returning a canonical URI for the new table.

Instructions

Create a structured data table in a vault. The response carries the canonical uriakb://{vault}/coll/{collection}/table/{name} when stored under a collection, or akb://{vault}/table/{name} at the vault root. Tables live alongside documents inside collections and follow the same permissions. Define columns with name and type (text, number, boolean, date, json). Optional collection (e.g. 'sessions/learnings') groups the table under that collection so it appears beside the documents and files there in akb_browse; omit for vault root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesTable name (unique within the vault)
vaultNoTarget vault name. Required unless `parent` is given.
parentNoParent location as a canonical URI — `akb://{vault}` for the vault root, `akb://{vault}/coll/{path}` for a collection. When given, the table is created there and `vault`/`collection` are derived from the URI.
columnsYesColumn definitions
indexesNoDeclarative lookup (btree) indexes. Each item is {name?, columns}. A column is a bare string or {name, order} where order is 'asc' (default) or 'desc'. Unique indexes are expressed via `unique_keys`, not here.
collectionNoCollection path (e.g. 'specs' or 'sessions/learnings'). Omit for vault root. Ignored when `parent` is given.
descriptionNo
unique_keysNoDeclarative UNIQUE keys. Each item is {name?, columns}. `columns` is a list of existing column names (single or composite). `name` is optional — when omitted AKB generates a deterministic, stable name. Use this (not `indexes`) for unique indexes.
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the canonical URI returned, permissions inheritance, placement semantics, and supported column types. It does not detail side-effect behaviors like duplicate handling or error cases, but it provides meaningful behavioral context beyond a bare 'create' statement.

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 dense sentences deliver the core action, canonical URI format, permissions model, column definition summary, and collection placement guidance. Every sentence earns its place, and the most important information is front-loaded.

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 an 8-parameter tool with no output schema, the description is largely complete: it explains the return value, placement, permissions, and essential column types. It does not address duplicates or error handling, but given the detailed input schema and the description's focus on the primary use case, it is sufficiently complete.

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 high (88%), so the baseline is 3. The description adds value by explaining the collection parameter's grouping behavior, the vault-root alternative, and the response URI structure. It does not rehash every parameter, but the added semantics help disambiguate the most nuanced parameter.

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?

The description clearly identifies the action (create a structured data table) and the resource (a vault), with explicit placement rules via canonical URIs. It distinguishes this from sibling tools like akb_create_collection and akb_create_vault by focusing on table-specific behavior and collection grouping.

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?

The description provides clear context on when to use this tool—creating a table either at the vault root or inside a collection—and explains how collection placement affects browsing in akb_browse. It does not explicitly name alternatives or exclusions, but the usage context is unambiguous.

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