Skip to main content
Glama

xtiles_set_page_description

DestructiveIdempotent

Set (or clear) the description of an xTiles view (page) by viewId. The description is inline Markdown shown under the page title and may span multiple lines. Provide description text to set and show it; pass an empty string to clear and hide it. It replaces the whole description: to add to or change part of it, read the current one first with xtiles_get_view_content and send the full new text. Returns the description as stored — with the formatting that was kept — and whether it is shown.

Input Schema

NameRequiredDescriptionDefault
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`.
descriptionYesThe page description as inline Markdown (bold, italic, links, etc. are allowed). Line breaks are allowed — the description may span multiple lines. Setting a non-empty value shows the description under the page title. Pass an empty string to clear the description and hide it.

Output Schema

NameRequiredDescriptionDefault
view_idYes
descriptionYes
show_descriptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint and idempotentHint, but the description adds the crucial detail of WHAT is destroyed: the whole description is replaced, not merged. It also states the return payload (stored description plus shown flag). Lacks only peripheral context like permission requirements, which is minor for a single-field setter.

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?

Three tight sentences with zero filler; the core set/clear behavior is front-loaded, followed by the replacement caveat and the return contract. Every sentence carries information an agent needs.

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 simple two-parameter setter with a documented output schema, the definition covers purpose, both modes, replacement semantics, and the read-before-write workflow. Nothing essential to correct invocation 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 coverage is 100% and the schema already documents empty-string clearing, inline Markdown support, and multi-line text, so the description largely restates it. The only added nuance is that formatting is normalized on save ('with the formatting that was kept'), which is marginal.

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 (set/clear), resource (page/view description), and key identifier (`viewId`) in the first clause. An agent can immediately distinguish this from siblings like `xtiles_update_page`, `xtiles_set_page_layout`, or `xtiles_patch_view_content`.

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 covers both operation modes (non-empty to set/show, empty string to clear/hide) and names the alternative workflow for partial edits: read the current text with `xtiles_get_view_content`, then send the full new text. The condition that selects each path is unambiguous.

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