Skip to main content
Glama

Upsert data table row

n8n_upsert_datatable_row

Update a row in a data table if it matches a specified filter, or insert a new row if no match is found.

Instructions

Update a row if it exists (by filter) or insert a new one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataTableIdYesData table ID
filterYes
dataYesColumns and values
returnDataNo
dryRunNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It only mentions the core upsert logic but omits details such as behavior when filter matches multiple rows, authentication needs, or error handling.

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?

The description is a single, clear sentence that efficiently communicates the core action. No redundant words, but it could benefit from slightly more detail without losing conciseness.

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

Completeness2/5

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

Given the tool's complexity (nested filter object, multiple parameters, output schema), the description is too brief. It fails to explain filter behavior, the effect of optional parameters, or how the output looks.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is low (40%), but the description adds no new information about parameters. It does not explain the filter structure, the role of returnData, or dryRun beyond what the schema already states.

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?

The description clearly states the tool's function: updating an existing row or inserting a new one based on a filter. This action is distinct from sibling tools like n8n_update_datatable_rows (update only) and n8n_insert_datatable_rows (insert only).

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?

The description implies the tool is for conditional upsert but does not explicitly state when to use it over separate update/insert tools. It lacks guidance on scenarios or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RPGMais/mcp-n8n'

If you have feedback or need assistance with the MCP directory API, please join our Discord server