Skip to main content
Glama

create_database

Set up a workspace database as a folder of markdown rows with configurable columns and views, including kanban task boards and recurring tasks.

Instructions

Create a new database in a workspace. A database is a folder containing markdown files (rows) with a database.json configuration file. Databases can be used as task boards by adding a "status" column type with options like "To Do", "In Progress", "Done", "Archived" and setting up a kanban view grouped by status. Status options support "done" (strikethrough) and "archive" (dimmed) states. Add a "recurring" column for auto-resetting tasks on daily/weekly/monthly/yearly schedules.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace": "<workspace>",
      "name": "<name>"
    },
    "name": "create_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new database
viewsNoView definitions. If not provided, a default table view is created. Add a kanban view with groupBy set to a status/select column ID for a board layout.
columnsNoColumn definitions. If not provided, default columns (title, status, tags) will be created. Use "status" type for kanban-compatible status columns with done/archive states. Use "recurring" type for auto-resetting task schedules.
workspaceYesWorkspace path or name
folderPathNoOptional folder path within documents where to create the database
defaultViewNoID of the default view to show when opening the database (e.g., "kanban" for board view)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses defaults — a default table view and default columns (title, status, tags) when views/columns are omitted — and clarifies the on-disk artifact created. It does not disclose permissions requirements, whether name collisions fail, or what the tool returns (e.g., the new database ID or path).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in sentence one, which is good. The remaining sentences drift from tool usage into a feature tutorial on kanban and recurring tasks that largely duplicates what the columns/views schema descriptions already state, diluting density.

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 mutation tool with no annotations and no output schema, the description covers what is created and the default behaviors well. It leaves gaps an agent would care about: required permissions, collision/error behavior, and a hint of the returned handle for the newly created database.

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%, so the baseline is 3, but the description adds real semantic guidance beyond the schema: the status-vs-select distinction for kanban boards, the done/archive option states meaning strikethrough vs dimmed, and recurring columns driving auto-reset schedules. That connects parameter choices to observable behavior rather than restating field docs.

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 first sentence gives a specific verb and resource with scope: 'Create a new database in a workspace.' The following sentences explain what a database is structurally (a folder of markdown rows plus database.json), which sharpens understanding. It does not differentiate from siblings such as create_view or list_databases, so it stops short of a 5.

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?

Usage context is implied through scenarios — build a task board by adding a status column and a kanban view, or a recurring column for auto-resetting tasks. There is no explicit statement of when to use this tool versus alternatives like create_view, add_column, or list_databases, nor any prerequisite or exclusion guidance.

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