Skip to main content
Glama

Reorder visuals

reorder_visuals
DestructiveIdempotent

Put every visual of the dashboard in a new reading order and reflow. Needs an API key: with none yet, call signup first.

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": {
      "dashboardId": "<dashboardId>",
      "visualIds": "<visualIds>"
    },
    "name": "reorder_visuals"
  }
}

Input Schema

NameRequiredDescriptionDefault
visualIdsYesEvery visual of the dashboard exactly once, in the new reading order.
dashboardIdYesThe dashboard's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true. Beyond that, the description adds a real behavioral fact the annotations do not carry: an API key is mandatory and the signup tool is the path to obtaining one. It also signals that the operation reflows layout, not just ordering. It does not explain why the operation is flagged destructive or what happens to layout state, which keeps it from a 5.

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?

Two sentences, no filler, and the core action is front-loaded before the auth prerequisite. Every clause carries information an agent needs before calling.

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?

The tool is a destructive, idempotent bulk mutation with a fully documented two-parameter schema and no output schema, so much is already covered. Still missing is any statement of the consequences behind destructiveHint=true — whether reordering rewrites persisted layout, what happens on partial lists, or what the call returns. The auth hint is helpful but the destructive consequence is left unexplained.

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 100%, and the schema already states that visualIds must contain every visual exactly once in the new order and that dashboardId is the dashboard's id. The description's 'every visual of the dashboard in a new reading order' only restates that constraint at a higher level. With the schema doing the heavy lifting, the baseline of 3 is appropriate.

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 names a specific action and resource: put every visual of a dashboard into a new reading order and reflow the layout. The scope word 'every visual' plus 'reflow' clearly distinguishes this from sibling mutators like update_visual or create_visual. It stops short of explicitly naming which sibling to use instead for single-visual edits, so a 4 rather than a 5.

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?

It gives one concrete routing instruction — if there is no API key yet, call signup first — which is genuinely useful when-to-use guidance for the auth branch. However, it offers no guidance on when to reorder versus when to use update_visual or create_visual, and no prerequisites about dashboard ownership. Usage is implied by the verb rather than spelled out against alternatives.

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