Skip to main content
Glama

tables_create_row

Adds a single row to an existing Nextcloud table from column-title/value JSON; after a timeout, read rows back instead of retrying to avoid duplicates.

Instructions

Add one new row to an existing table.

A timeout does not mean nothing was written. Read back with tables_browse(level=rows) instead of calling this twice.

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": {
      "table_id": "<table_id>",
      "values": "<values>"
    },
    "name": "tables_create_row"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesOne JSON object of column titles and values, e.g. {"Task":"Call back","Amount":12.5}; text columns take strings, number columns numbers
table_idYesTable id from tables_browse

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, but the description adds the operational consequence an agent cannot derive: a timeout does not guarantee nothing was written, so retrying risks a duplicate row. This is exactly the non-idempotency hazard the annotations flag but do not explain.

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?

Two short sentences, zero filler. The primary action is front-loaded and the retry hazard follows immediately as the critical caveat.

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?

With two fully documented parameters, no output schema and complete annotations, the definition covers everything needed to invoke it safely, including the duplicate-write risk. It stops short of describing what the call returns (e.g., the inserted row or its id), which would help an agent chain follow-up calls.

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%, and the schema already explains the JSON-object format for values and that table_id comes from tables_browse. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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?

States a specific verb and resource with scope: 'Add one new row to an existing table.' An agent immediately knows this is a single-row insert, not a bulk write or a read, and the mention of tables_browse reinforces the read/write split with the sibling.

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?

Gives concrete conditional guidance: on timeout, read back with tables_browse(level=rows) instead of calling twice. That is a genuine when-not-to-use rule with a named alternative. It does not cover broader prerequisites (table must exist, required column values), so it falls short of a full 5.

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