Skip to main content
Glama

reorderRoomPhotos

Change the display order of a room's photo gallery. fileNames must be the FULL current gallery (same set, just reordered) — call getMyStayRooms first. Requires NOMADSTAYS_MCP_AGENT_TOKEN.

Input Schema

NameRequiredDescriptionDefault
roomIdYesThe room's EntryID
stayIdYesThe Stay's EntryID
roomAreaYes'photos' for the regular room gallery, 'workspace' for the room's coworking gallery
fileNamesYesThe complete gallery file names in the new desired order — must match the current set exactly (call getMyStayRooms first)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations establish it is a non-read-only, non-destructive, closed-world write. The description adds meaningful context beyond that: a required auth token (NOMADSTAYS_MCP_AGENT_TOKEN) and the fact that the full gallery set must be supplied. It does not say what happens if the set does not match, but the added auth and ordering semantics are substantive.

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 short clauses, front-loaded with the action, then the key constraint, then the auth requirement. Every sentence carries information an agent needs; nothing is padding.

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 four-parameter mutation with no output schema and full schema coverage, the description covers the prerequisite lookup, the ordering constraint, and the auth gate. The only gap is error behavior when fileNames does not match the current set.

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 100%, so baseline is 3; fileNames and roomArea are already fully documented in the schema. The description reinforces the 'FULL current gallery' meaning of fileNames, but adds no new format or syntax details for stayId/roomId/roomArea.

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?

States a specific verb and resource ('Change the display order of a room's photo gallery'), which is enough to tell it apart from reorderStayPhotos at the gallery level. It does not explicitly name the stay-level sibling or contrast the two scopes, so sibling differentiation is implied rather than stated.

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 a concrete prerequisite ('call getMyStayRooms first') and an operational constraint (fileNames must be the FULL current gallery, same set, just reordered) that effectively rules out add/remove use cases. No explicit when-not guidance against deleteRoomPhoto or uploadStayPhoto, but the context is clear.

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.