Skip to main content
Glama

Create Items

item.create_many

Create many rows (items) in one sheet in ONE call — use it instead of repeated item.create_humanized whenever you add more than one row (e.g. "add these 50 leads" from a pasted list). Each row is a fields map of attribute name → HUMAN VALUE, resolved exactly as item.create_humanized does. Text fields take markdown: bold, italic, strikethrough, code, links (http, https and mailto only) and - or 1. lists; put a backslash before a * _ ~ [ ] meant literally. Date fields take an ISO 8601 date or datetime, or a range as [start, end] or an ISO interval start/end (e.g. 2026-12-01/2026-12-05); times are UTC unless they carry an offset, and an end before the start is refused. Up to 200 rows per call; for more, make several calls. A row whose value cannot be resolved, or that matches an existing row by a unique field, is skipped with a reason and the rest are created. Workflows on the sheet run for every created row, as for a row added by hand. The whole call is one batch:item.undo_batchwith the returnedbatchIdandsheetIdremoves every row it created. Returns{ batchId, created, skipped, skippedCount, url }` — tell the user the counts and the skip reasons.

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": {
      "sheetId": "<sheetId>",
      "rows": "<rows>"
    },
    "name": "item.create_many"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesThe rows to create, 1–200; split a longer list into several calls
sheetIdYes

Output Schema

NameRequiredDescriptionDefault
urlYesPanel link to the sheet
batchIdYesId of the batch; pass it with sheetId to item.undo_batch to undo the whole batch. Null when nothing was written
createdYesRows created
sheetIdYesSheet the rows are in
skippedYesRows left unchanged and why; at most 20 are listed
spaceIdYesSpace of that sheet; null for a sheet outside a space
stoppedNoSet when a row failed unexpectedly: rows after it were not attempted; the rest stay written
updatedYesRows updated
skippedCountYesAll rows skipped, including ones not listed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / batchId / description
      Previous value: -"Id of the batch; pass it to item.undo_batch to undo the whole batch. Null when nothing was written"New value: +"Id of the batch; pass it with sheetId to item.undo_batch to undo the whole batch. Null when nothing was written"
  2. Changed4 schema fields changed
    • removedOutput schema / properties / batchId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / batchId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / spaceId / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / spaceId / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  3. Changed3 schema fields changed
    • addedOutput schema / properties / sheetId
      Added value: +{
      +  "description": "Sheet the rows are in",
      +  "type": "number"
      +}
    • addedOutput schema / properties / spaceId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Space of that sheet; null for a sheet outside a space"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "batchId",
      -  "created",
      -  "updated",
      -  "skipped",
      -  "skippedCount",
      -  "url"
      -]New value: +[
      +  "batchId",
      +  "created",
      +  "updated",
      +  "skipped",
      +  "skippedCount",
      +  "url",
      +  "sheetId",
      +  "spaceId"
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, and the description adds genuinely useful context beyond them: partial-failure semantics (bad or duplicate rows are skipped with a reason while the rest are created), workflow side effects, and a concrete reversal path via item.undo_batch with batchId and sheetId. However, it does not warn that retrying the same call after a partial failure may duplicate rows despite idempotentHint=false, which is the main behavioral risk for a non-idempotent batch write.

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

Conciseness4/5

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

Front-loaded with the core rule and the alternative, and every sentence carries operational detail. It is a single dense block, though, and the trailing sentence restating the return shape duplicates the output schema, which is mild waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a two-parameter batch-write tool with an output schema, the description covers limits, partial failure, workflow side effects, undo, and value-format rules — everything an agent needs to call it correctly. The return-value sentence is redundant with the output schema but not harmful.

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 coverage is 50% and sheetId carries no description in the schema; the description only says "one sheet" without clarifying that sheetId is a numeric identifier or how to obtain it. The rows/fields semantics are covered well — human-value resolution, select/status matching, markdown syntax, ISO 8601 dates and ranges, UTC default — but much of that overlaps the schema's own fields description rather than compensating for the undocumented sheetId.

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 — "Create many rows (items) in one sheet in ONE call" — and immediately contrasts it with the sibling item.create_humanized. An agent can distinguish batch creation from single-row creation without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit selection rule: use this instead of repeated item.create_humanized whenever adding more than one row, with a concrete example ("add these 50 leads"). It also names the boundary condition — up to 200 rows per call, split longer lists into several calls.

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