Skip to main content
Glama

xtiles_create_nested

Destructive

Give a block nested content it does not have yet — content of its own that the app opens from the block (a task's description is one). Pass the url of the tile the block is in (its <tile url> from a reading) and the block's data-id as block_id. kind is required: "tile" — one tile of details; a nested page or project is not supported yet. markdown: the new tile's first blocks as plain Markdown — not block tags; a heading becomes a header block. When you know what goes in, pass it here, in this call — not an empty tile filled by a second call. Left out, the tile is made empty: its reading has no <tile>, and an edit at its nested_url sends no version for it. No versions here. Returns the new tile's reading and its nested_url, the block's link from now on: read it with xtiles_get_content_by_link and edit it with xtiles_update_content there. A block that reads nested="…" already holds nested content — go to its nested_url instead; called for it, this is refused (409) with that nested_url in the message: use it, do not retry. A planner widget's task (syn-…) gets its tile on its own block, on the page the task was written on — the answer's view_id. A record of a collection already has its nested tile — never create one for it: reading the collection's rows gives each record its own link; open the record by it and edit there. 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>",
      "block_id": "<block_id>",
      "kind": "<kind>"
    },
    "name": "xtiles_create_nested"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe `url` of the tile the block is in — its `<tile url>` as read (a nested tile's `nested_url` too); not a page's url.
kindYesWhat to nest in the block: "tile" (one tile of details). A nested page or project is not supported yet.
block_idYesThe block's `data-id`, in that tile.
markdownNoThe new tile's first blocks, as plain Markdown — not block tags; a heading becomes a header block. Leave it out for an empty tile.

Output Schema

NameRequiredDescriptionDefault
titleNo
contentNo
tile_idNo
view_idNo
nested_urlNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare a destructive, non-idempotent write, and the description adds substantial behavior beyond that: the 409 refusal carrying the nested_url, the fact that omitting markdown produces an empty tile whose reading has no <tile> and whose nested_url sends no version, that no versions are accepted here, and that the response returns the new reading plus its nested_url. This is exactly the mutation context an agent needs before committing.

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?

The opening sentence front-loads the core action and the next two supply addressing and the addressing precondition, so an agent can act on the first lines. Some material is redundant or terse-fragmented — "No versions here", the re-statement of the tile-url constraint already in the schema, and the closing repeat of the tags-format requirement — but nothing is filler.

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 destructive create with four parameters and an output schema, the description covers addressing preconditions, failure mode, downstream handles, and the special cases (planner tasks, collection records). The closing note that a `format: "tags"` reading is required for the identifiers to exist is the kind of prerequisite an agent would otherwise trip over.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: it spells out the consequence of omitting `markdown` (an empty tile with no `<tile>` in its reading and no version on edit) and constrains `kind` to the lone supported value. The rest of the parameter text largely restates schema descriptions, which holds it at 4 rather than 5.

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 clause names a specific verb and resource — giving a block nested content it does not already have — and defines nested content concretely ("content of its own that the app opens from the block (a task's description is one)"). It also scopes what is out of reach ("a nested page or project is not supported yet"), which separates it from the markdown-creation siblings.

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?

Explicit routing rules are given for every branch: pass markdown in this call rather than creating an empty tile and filling it later; for a block already reading nested="…" go to its nested_url instead and do not retry on 409; for collection records never create one because the nested tile already exists; for planner syn-… tasks the tile lands on the task's own block. It leaves no ambiguity about when this tool is the right call.

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