Skip to main content
Glama

add_rows

Add one or more rows to a database as Markdown files with YAML frontmatter, including status/select values and recurring column settings.

Instructions

Add one or more rows to a database. Each row is a markdown file with YAML frontmatter properties. For status/select columns, use the option name as the value (e.g., "To Do", "In Progress", "Done", "Archived"). For recurring columns, set value as an object with frequency (daily/weekly/monthly/yearly), resetStatus, and nextReset fields.

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>",
      "databasePath": "<databasePath>",
      "rows": "<rows>"
    },
    "name": "add_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesRow data or array of row data. Include "title" for the filename, other properties become frontmatter. Use "_content" for the markdown body.
workspaceYesWorkspace path or name
databasePathYesPath to the database folder

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 must carry the behavioral burden. It usefully discloses that rows are markdown files with YAML frontmatter and explains special column value formats, but it omits permission requirements, duplicate handling, conflict behavior, and side effects.

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?

The description is front-loaded with the core action and then adds focused guidance on row representation and special column values. The sentences are dense with useful information and avoid unnecessary wording.

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 three-parameter mutation tool with no output schema, the description adequately explains row input formatting and special value semantics. However, it leaves important operational context missing, especially when to use it versus related tools and what behavioral constraints apply.

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 description coverage is 100%, so the baseline is 3, but the description adds meaningful semantics for status/select columns and recurring column objects beyond what the schema provides. It does not explain workspace or databasePath, but those are already covered by the schema.

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 states a specific verb and resource: "Add one or more rows to a database." It is clear what the tool does, but it does not explicitly differentiate itself from siblings such as update_rows or delete_rows.

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?

There is no explicit guidance on when to use this tool versus update_rows, delete_rows, or other database tools. The description only provides value-formatting rules, not usage conditions, prerequisites, or exclusions.

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