Skip to main content
Glama

Take a stay off its group

remove_stay_from_group

Takes a stay off its group (the undo of add_stay_to_group): its nights go back to its own folio, with tax if the group's exemption had removed it. rate: before (its rate before it joined) or keep (the rate it has now). First call without confirm: a preview, nothing changes; then call again with the same values, confirm true and preview_id. Owner only. Needs the owner's sign-in.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "confirmation": "<confirmation>",
      "rate": "<rate>"
    },
    "name": "remove_stay_from_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateYesIts rate before it joined, or the rate it has now
reasonNoWhy, in the owner's words
confirmNotrue to make the change shown in the preview
preview_idNopreview_id from the preview
confirmationYesThe stay's confirmation number
release_roomNotrue to give back one held room of its type (the undo of grow_block), when no other stay needs it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description goes well beyond them by revealing the preview-then-commit protocol, that the first call changes nothing, the folio/tax side effects, and the Owner-only authorization plus sign-in requirement. This is exactly the operational context an agent needs before invoking a mutation.

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?

Front-loads the action and its inverse, then covers rate options, the preview protocol, and permissions in a tight sequence. Semicolon-chained clauses make it slightly dense, but every sentence carries information.

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 six-parameter mutation with no output schema, the definition covers side effects, the confirmation handshake, and the authorization requirement. It does not describe what the preview response looks like (how the agent learns preview_id's effects), which is the only meaningful gap.

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 the baseline is 3, but the description adds the meaning of the rate enum ('before' vs 'keep') and, more importantly, the sequencing semantics of confirm and preview_id that the schema describes only in isolation. The reason and release_room parameters are left to the schema, which already documents them adequately.

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 and resource ('Takes a stay off its group') and explicitly frames it as the inverse of the named sibling add_stay_to_group. The effect on the folio and tax exemption is spelled out, so an agent can distinguish it from group-editing siblings without opening a schema.

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?

Clearly positions the tool as the undo of add_stay_to_group and prescribes the exact two-call sequence: preview first, then re-call with identical values plus confirm=true and preview_id. It gives no explicit 'do not use when' case (e.g. moving a stay to another group rather than off one), so it stops short of full exclusion guidance.

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.

Resources