Skip to main content
Glama
bhanutpt

inksmcp

by bhanutpt

layout

Arrange SVG items in rows, columns, or grids with gaps and alignment, so elements form measured layouts without manual coordinate math.

Instructions

Arrange items in a row, column or grid with a gap — no coordinate maths needed. An item is an id or a list of ids that move together, e.g. ["box1", "box1_label"], or {"ids": [...], "anchor": "fig1-border"} to arrange by that member's box (plot frames line up even when their tick labels differ in width); the rest moves along. gap is a number or [horizontal, vertical]. align places items on the cross axis (grid: within cells). The block stays where the first item is, or its top-left goes to at [x, y], or it is aligned to to ('page' or an element id) using horizontal/vertical/margin. Connectors follow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
atNo
toNo
gapNo
alignNocenter
itemsYes
doc_idNo
marginNo
columnsNo
previewNo
verticalNo
directionNorow
horizontalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses placement behavior—the block stays where the first item is, or moves to `at`/`to`, and connectors follow—but does not explain the `preview` flag, document mutation semantics, permissions, or reversibility.

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 description is front-loaded with the core purpose and then layers in item, gap, alignment, and placement semantics. It is dense but avoids filler, though its length is substantial given the compact parameter list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter mutation-style tool with no annotations and no output schema, the description provides a useful mental model of item grouping and placement. However, it leaves several parameters and behavioral details (preview, doc_id, columns, return/error behavior) incomplete.

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 0% for 12 parameters, so the description must compensate. It explains `items`, `gap`, `align`, `at`, `to`, `horizontal`, `vertical`, and `margin` meaningfully, but omits `columns`, `preview`, and `doc_id`, leaving important parameters undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and resource: arranging items in a row, column, or grid with gaps, and clarifies that coordinate math is not needed. It does not explicitly distinguish itself from siblings like align, grid, or plot, but the core operation is clear.

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

Usage Guidelines3/5

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

Usage is implied through the explanation of how items move and how placement is controlled, but there is no explicit guidance on when to use this tool instead of alternatives such as align or grid. The phrase 'no coordinate maths needed' hints at a use case but does not state exclusions or alternatives.

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