Skip to main content
Glama

xtiles_get_project_content

Read-onlyIdempotent

Read the combined content of a project (concatenated views) with cursor-based pagination. Use start_view_id + limit to page through a large project. Response includes view_ids covered in this page, any inaccessible_view_ids, and next_view_id (pass as start_view_id to fetch the next page; absent when done). Each page carries its description as a <description shown="true|false"> tag under its heading; a collection page's description is shown only when that page is read on its own: xtiles_get_view_content, or here with start_view_id set to it and limit 1. 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": {
      "projectId": "<projectId>"
    },
    "name": "xtiles_get_project_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of views, 1–20. Defaults to 5.
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.
projectIdYesProject ID (use xtiles_list_projects to discover).
start_view_idNoCursor: start reading from this view ID. Use `next_view_id` from the previous response for pagination.

Output Schema

NameRequiredDescriptionDefault
titleNo
contentNo
view_idsNo
project_idNo
next_view_idNoPass this value as start_view_id to fetch the next page.
inaccessible_view_idsNo

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.5/5.0
Behavior4/5

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

Beyond the readOnlyHint/idempotentHint annotations, it discloses the response shape (`view_ids`, `inaccessible_view_ids`, `next_view_id`) and the cursor contract of passing next_view_id back as start_view_id. It also reveals a non-obvious trait: the per-page `<description shown=...>` behavior differing between collection and single reads. Slightly redundant restatement of the format rule keeps it off a 5.

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?

The critical scoping and pagination facts are front-loaded, but the guidance to read with format "tags" before editing is stated three separate times in slightly different words, and the read-format section is dense enough to slow scanning.

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 paginated, dual-format read tool it covers everything an agent needs: paging loop, per-page description semantics, format selection rubric, and the dependency on downstream edit tools. Return values are explained even though an output schema already exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the baseline is 3, but the description adds operational meaning: start_view_id is a cursor derived from the previous response's next_view_id, and the format choice is tied to downstream editability rather than merely to output shape.

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?

The opening sentence gives a specific verb and resource ("Read the combined content of a project") and immediately scopes it as concatenated views with cursor pagination, which separates it from xtiles_get_view_content, the single-view sibling it later names explicitly.

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?

It states concrete when-to-use conditions: page with start_view_id + limit, read a collection page's description on its own via xtiles_get_view_content or with limit 1, and choose format "tags" whenever you intend to edit or touch a table/collection. It also names the exclusion (markdown reading is read-only, for clients lacking the edit tools).

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