Skip to main content
Glama

reorder_items

Set the display order of a feature's items. Pass every id from list_items in the new order (for menu_items, the items of one category). Works for booking_services, booking_staff, booking_categories, loyalty_rewards, form_questions, pdf_documents, gallery, trade_jobs, faqs, team_directory, speakers, agenda, sponsors, membership_fees, menu_items, menu_categories, digital_menu_items, digital_menu_categories, content_page_sections, homepage_banners.

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": {
      "appId": "<appId>",
      "feature": "<feature>",
      "ids": "<ids>"
    },
    "name": "reorder_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
appIdYes
formIdNo
pageIdNo
featureYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two important behaviors: the operation is a full replacement (you must pass every id) and ordering is scoped per category for menu_items. It omits permissions/auth requirements, what happens if ids are missing or incomplete, and whether omissions are silently dropped or rejected.

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 purpose is front-loaded in the first sentence, and the remaining two clauses are dense but functional. The 20-item feature enumeration is long yet serves as the de facto allowed-value list, so it earns its place even if it could be formatted more compactly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with five parameters, three required, zero annotation coverage, and no output schema, the description is thin. It never addresses the conditional role of formId/pageId, the meaning of appId, failure modes for mismatched or partial id lists, or what the tool returns, leaving real gaps an agent must guess at.

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 0%, so the description must compensate. It meaningfully explains ids (all ids in the new order) and feature (via the explicit enumeration of valid values), but leaves appId, formId, and pageId entirely unexplained, including when formId or pageId become required (e.g., form_questions, content_page_sections). Partial compensation only.

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 first sentence states a specific verb and resource ('Set the display order of a feature's items'), and the enumerated feature list effectively shows which resources are in scope, implicitly excluding pages (handled by the sibling reorder_pages). An agent can identify the operation 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 Guidelines4/5

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

The description gives concrete calling guidance: pass every id from list_items in the new order, and for menu_items only pass the items of one category. It points at list_items as the source of ids, which is the key prerequisite. It stops short of explicit when-not-to-use guidance or naming reorder_pages as the alternative for page ordering.

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