Skip to main content
Glama
questdb

mcp-server-questdb

Official

set_cell_layout

Position a grid-mode cell by setting its x/y coordinates, width (max 12 columns), and height. Specify exact placement and sizing to control dashboard layout.

Instructions

Position a single cell in grid mode. x/y/w/h are integers in the react-grid-layout grid. The 12-column limit applies to WIDTH only (w ≤ 12); h is NOT in column units — the rendered cell box is h10 + (h-1)20 px (10px rows with 20px gaps BETWEEN rows; do NOT estimate with h30), and a fixed 44px cell header inside it leaves (h30 - 64)px of content. Chart cells pad the plot a further ~40px top and ~56px bottom (~86px when the zoom slider shows) inside that content area. EXAMPLES: markdown h:3 -> 310 + 220 = 70px box, 70 - 44 = 26px of text (the minimum strip); markdown h:5 -> 130px box, 86px of text (a comfortable title); chart h:10 -> 280px box, 236px content, ~140px of plot after padding (~110px with the zoom slider).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hYes
wYes
xYes
yYes
cell_idYes
buffer_idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: it reveals that h is not in column units, gives the exact pixel formula h*10+(h-1)*20, the 44px header, and chart padding behavior, plus worked examples. This is far beyond a generic mutation warning.

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?

The description is long but dense and front-loaded with its purpose. Every sentence contributes either a formula, a constraint, or a concrete example; the structure makes the complex sizing behavior easier to apply, not harder.

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?

For a geometry-heavy tool with no annotations and no output schema, this is nearly complete: it covers units, limits, header/padding, and examples. It only omits obvious selection semantics for buffer_id/cell_id and what happens outside grid mode, which are minor given the opening sentence.

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 description coverage is 0%, and the description compensates well by defining x/y/w/h as integers in the react-grid-layout grid and explaining the width/height constraints. buffer_id and cell_id are left to name inference, so it is not a full 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 description opens with a clear verb and resource: 'Position a single cell in grid mode.' It immediately distinguishes this tool from layout-mode or cell-mode siblings, and the rest of the text reinforces that this is about geometry.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It tells the agent this is for positioning one cell in grid mode and warns that the 12-column rule only constrains width. It does not explicitly name alternatives such as set_layout_mode or set_cell_mode, but the stated grid-mode context is clear enough to route most calls.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/questdb/mcp-server-questdb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server