Skip to main content
Glama

Reorder the store page blocks

reorder_store_blocks
DestructiveIdempotent

Store administration: works on the business's own link-in-bio store in Ignix, which the user manages as its owner. Nothing is bought or sold in this chat; the store's customers buy on the store page, paid to the business's own Stripe account. Reorder the blocks of the public store page and return the page as it now looks. blockIds must list every block id of the page exactly once, top to bottom (get them with list_store_blocks); a missing or repeated id rejects the call and nothing moves. It changes the live page at once: confirm the new order with the user. To take one block off the page without deleting it, use hide_store_block.

Input Schema

NameRequiredDescriptionDefault
blockIdsYesEvery block id of the page (from list_store_blocks), each once, top to bottom.
workspaceIdNoDefaults to the workspace this connection is scoped to.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / blockIds / description
      Previous value: -"Every block id of the page, in the new order."New value: +"Every block id of the page (from list_store_blocks), each once, top to bottom."
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true; the description adds genuinely new facts: the operation is atomic ('a missing or repeated id rejects the call and nothing moves'), it takes effect on the live page immediately, and it returns the resulting page. It does not clarify interactions with hidden/unpublished blocks or what happens to blocks added concurrently, so it stops short of 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.

Conciseness4/5

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

The operational content is dense and well ordered: constraint, side effect, alternative. The opening two sentences about the business's own store and Stripe payment flow are scene-setting that does not help an agent decide or invoke, costing it a perfect score.

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 3-parameter mutation with no output schema, the description covers prerequisites, atomicity, live-effect warning, and the return shape. Missing only edge-case behavior (e.g., interaction with hidden blocks or the published/unpublished state), which an agent might reasonably need.

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 coverage is 100%, so the baseline is 3, but the description reinforces the critical invariant on blockIds (complete, no duplicates, ordered) as a hard rejection condition rather than just a formatting note. workspaceId and idempotencyKey are only covered by the schema, which limits it to a 4.

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?

States a specific verb and resource ('Reorder the blocks of the public store page') and even names the return ('return the page as it now looks'). It is clearly separable from near-siblings like update_store_block, add_store_block, and hide_store_block.

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?

Gives the prerequisite (get ids with list_store_blocks), the exact validity contract (every id once, top to bottom), and an explicit alternative for a different intent ('To take one block off the page without deleting it, use hide_store_block'). It also instructs confirming with the user because the live page changes at once.

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