Skip to main content
Glama

updateStayOrganisationalData

Update a Stay's organisational data: address, check-in/out policy, pets/children/parking, cancellation policy, accommodation type, tourism/land-registration numbers, 'Why Choose Us' reasons, and more. Only fields supplied are changed. IMPORTANT: countryId, petsAllowedId, childrenAllowedId, parkingId, cxPolicyId, and stayTypeId are lookup IDs, NOT plain text or booleans — call getCountryOptions / getAdditionalInformationOptions / getCancellationPolicyOptions / getStayTypeOptions first to find the correct ID to send. Requires an MCP agent token scoped to the owning account.

Input Schema

NameRequiredDescriptionDefault
cityNo
stateNo
geoLatNoMap pin latitude
geoLngNoMap pin longitude
stayIdYesThe Stay's EntryID
addressNo
reason1NoFirst 'Why Choose Us' reason shown to guests
reason2No
reason3No
postCodeNo
checkInToNo
countryIdNoA country ID from getCountryOptions — NOT a country name.
parkingIdNoAn optionId from getAdditionalInformationOptions(filterName='Parking') — NOT a boolean.
checkOutToNo
cxPolicyIdNoA cxPolicyId from getCancellationPolicyOptions.
stayTypeIdNoA stayTypeId from getStayTypeOptions.
totalRoomsNo
checkInFromNo
fullPaymentNoWhether guests must pay in full up front (vs. pay on arrival). Only settable if the Stay's country allows it — check fullPaymentAllowedByCountry from getMyStayOrganisationalData first; writing true when the country doesn't allow it will be rejected.
checkOutFromNo
earlyCheckInNo
lateCheckoutNo
petsAllowedIdNoAn optionId from getAdditionalInformationOptions(filterName='Pets Allowed') — NOT a boolean.
tourismNumberNo
receiveReviewsNo
childrenAllowedIdNoAn optionId from getAdditionalInformationOptions(filterName='Children Allowed') — NOT a boolean.
customCxPolicyLinkNo
registeredBusinessNoWhether the Stay is officially registered for tourism/lodging
landRegistrationNumberNo
checkinLocationWhat3WordsNowhat3words location for guest check-in

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only cover the safety profile (not read-only, non-destructive), and the description adds substantial behaviour: ID-vs-text lookup requirements for six fields, the rejection behaviour for fullPayment when the country disallows it, and the auth requirement ('MCP agent token scoped to the owning account'). This is meaningful context an agent cannot derive from the annotations.

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?

Four sentences, each load-bearing: scope, partial-update rule, the IMPORTANT lookup warning, and the auth note. The first sentence is a long field list, but the critical warning is emphasised ('IMPORTANT') and not buried; minor trimming of the field enumeration would tighten it further.

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 30-param mutation tool with no output schema, the description covers change semantics, dependent lookup calls, country-gated field restrictions, and auth scope. Remaining gaps are only low-stakes formatting details (date/time string formats) and, since no output schema exists, no indication of what is returned.

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?

With only 43% schema coverage across 30 params, the description carries extra weight, and it does compensate for the hardest cases: it identifies countryId, petsAllowedId, childrenAllowedId, parkingId, cxPolicyId and stayTypeId as lookup IDs and names the exact source call for each. Many remaining string/date params (checkInTo/checkOutTo formats, city/state/postCode) are still undocumented in both places, keeping it below 5.

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 ('Update a Stay's organisational data') and then enumerates the exact field families it governs (address, check-in/out policy, pets/children/parking, cancellation policy, accommodation type, registration numbers, 'Why Choose Us'). This implicitly separates it from updateStayDetail/updateStayFacilities/updateStayContacts, but no sibling is named explicitly, so it stops 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 strong context: partial-update semantics ('Only fields supplied are changed') and a prerequisite workflow telling the agent to call getCountryOptions/getAdditionalInformationOptions/getCancellationPolicyOptions/getStayTypeOptions before constructing certain fields, plus the schema-side requirement to check fullPaymentAllowedByCountry first. It lacks an explicit 'use X instead of this tool when...' exclusion, so it is a solid 4 rather than 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.