Skip to main content
Glama

xtiles_read_table_rows

Read-onlyIdempotent

Read the rows of one xTiles table — a table on a canvas page or a collection (database) page, addressed the same way. Returns the schema (column ids, types, which columns a write may set, the labels a select accepts, the table a relation column points at) together with a page of rows, each carrying the xt:row_id that xtiles_write_table_rows addresses it by. A relation cell reads as Title (id) per related row — the id is that other table’s xt:row_id. Get the url from the <table …> tag in the page content. The url of a <collection url row_id> tag in an item’s <properties> is that collection’s address too. Its row_id is the item’s xt:row_id there. A collection row also carries the read-only system column xt:url (in values too), never written: the row’s link — the record’s nested tile (the app opens it as its card), or, for a row that is a page or a project, that page itself. Read it with xtiles_get_content_by_link with format: "tags", then edit by the url that reading gives, with xtiles_update_content. It is not one of the table’s columns: no filter, sort or column change takes it. Rows can be sorted server-side on either kind of table; only collections can also be filtered. A row holds a record's fields only. Its details — notes, a description, steps — are the nested blocks of its nested tile, which every record already has: open it by the record’s own link this read gives, to answer about the record and to write its details there. Never say what it holds, or that it is empty, without having opened it. A reply about a record links it by that link. Sorting and filtering change only what this read returns, never the collection: its order and its views' filters stay as they are. When the person asked to sort or filter the collection itself, answer from the read, then say so — and that it is set in a view, in the app. What this tool is addressed by comes from a reading made with format: "tags" (xtiles_get_view_content, xtiles_get_content_by_link, xtiles_get_project_content, xtiles_get_planner_content); the default reading is plain markdown and shows none of it.

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": {
      "url": "<url>"
    },
    "name": "xtiles_read_table_rows"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe `url` attribute of the `<table …>` tag that was rendered when the page was read. Pass it back unchanged — it addresses a canvas table and a collection alike, and it is not assembled from ids. The `url` of a `<collection url row_id>` tag in an item’s `<properties>` is that collection’s address too. A page's id — from a project's structure or anywhere else — is not this url: read the page first.
pageNoPage number, 1-based — the first page is 1. Defaults to 1.
sortNoOrder to read in, outermost first. Omit and the surface decides: a canvas table keeps its drawn order, a collection read through a view keeps that view’s arrangement, a whole collection comes back oldest-first. A collection also accepts `created_time_attribute_id`, `created_by_attribute_id` and `source_url_attribute_id`, which are orderable without being readable.
filterNoWhich rows to return, as a Mongo-shaped query over column `id`s. COLLECTIONS ONLY — a canvas table has no query engine behind it, so filtering one is a 422. Several keys in one object mean AND; `$and` / `$or` take arrays and nest up to five levels. A column object holds exactly ONE operator, and a column appears at most once per object — a repeated key is silently dropped before the query is sent. Two conditions on one column go in `$and`: {"$and": [{"c7": {"$gte": "2026-09-01"}}, {"c7": {"$lt": "2026-10-01"}}]}. Operators: `$eq` `$ne` `$gt` `$gte` `$lt` `$lte` `$in` `$nin` `$contains` `$exists`. Values are STRINGS in the same vocabulary the read emits — a select is its label, a checkbox is "true"/"false", a date is "YYYY-MM-DD" and `$eq` on a date means the whole day. `$in` / `$nin` take a non-empty array of strings; `$exists` takes a JSON boolean — {"c3": {"$exists": true}}, not "true". `$eq` and `$contains` on text are case-insensitive. `$ne` and `$nin` on text and select also match rows holding no value at all. Not every column can be filtered: `text`, `url`, `number`, `date`, `checkbox`, `select`, `multiselect` and `created_time` can; `due_date`, `priority`, `assignee`, `status` and every other product type answer 422 naming what they do take. Example: {"c2": {"$in": ["Todo", "Doing"]}, "c7": {"$gte": "2026-09-01"}}
per_pageNoRows per page, 1–500. Defaults to 100.
collection_view_idNoRead only the rows one of the collection’s saved views admits. A view is a FILTER: it changes which rows come back, never which columns. Ignored for a canvas table, which has no views.

Output Schema

NameRequiredDescriptionDefault
urlNo
kindNo
rowsNo
columnsNo
paginationNo
collection_view_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is low, yet the description adds substantial behavior: filtering is collections-only (422 on a canvas table), sort defaults differ per surface (drawn order, view arrangement, oldest-first), relation cells render as `Title (id)`, and the read-only system column `xt:url` is never written and cannot be filtered, sorted, or altered as a column.

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

Conciseness3/5

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

Purpose and addressing are front-loaded and the content is dense with real information, but the definition runs long and includes response-etiquette instructions ("Never say what it holds…", "A reply about a record links it by that link") that sit outside tool selection and invocation. The nested-tile link explanation is also restated in two nearby sentences.

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?

For a 6-parameter read tool with an output schema, this covers everything an agent needs: how to obtain the url, which reading mode reveals it, the shape of returned rows and relation cells, the system column's special status, and the limits of sort/filter. The one remaining gap (return values) is covered by the 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 description coverage is 100%, so the 3 baseline applies; the schema already documents url sourcing, Mongo-shaped filter operators, page/per_page bounds and collection_view_id. The description reinforces a few points (url is not assembled from ids, filtering is collections-only, sort affects only the read) but adds no syntax or format detail the schema lacks.

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 ("Read the rows of one xTiles table"), and immediately bounds the scope: a table on a canvas page or a collection page, "addressed the same way." It is clearly distinguishable from xtiles_write_table_rows, which it names alongside the row id the write side addresses.

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?

Explicitly tells where the `url` argument comes from (`<table …>` tag in page content, or the `<collection url row_id>` tag), which reading mode is required (`format: "tags"`, not default markdown), and which sibling to chain into (`xtiles_get_content_by_link` to open the row's nested tile, `xtiles_update_content` to edit). It also states a when-not: sorting/filtering affect only the read, never the collection, and gives the follow-up wording when the person asked to change the collection itself.

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