Skip to main content
Glama

xtiles_get_collection_content

Read-onlyIdempotent

Fetch rows from an xTiles collection (database) view as CSV with pagination. Prerequisite: call xtiles_get_view_content for the collection page to learn its collection.views[] and pick a collection_view_id. The CSV header reflects the columns visible in that collection view; column types and IDs come from the collection schema. Note: server-side filtering is not yet exposed via this endpoint — apply any required filters client-side after fetching, or page through results until the desired rows are found. If xtiles_read_table_rows is in your tool list, read rows with it instead — it filters and sorts on the server and gives each row its id and link, and xtiles_write_table_rows changes rows; it takes the collection URL that reading the collection page with format: "tags" shows. Use this tool only when it is not.

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": {
      "viewId": "<viewId>",
      "collection_view_id": "<collection_view_id>"
    },
    "name": "xtiles_get_collection_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based — the first page is 1. Defaults to 1.
viewIdYesView ID of an xTiles page. You can also extract it from a page URL — it is the last path segment, whatever the domain, e.g. `https://xtiles.app/6740858058af8a09bf6096e6` → viewId is `6740858058af8a09bf6096e6`. Discover IDs programmatically via `xtiles_list_projects` or `xtiles_get_project_content`. This must be the viewId of a collection (database) page. Use `xtiles_get_view_content` first to discover the schema and pick a `collection_view_id`.
per_pageNoPage size, 1–100. Defaults to 100.
time_zoneNoIANA time zone (e.g. "Europe/Kyiv") used to render date/datetime fields.
collection_view_idYesID of a specific collection view (table, board, gallery, etc.) within the collection. Discover via `xtiles_get_view_content` — it returns `collection.views[]` with their IDs.

Output Schema

NameRequiredDescriptionDefault
urlNo
contentNo
view_idNo
paginationNo
project_idNo
collection_view_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, and the description goes well beyond them by disclosing that server-side filtering is not exposed and filters must be applied client-side, that the CSV header reflects the visible columns in the chosen view, and that column types/IDs come from the collection schema. These are the behavioral facts an agent needs to interpret results correctly.

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 action, then prerequisite, then limitation, then the alternative — a sensible ordering with no filler sentences. It runs slightly long in the xtiles_read_table_rows paragraph, where the write-side aside is more than a caller needs to select this tool.

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 read tool with full annotations and an output schema, the remaining gaps an agent would care about (prerequisite discovery, absence of server-side filtering, CSV shaping) are all covered. Nothing needed to invoke it correctly is missing.

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%, and the field-level descriptions already explain viewId URL extraction, the 1–100 per_page bound, and how to discover collection_view_id. The description mostly restates that workflow (viewId must be a collection page, collection_view_id from views[]) rather than adding syntax or format detail the schema lacks, so the baseline 3 applies.

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, resource, and output format: 'Fetch rows from an xTiles collection (database) view as CSV with pagination.' It also distinguishes itself from the sibling that does the same job better (xtiles_read_table_rows), so an agent can classify it without opening a 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 prerequisite (call xtiles_get_view_content to learn collection.views[] and pick collection_view_id) and an explicit routing rule: prefer xtiles_read_table_rows when present, use this tool only when it is not. When-to-use and when-not-to-use are both stated.

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