Skip to main content
Glama

Move items

set_layout

Move many items at once. positions is a list of {id, x, y} for quadrant maps, {id, tier} for tier lists, {id, row, col} for grids or {id, country} / {id, subdivision} / {id, city} / {id, lat, lon} for geo maps. Send {id, tray: true} to put an item back in the tray.

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": {
      "mapId": "<mapId>",
      "token": "<token>",
      "positions": "<positions>"
    },
    "name": "set_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
mapIdYesThe map id from create_map.
tokenYesThe editToken from create_map. Required for every change.
positionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations declare a non-read-only, non-destructive, closed-world mutation, so the baseline safety profile is covered. The description adds genuinely useful behavior beyond that: new items can be placed on Sankey/chart/list maps in the same call, tray: true keeps an item off the chart, targets can reference items added later in the call, and scores: null removes an item from a Radar chart. It does not cover batch size limits, partial-failure behavior, or what the response contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded correctly with the one-line purpose, and there is little wasted prose. However, the second sentence is a single long 'or'-chained run-on enumerating four map families, which makes the most information-dense part of the definition hard to parse and would read far better as a short bulleted 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 batch mutation whose real complexity lives in a large polymorphic items schema, the description covers the position vocabulary well and flags the tray convention consistently. It is missing the operationally important pieces an agent would want: whether a call is all-or-nothing, how many items one call can handle, and how this tool relates to add_items/update_items for non-positional changes.

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 67%, so the schema already documents most item fields in detail, and much of the description's shape list ({id, x, y}, {id, tier}, {id, row, col}, geo variants) restates it. What it does add is a consolidated at-a-glance index of which shape applies to which map type, plus the tray escape hatch, which helps an agent pick the right fields without scanning ~35 properties. A baseline 3 is appropriate given the duplication.

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 opening sentence 'Move many items at once' states a specific verb (move) and resource (items) with a batch scope, which is clear and distinct from add_items/remove_items by implication. It never explicitly contrasts itself with update_items or add_items, so the differentiation is inferred from the name rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: the description never says whether to reach for this tool versus update_items (rename/recolor) or add_items, nor does it state prerequisites beyond the token already documented in the schema. The only routing hints are per-map-type field shapes, which are parameter guidance, not tool-selection guidance.

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