Skip to main content
Glama
n8n MCP Server

n8n MCP Server

by fedealvarez

get_data_table_rows

Query and retrieve rows from an n8n data table using filters, sorting, search, and pagination to return only the records needed.

Instructions

Query and retrieve rows from a data table with optional filtering, sorting, search, and pagination.

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": {
      "dataTableId": "<dataTableId>"
    },
    "name": "get_data_table_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results per page (default 100, max 250)
cursorNoPagination cursor
filterNoJSON filter: {type:'and'|'or', filters:[{columnName,condition,value}]}. Conditions: eq, neq, like, ilike, gt, gte, lt, lte
searchNoSearch text across all string columns
sortByNoSort format: columnName:asc or columnName:desc
dataTableIdYesData table ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and mostly does not meet it. It does not state that the operation is read-only and non-destructive, does not describe paging behavior beyond the bare word "pagination" (e.g. cursor lifecycle, page limits), and says nothing about permissions or what a returned row looks like.

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?

A single front-loaded sentence with zero filler, listing the supported capabilities in a natural order. It is efficient, though its brevity is part of why behavioral gaps remain.

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?

For a 6-parameter read tool with full schema documentation and no output schema, the description covers the core purpose adequately. It leaves the agent uninformed about read-only safety and result shape, which matters given the absence of annotations and output schema.

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 100% – filter syntax, sort format, search scope, limit defaults and cursor are all documented in the schema itself. The description's mention of filtering, sorting, search and pagination merely echoes the parameter names, adding no syntax or edge-case meaning.

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?

"Query and retrieve rows from a data table" is a specific verb+resource pair that clearly separates this from the mutation siblings (insert/update/delete_data_table_rows). It stops short of naming an alternative tool, but the read intent is unambiguous.

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

Usage Guidelines2/5

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

The description never says when to reach for this tool versus list_data_tables or the row-mutation siblings, and gives no preconditions. Usage is only implied by the word "retrieve".

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