Skip to main content
Glama

Add rows to a table

add_rows

Logs something that happened in a table the team keeps, like a reply or a call in an outreach log, or a row in a CSV. Adds rows at the end of a table the team keeps, without asking the person to confirm: a CSV or TSV file on the project, as one new version under this person's name, or a sheet in Google Sheets the project may add rows to, named by its .source.md, where Google's version history shows the project's Alcoven address and Alcoven's Changes show this person. For tables the team keeps as things happen: a message sent, a reply in, a post up, a week's numbers. Each row is an object keyed by the table's column names, in any letter case; a column left out stays empty, and a Days column left out gets today's date where the person is. Nothing already in the table changes. Takes 1 to 100 rows a call. Returns the new rows' numbers.

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

Input Schema

NameRequiredDescriptionDefault
didNoWhat the person did themselves in this work, in a few words they agree with: what they chose or decided, what they corrected, rewrote or wrote, what they checked and against what. Start with the verb, in the past tense, in their language: "Chose the three-step plan; fixed the March totals; rewrote the opening". Say nothing of what you did, what they did not do, how long it took, or a share of the work. Pass no did when their part was the request and the yes. Everyone who sees the change reads it, people outside the team included. At most 300 characters.
readNoThe § addresses you read for this work, kept with asked. Alcoven adds what it saw you read on this project since you last wrote on it, going back two hours at most.
rowsYesThe rows, 100 at most, each an object keyed by the table's column names, like {"date": "2026-10-20", "what": "reply"}.
againNoTrue when the same thing happened again: rows identical to ones this person added to the table in the last 10 minutes are then added too.
askedNoWhat the person asked for, in their own words, as they said it: their request only, never the rest of the conversation, and left out when they do not want it shared. It goes on the project with the change, so everyone who sees the change, and their AIs, see why it was made.
tableYesThe table: a CSV or TSV file's path or § address, like acme/gtm/outreach.csv, or the .source.md of a sheet in Google Sheets, like acme/gtm/outreach.source.md.
projectNoThe project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project.
asked_fromNoWhere the request came from, when the person says so, in a few words: "Tuesday's call with the bank", "Ines's email".

Output Schema

NameRequiredDescriptionDefault
addedYes
sheetNo
addressYes
last_rowYes
warningsYes
first_rowYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / readings
      Removed value: -{
      -  "items": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "reading": {
      -        "type": "string"
      -      },
      -      "widget": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "widget",
      -      "reading"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "address",
      -  "added",
      -  "first_row",
      -  "last_row",
      -  "readings",
      -  "warnings"
      -]New value: +[
      +  "address",
      +  "added",
      +  "first_row",
      +  "last_row",
      +  "warnings"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / did
      Added value: +{
      +  "description": "What the person did themselves in this work, in a few words they agree with: what they chose or decided, what they corrected, rewrote or wrote, what they checked and against what. Start with the verb, in the past tense, in their language: \"Chose the three-step plan; fixed the March totals; rewrote the opening\". Say nothing of what you did, what they did not do, how long it took, or a share of the work. Pass no did when their part was the request and the yes. Everyone who sees the change reads it, people outside the team included. At most 300 characters.",
      +  "maxLength": 300,
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds material behavior on top: appends at the end, nothing already in the table changes, a new version is created under the person's name, no confirmation prompt, and returned row numbers are identified. The row-limit statement is inconsistent though — it says 'Takes 1 to 100 rows a call' while the schema allows maxItems 1000, which could mislead an agent batching rows.

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

Conciseness2/5

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

The core sentence is a long, heavily nested run-on ('...as one new version under this person's name, or a sheet in Google Sheets the project may add rows to, named by its .source.md, where Google's version history shows...') that is hard to parse on first read. Purpose is restated three times ('Logs something that happened', 'Adds rows at the end', 'For tables the team keeps as things happen'), so the length is not earned.

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 a tool with two backends, deduplication behavior, and eight parameters, the description covers destination selection, append semantics, per-row shaping, and the return value, and an output schema plus rich annotations fill in the rest. The one real completeness defect is the row-count figure conflicting with the schema's maxItems.

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. The description does add some meaning about the rows payload — keyed by column names in any letter case, omitted columns left empty, a missing Days column defaulting to the person's local today — but most parameters (did, asked, read, again, project, asked_from) are explained only in the schema, not the description.

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?

States a concrete verb and resource: appends rows to an existing table, with the two supported backends named explicitly (a CSV/TSV file on the project, or a Google Sheets sheet addressed by its .source.md). An agent can tell this apart from add_document or add_note by the destination type. It stops short of naming any sibling it is not, so it is clear but not fully differentiated.

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?

'For tables the team keeps as things happen: a message sent, a reply in, a post up, a week's numbers' gives a real usage context that implies append-only, high-frequency logging. However, there is no explicit when-not and no named alternative for the adjacent cases (adding a whole document, a note, a file), so the agent must infer the boundary from the sibling list.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources