Skip to main content
Glama

reorder_order_bumps

Set the display order of the order bumps on a checkout page or event. Send every order bump product ID on the page exactly once (read them with list_order_bumps). Returns the reordered list. Mutating.

Input Schema

NameRequiredDescriptionDefault
pageIdYesThe ID of the checkout page or event. Use the type you fetched it with (get_checkout_page or get_event).
pageTypeYesThe kind of page the order bump is on: `checkout` for a checkout page, `event` for an event (where order bumps are shown as add-ons).
productIdsYesEvery order bump product ID on the page, each exactly once, in the order to show them.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedOutput schema / $defs / OrderBump / properties / showHideLogic / properties / priceId
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / $defs / OrderBump / properties / showHideLogic / properties / priceIds
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / $defs / OrderBump / properties / showHideLogic / required
      Previous value: -[
      -  "enabled",
      -  "subject",
      -  "comparison",
      -  "priceId",
      -  "ticketTypeIds",
      -  "orderBumpProductIds"
      -]New value: +[
      +  "enabled",
      +  "subject",
      +  "comparison",
      +  "priceIds",
      +  "ticketTypeIds",
      +  "orderBumpProductIds"
      +]
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, but the description adds a crucial behavioral fact not in the annotations: this is a full-replacement operation requiring the complete ID set exactly once, which is an easy way to lose ordering or drop bumps. It also discloses the return value ('Returns the reordered list') and points at list_order_bumps as the read path. Remaining gaps are minor (no permissions or partial-list error behavior).

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?

Four short sentences with no filler, and the core action is front-loaded before the operational constraint and the sibling pointer. Nothing needs trimming.

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?

Output schema exists, so explaining return values is unnecessary and the single clause 'Returns the reordered list' is sufficient. With 100% schema coverage, one enum parameter and annotations covering the mutation profile, the description covers everything an agent needs to invoke it correctly.

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 productIds field already spells out 'each exactly once, in the order to show them', so the description's 'Send every order bump product ID on the page exactly once' largely restates the schema. It reinforces the completeness constraint but adds no syntax or format meaning beyond what is structured.

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 ('Set the display order of the order bumps') and scopes it to a checkout page or event, which distinguishes it from create_order_bump, update_order_bump and list_order_bumps in the sibling list. An agent can tell immediately that this is a bulk ordering operation rather than a per-bump edit.

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

Usage Guidelines4/5

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

Gives an explicit operational prerequisite: send every order bump product ID on the page exactly once, and read them first with list_order_bumps. The page type variants (checkout vs event) are covered in the schema. What's missing is an explicit 'when not to use' pointer to update_order_bump for single-bump changes, so it falls short of a 5.

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