Skip to main content
Glama

Import rows

import_rows

Insert up to 10,000 row objects into a table, normalizing keys to snake_case and adding unknown keys as new columns for bulk data import.

Instructions

Insert rows (objects of column -> value) into a table. Keys are normalized to snake_case and unknown keys become new columns. Max 10,000 rows per call.

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

Input Schema

NameRequiredDescriptionDefault
rowsYes
table_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare write/not-destructive/not-open-world; the description adds genuinely non-obvious behavior: keys are normalized to snake_case, unknown keys silently create new columns (a schema mutation side effect), and there is a hard batch limit of 10,000 rows per call. It does not cover conflict/duplicate handling, partial-failure behavior, or return values, which keeps it below a 5.

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 short sentences, front-loaded with the action, followed by the two facts that most affect correctness and cost. No filler or repetition of the title.

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?

There is no output schema, so the description should say something about what comes back (rows inserted, columns created, errors) and about duplicate/conflict semantics — neither is present. For a write tool whose unknown-key behavior can alter the table schema, that is a meaningful gap, though the critical batch limit and normalization rules are covered.

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 0% for both parameters, so the description must compensate. It explains the elements of "rows" (column -> value objects), their key normalization, and the array size cap, which is real added meaning. However, table_id is only alluded to via "into a table" with no indication of format or where to obtain it, leaving half the parameters underspecified.

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 opens with a specific verb and resource ("Insert rows ... into a table") and clarifies the row shape as objects of column -> value. It is clearly distinguishable from siblings like update_rows and delete_rows by the word "Insert", though it never names an alternative explicitly.

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 is only implied: "Insert" suggests new data versus update_rows for existing data, but the description never states when to prefer this tool over update_rows or add_column, nor any prerequisite (e.g., that the table must already exist). An agent must infer the routing decision from the verb alone.

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