Skip to main content
Glama

deleteRoomPhoto

Destructive

Delete one photo from a room's gallery. Call getMyStayRooms first to find the exact fileName. Requires NOMADSTAYS_MCP_AGENT_TOKEN.

Input Schema

NameRequiredDescriptionDefault
roomIdYesThe room's EntryID
stayIdYesThe Stay's EntryID
fileNameYesThe exact file name from getMyStayRooms
roomAreaYes'photos' for the regular room gallery, 'workspace' for the room's coworking gallery

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 already declare destructiveHint=true and readOnlyHint=false, so the destructive nature is covered. The description adds value beyond that: the authentication requirement (NOMADSTAYS_MCP_AGENT_TOKEN) and the mandatory discovery step before deletion. It stops short of saying whether deletion is reversible or what happens on a bad fileName, but it meaningfully extends the annotation set.

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?

Two sentences, zero filler, and the destructive action plus its prerequisite are front-loaded. Every clause earns its place.

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 destructive 4-parameter tool with full schema coverage, annotations covering safety, and no output schema needed, the description supplies the two things structured data cannot: the auth requirement and the correct call order. Adequate and self-contained.

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%, with roomArea's photos/workspace distinction and the fileName provenance already documented in the schema itself. The description's mention that fileName comes from getMyStayRooms largely restates the schema text, so the baseline 3 applies.

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 with clear scope: 'Delete one photo from a room's gallery.' The room-vs-stay boundary is implied but never contrasted with the sibling deleteStayPhoto, so an agent must infer which one applies. Clear, but no explicit sibling differentiation.

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 prerequisite workflow (call getMyStayRooms first to obtain the exact fileName), which is real ordering guidance rather than inference. It does not state when-not to use it or contrast with deleteStayPhoto, but the positive guidance is concrete and actionable.

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.