Skip to main content
Glama

reorderStayPhotos

Change the display order of a Stay's listing or workspace photo gallery. fileNames must be the FULL current gallery (same set of files, just reordered) — call getMyStayPhotos first. This only reorders; it cannot add or remove photos. Requires NOMADSTAYS_MCP_AGENT_TOKEN.

Input Schema

NameRequiredDescriptionDefault
areaYesOnly these two areas support reordering
stayIdYesThe Stay's EntryID
fileNamesYesThe complete gallery file names in the new desired order — must match the current set exactly (call getMyStayPhotos first)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the non-destructive nature is covered. The description adds genuinely new context: the NOMADSTAYS_MCP_AGENT_TOKEN auth requirement and the all-or-nothing fileNames constraint, which the annotations do not carry.

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?

Three tight sentences: purpose first, then the operational constraint, then the auth requirement. Every sentence earns its place and nothing is redundant.

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?

No output schema exists, but for a pure reorder operation the description covers prerequisite, constraint, and auth. Nothing an agent needs to invoke it correctly is missing.

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 baseline is 3, but the description stresses the critical semantic that fileNames must be the FULL current gallery with the same set of files, which is the most error-prone aspect of the call. This adds emphasis beyond the schema text.

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 (change the display order) and resource (a Stay's listing or workspace photo gallery), and its scope is clear enough to separate it from getMyStayPhotos and the sibling reorderRoomPhotos. An agent knows exactly what operation this is.

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?

It gives the prerequisite (call getMyStayPhotos first) and the boundary ('only reorders; it cannot add or remove photos'), which routes the agent to uploadStayPhoto/deleteStayPhoto for those needs. No alternative is named explicitly for those add/remove cases, so it stops just 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.