Skip to main content
Glama

Change a group's name, contacts or notes

update_group
DestructiveIdempotent

Changes: overwrites one group's name, company, primary contact or guest notes, or adds an internal note; never its dates, cut-off, rooms, rate or terms. Previews first: the first call shows the change and makes nothing. Changes a group's name, company, primary contact or guest notes, or adds an internal note on top. Never its dates, cut-off, held rooms, rate, terms or lock: those stay in the PMS. First call without confirm: a preview, nothing changes; then call again with the same values, confirm true and preview_id. One of the two people the owner named. 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": {
      "group": "<group>"
    },
    "name": "update_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name
groupYesThe group's id (from groups)
notesNoNotes for the group's guests (shown on its booking page)
companyNoCompany or organisation
confirmNotrue to make the change shown in the preview
preview_idNopreview_id from the preview
contact_nameNoPrimary contact's name
contact_emailNoPrimary contact's e-mail
contact_phoneNoPrimary contact's phone
internal_notesNoA note for the hotel's staff only; added on top of the group's internal notes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, readOnlyHint=false and idempotentHint=true, so the safety profile is known. The description adds real value beyond that: the preview-first protocol that makes the destructive flag recoverable, the explicit field-level blast radius ('overwrites ... never its dates, cut-off, held rooms, rate, terms or lock'), and the authorization requirement ('Needs the owner's sign-in'). The phrase 'One of the two people the owner named' is cryptic and does not clearly communicate who may call it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core scope sentence is essentially repeated verbatim: 'Changes: overwrites one group's name, company, primary contact or guest notes, or adds an internal note; never its dates, cut-off, rooms, rate or terms' is restated almost word-for-word in the third sentence. The dangling fragment 'One of the two people the owner named.' is also unclear. The preview mechanics are front-loaded well, but the duplication wastes roughly a third of the text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a ten-parameter destructive mutation with no output schema, the definition covers the essentials: which fields mutate, which are protected, the mandatory preview/confirm handshake, and the auth requirement. Annotations carry the safety hints and the schema carries field-level detail, so nothing critical to correct invocation is missing.

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 and the schema already documents all ten parameters. The description earns a bump by explaining the relationship between confirm and preview_id — that they are only meaningful on the second call after a preview — which the schema lists as separate fields without stating the sequencing contract.

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?

The description names a specific verb and resource and enumerates exactly which fields are changed (name, company, primary contact, guest notes, internal note) plus which are never touched (dates, cut-off, rooms, rate, terms). That makes the operation unmistakable. It does not, however, position itself against the sibling 'group' or other update_* tools, so the differentiation is inferred from field scope 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?

The preview-then-confirm workflow is spelled out concretely: first call without confirm changes nothing, then repeat with the same values plus confirm=true and preview_id. This is actionable sequencing guidance. What is missing is any routing advice — when to use update_group versus group or add_stay_to_group — so the agent gets workflow context but no alternative-selection 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