Skip to main content
Glama

deleteStayPhoto

Destructive

Delete one photo from a Stay. Call getMyStayPhotos first to find the exact fileName. Requires NOMADSTAYS_MCP_AGENT_TOKEN.

Input Schema

NameRequiredDescriptionDefault
areaYesWhich photo area the file belongs to (room photos aren't supported by this tool — manage those via updateStayRoom)
stayIdYesThe Stay's EntryID
fileNameYesThe exact file name from getMyStayPhotos, e.g. '69bdf22cdb0c43a7be3e825a0a3a2074.jpg'

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 safety profile is covered. The description adds value beyond them by disclosing the required auth token (NOMADSTAYS_MCP_AGENT_TOKEN) and the single-file deletion scope. It does not state whether the deletion is permanent or recoverable, which would have earned a 5.

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 sentences, front-loaded with the action, then the prerequisite, then the auth requirement. No filler or redundant restatement of schema content.

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 3-parameter destructive write with no output schema, the description plus annotations cover action, scope, prerequisite lookup, and auth. Coverage is strong; only the irreversibility/consequence of the deletion is left implicit.

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%, so each parameter is already documented, including fileName's provenance and the area enum's room-photo exclusion. The description's instruction to obtain fileName via getMyStayPhotos is a workflow aid rather than new per-parameter meaning, 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 a clear scope constraint: 'Delete one photo from a Stay.' An agent can tell this deletes a single photo rather than reordering or uploading. However, it never names its nearest siblings (deleteRoomPhoto, reorderStayPhotos, uploadStayPhoto) to sharpen the boundary, so it falls short of a 5.

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 getMyStayPhotos first to find the exact fileName.' That reliably routes the agent through the right discovery call before invoking this tool. It stops short of stating when NOT to use it — the room-photo exclusion lives only in the schema's enum description.

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.