Skip to main content
Glama

Update guests

lemonvite_update_guests
Destructive

Use this when the user wants to edit saved guests on a Lemonvite invitation: a name, email or phone number, the reply recorded for them (rsvp), or how many adults and kids they may bring (max_adults, max_kids). Send up to 50 in one call; only the fields you pass change, and an empty string clears a contact field. Get each invitation_id from lemonvite_list_guests, which finds a guest by name. To use a number or email saved in the host's contact list, look it up with lemonvite_search_contacts and pass the value here. Changing contact details does not re-send the invitation, but on a published invitation, adding an email or phone to a guest who had none sends the invitation there. Adding a phone to a guest who had none requires host_confirms_sms_consent=true. On a published invitation a new phone can exceed the phone allowance and return payment_required: explain the credits it uses and the larger allowance, and retry with authorized_credits only after the host agrees. If the account is short of credits: Buy the creditsToBuy shortfall with lemonvite_start_checkout without event_id. Each guest gets its own result, so one failure does not stop the others. To add new guests use lemonvite_add_guests; to take someone off the list use lemonvite_remove_guests.

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": {
      "event_id": "<event_id>",
      "guests": "<guests>"
    },
    "name": "lemonvite_update_guests"
  }
}

Input Schema

NameRequiredDescriptionDefault
guestsYesBatch of 1–50 guest updates. Each needs an invitation_id and the fields to change. Omitted fields retain their saved values.
event_idYesLemonvite event_id returned by lemonvite_create_invitation or lemonvite_list_invitations. Identifies the event to act on; not a guest invitation_id or RSVP URL.
authorized_creditsNoMaximum shared account credits the host explicitly agreed to spend across this entire request. Default 0: return payment_required without spending. Explain the credits used and the increased phone allowance, and obtain confirmation before setting this.
host_confirms_sms_consentNoSet true only when the host confirms the guest agreed to receive SMS about this event. Required when adding a phone number to a guest who had none.

Output Schema

NameRequiredDescriptionDefault
failedYes
resultsYes
updatedYes
credits_usedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / guests / items / properties / max_adults
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 20,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The most adults this guest may bring, counting the guest (0–20). null removes the limit; omit to keep it."
      +}
    • addedInput schema / properties / guests / items / properties / max_kids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 20,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The most kids this guest may bring (0–20). null removes the limit; omit to keep it."
      +}
    • addedInput schema / properties / guests / items / properties / rsvp
      Added value: +{
      +  "description": "Record this guest's reply on their behalf. Send the status and both counts together; a going or maybe party needs at least one person. Omit to leave the reply as it is.",
      +  "properties": {
      +    "adults": {
      +      "description": "Adults in the party, counting the guest. Use 0 for declined or pending.",
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "kids": {
      +      "description": "Kids in the party. Use 0 for declined or pending.",
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "status": {
      +      "description": "pending = awaiting reply, attending = going, declined = not going, maybe = tentative.",
      +      "enum": [
      +        "pending",
      +        "attending",
      +        "declined",
      +        "maybe"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "adults",
      +    "kids"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / authorized_credits / description
      Previous value: -"Maximum shared account credits the host explicitly agreed to spend across this entire request. Default 0: return payment_required without spending. Explain the cost and increased phone allowance and obtain confirmation before setting this."New value: +"Maximum shared account credits the host explicitly agreed to spend across this entire request. Default 0: return payment_required without spending. Explain the credits used and the increased phone allowance, and obtain confirmation before setting this."
  3. Changed4 schema fields changed
    • addedInput schema / properties / authorized_credits
      Added value: +{
      +  "default": 0,
      +  "description": "Maximum shared account credits the host explicitly agreed to spend across this entire request. Default 0: return payment_required without spending. Explain the cost and increased phone allowance and obtain confirmation before setting this.",
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / credits_used
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / results / items / properties / payment_required
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "creditsToBuy": {
      +      "type": "number"
      +    },
      +    "maxInvitations": {
      +      "type": "number"
      +    },
      +    "maxPhoneInvitations": {
      +      "type": "number"
      +    },
      +    "requiredCredits": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "requiredCredits",
      +    "creditsToBuy",
      +    "maxPhoneInvitations",
      +    "maxInvitations"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "updated",
      -  "failed",
      -  "results"
      -]New value: +[
      +  "updated",
      +  "failed",
      +  "credits_used",
      +  "results"
      +]
  4. Changed7 schema fields changed
    • addedInput schema / properties / event_id / description
      Added value: +"Lemonvite event_id returned by lemonvite_create_invitation or lemonvite_list_invitations. Identifies the event to act on; not a guest invitation_id or RSVP URL."
    • addedInput schema / properties / guests / description
      Added value: +"Batch of 1–50 guest updates. Each needs an invitation_id and the fields to change. Omitted fields retain their saved values."
    • addedInput schema / properties / guests / items / properties / email / description
      Added value: +"Guest email address, e.g. alex@example.com, up to 320 characters. Omit on update to keep it; an empty string clears it."
    • addedInput schema / properties / guests / items / properties / invitation_id / description
      Added value: +"Guest invitation_id returned by lemonvite_list_guests for this event; not the event_id."
    • addedInput schema / properties / guests / items / properties / name / description
      Added value: +"Guest display name, up to 200 characters. Omit on update to keep the saved name; an empty string clears it."
    • addedInput schema / properties / guests / items / properties / phone / description
      Added value: +"Guest phone number, up to 32 characters; E.164 preferred, e.g. +15551234567. Omit to keep it; an empty string clears it."
    • changedInput schema / properties / host_confirms_sms_consent / description
      Previous value: -"Required when an update ADDS a phone number to a guest who had none"New value: +"Set true only when the host confirms the guest agreed to receive SMS about this event. Required when adding a phone number to a guest who had none."
  5. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and idempotentHint=false, and the description adds substantial behavior beyond that: partial-update semantics, empty string clearing a contact field, per-guest partial success, re-send behavior on published invitations when a contact is added, SMS consent requirement, and the payment_required credit-retry path. The only minor gap is that it does not characterize the per-guest result payload in any detail (the output schema covers this).

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-loaded with purpose and editable fields, then proceeds through prerequisites, side effects, consent, payment failure, and sibling routing in a logical order, with every sentence carrying operational content. It is dense and somewhat long, with mild redundancy against the schema (50-item cap, empty-string clearing), but nothing is wasted.

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?

Given an output schema exists, return values need not be described; everything an agent needs to call correctly is present — id sourcing, batch limits, field-level update semantics, consent requirements, credit/payment failure handling, and partial-failure behavior.

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 every parameter is already documented in the schema, including empty-string clearing, batch limits, credit authorization, and SMS consent. The description largely restates these in prose and sequences the credit flow, which adds convenience but little meaning the schema lacks; baseline 3 applies.

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 ('edit saved guests on a Lemonvite invitation') and enumerates exactly which fields are editable (name, email, phone, rsvp, max_adults, max_kids). It also names the sibling tools that handle adjacent operations (add/remove guests), so the agent can distinguish it 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use it, when not to ('To add new guests use lemonvite_add_guests; to take someone off the list use lemonvite_remove_guests'), and where prerequisites come from (invitation_id from lemonvite_list_guests, contact values from lemonvite_search_contacts). It further gates risky paths behind host consent and confirmation, which is real routing 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