Skip to main content
Glama

xtiles_get_view_content

Read-onlyIdempotent

Read the content of a specific xTiles view (page) by viewId. For a regular page: returns the title plus markdown body. A page description reads as a <description shown="true|false"> tag right under the page heading, before the first tile — inline Markdown; in a page read, no tag means no description. Change it with update_description in xtiles_update_content if it is in your tool list, otherwise with xtiles_set_page_description — that tool replaces the whole description, so read it first. For a collection (database) page: returns the collection schema — its attributes (columns) with id, title, and type, plus the list of collection views (id, type, title). To fetch the actual rows of a collection, follow up with xtiles_get_collection_content using one of the listed collection view IDs. Read with format: "tags", a regular page comes as <tile data-id=…> tags holding one tag per block, named for its kind (<text>, <header>, <task>…) — a block's properties are its attributes and its text is inside; xtiles_update_content changes them by those ids. This is how a page READS; the *_from_markdown tools still take plain markdown with ##/### headings, as the guides describe — and a task there is <task dueDate="…">, not the due_date attribute this reading shows. READ FORMAT: by default (format: "markdown") the content is plain markdown, the text xtiles_patch_view_content edits. Pass format: "tags" to read it as tags instead — a <page> with its url, <tile data-id> tags holding one tag per block, each table a <table url=… schema=…> tag, a collection page with its collection URL — with the ids, data-versions and links that xtiles_update_content, xtiles_create_nested and the table tools take. To edit by id, or to work with a table or a collection, read with format: "tags" first, and take every id, version and link from that reading. If you are going to edit, or to work with a table or a collection, and xtiles_update_content and the table tools are in your tool list, read with format: "tags" straight away. The markdown reading is for reading only, or for a client that does not have them.

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>"
    },
    "name": "xtiles_get_view_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoHow the content is read. `"markdown"` (default): plain markdown. `"tags"`: the page as `<page>` / `<tile data-id>` tags holding one tag per block, with the ids, `data-version`s and links (`url`, `nested_url`) that `xtiles_update_content` and `xtiles_create_nested` take, and each table as a `<table url=… schema=…>` tag whose `url` the table tools take. Read with `"tags"` before calling any of those tools.
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`.

Output Schema

NameRequiredDescriptionDefault
titleNo
accessNo
contentNo
view_idNo
collectionNo
project_idNo
project_titleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "How the content is read. `\"markdown\"` (default): plain markdown. `\"tags\"`: the page as `<page>` / `<tile data-id>` tags holding one tag per block, with the ids, `data-version`s and links (`url`, `nested_url`) that `xtiles_update_content` and `xtiles_create_nested` take, and each table as a `<table url=… schema=…>` tag whose `url` the table tools take. Read with `\"tags\"` before calling any of those tools.",
      +  "enum": [
      +    "markdown",
      +    "tags"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial new context: the shape of the returned page content, the `<description shown=...>` tag convention and the "no tag means no description" gotcha, the difference between collection schema and collection rows, and the warning that `due_date` in tag reads differs from `dueDate` in markdown inputs. These are non-obvious behavior facts an agent could not infer from annotations or schema.

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

Conciseness2/5

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

The format/tags behavior is explained twice, once inline and again under an explicit "READ FORMAT" block, largely repeating the same points about ids, `data-version`s and links. Editing-tool guidance and markdown-import comparisons are interleaved with the read semantics, so the core call path is buried in a dense, ~350-word paragraph set.

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 an output schema, full schema coverage, and annotations present, the description covers everything an agent needs: both page types, both formats, id discovery, and follow-up routes. It loses a point only because the default-format statement and the later "read with tags straight away" advice are woven into the same block, slightly blurring the initial guidance.

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 `format` field already spells out markdown vs tags and the ids/versions/links each yields, including the advice to read with tags before calling editing tools. The description restates that same guidance rather than adding new parameter meaning (e.g., size limits or behavior when a viewId points at a non-page entity). Baseline 3 is appropriate when the schema does the work.

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?

Opens with a specific verb+resource+key: "Read the content of a specific xTiles view (page) by `viewId`", then splits behavior into two concrete cases (regular page returns title + markdown body; collection page returns schema/attributes/views). It names the sibling to use for rows (`xtiles_get_collection_content`) and the one for markdown imports, so an agent can distinguish it from neighbors without opening schemas.

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 explicit routing: use `format: "tags"` when editing by id or touching a table/collection, markdown when only reading or when the editing tools aren't available, and follow up with `xtiles_get_collection_content` for collection rows. It also names alternatives for changing a description (`update_description` vs `xtiles_set_page_description`) with the condition that selects each, plus the caveat that the latter replaces the whole description.

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