Skip to main content
Glama

Kalpana Designer

Compute positions for items

place_items
Read-onlyIdempotent

Compute where N items go: around a circle, along an arc, in a grid, evenly along a line or a path. Returns places in item order: each item's centre, its top-left x and y for an item of item_size, and the rotation in degrees that faces along the layout. Free and read-only; it places nothing itself. Use it for radial menus, timelines and grids, then pass the positions to create_layers; for a single value use calculate, and for the outline of a shape shape_path.

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": {
      "count": "<count>",
      "layout": "<layout>"
    },
    "name": "place_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
countYesHow many places.
intentNoOptional: a few words on why.
layoutYesThe shape to place them on, e.g. `{kind: "circle", center: [540, 540], radius: 300}`.
item_sizeNoThe items' size [width, height], to also get each top-left x/y.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations by explaining that it 'places nothing itself' and by describing the returned `places` structure: centre, top-left x/y for `item_size`, and rotation in degrees.

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 front-loaded with the core action, then the return shape, then usage guidance and alternatives. Every sentence earns its place, with no redundant or bloated language.

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?

Given the nested `layout` schema, the 4 parameters, and the absence of an output schema, the description is complete enough: it explains what is computed, what is returned, that nothing is mutated, and which sibling tools to use instead. No critical information is missing for correct invocation.

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 100%, so the schema already does the heavy lifting for parameters like `count`, `layout`, and `item_size`. The description still adds meaning by tying `item_size` to the returned top-left x/y values and by naming the supported layout shapes, giving the agent additional semantic context.

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 states a precise verb and resource: compute positions for N items across specific layout types (circle, arc, grid, line, path). It clearly distinguishes this tool from siblings by naming create_layers, calculate, and shape_path as related alternatives, so an agent can identify its role without opening the schema.

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 explicitly says when to use this tool ('radial menus, timelines and grids'), what to do with the result ('pass the positions to create_layers'), and when to choose alternatives ('for a single value use calculate, and for the outline of a shape shape_path'). This is exactly the routing guidance an agent needs.

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