Skip to main content
Glama

Autotouch AI

Query table rows

query_table_rows
Read-only

Read the rows that match explicit Research Table filters, using current column keys, with the exact matchedCount. Results are paginated; preserve hasMore and cursor. This does not observe the open view or selected rows.

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>",
      "columns": "<columns>",
      "filters": "<filters>"
    },
    "name": "query_table_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
columnsYesExact current column keys from read_table_schema.
filtersYesCanonical Research Table filters: {mode: 'and' or 'or', filters: [{columnKey: exact_key, operator: canonical_operator, value: ...}]}. Include every intended criterion. Empty object explicitly reads all rows. Unsupported predicates are rejected, never ignored.
table_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: the response carries an exact matchedCount, results are paginated, and the caller must preserve hasMore and cursor across calls — behavior not derivable from the schema.

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?

Two tight sentences with no filler; the query scope is front-loaded and the pagination contract follows immediately. Every clause carries operational meaning.

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?

With no output schema, the description usefully names the return fields (matchedCount, hasMore, cursor), which is the key omission it needed to cover. For a filtered, paginated read over a nested filter schema it is close to complete, with minor gaps around limits and invalid-predicate behavior that the schema's own filter description partly covers.

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 only 40% across 5 parameters (including a nested filter object), so the description must compensate and only partially does. It clarifies that columns must be 'current column keys' and that cursor/hasMore drive pagination, but says nothing about the limit cap, table_id format, or the and/or filter mode semantics.

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 pairs a specific verb (read) with a specific resource (rows of a Research Table) and constrains it to explicit filters and current column keys. It also distinguishes the behavior from view-based reading by stating it does not follow the open view or selected rows, though it never names the sibling it contrasts with.

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?

Implicit guidance is present: use this when you have explicit filter criteria, and do not expect it to reflect the UI's open view or row selection. However, it never states positively when to prefer this over view_research_table or schema-reading siblings, leaving the agent to infer the selection rule.

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