Skip to main content
Glama

update_my_reservation

Idempotent

Actualizează propria rezervare/confirmare (ca invitat) pe un cadou de pe lista altcuiva — de ex. schimbă numărul de adulți/copii care vin, sau mesajul. Funcționează doar pe rezervări proprii; nu poate atinge rezervările altor invitați. Trimite doar câmpurile de schimbat.

Args:
    gift_id: ID-ul cadoului pe care userul are deja o rezervare proprie.
    adults_count: Număr adulți care confirmă prezența.
    children_count: Număr copii care confirmă prezența.
    message: Mesaj/notă atașat rezervării.
    notify_on_changes: Primește notificări dacă se schimbă ora/locul evenimentului.

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": {
      "gift_id": "<gift_id>"
    },
    "name": "update_my_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
gift_idYes
messageNo
adults_countNo
children_countNo
notify_on_changesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so safety is partly covered; the description adds the ownership constraint and the partial-update contract, which matter behaviorally. It does not describe error behavior when no own reservation exists or what the response contains.

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 constraint before the param list, and no sentence is wasted. Slightly redundant in that the intro enumerates the same fields the Args block documents, but the structure is clean and appropriately sized for a 5-param mutation.

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 an idempotent partial-update mutation with no output schema, the definition covers scope, ownership restriction, and every parameter. The main omission is what happens on success or when the guest has no existing reservation, but the calling requirements are otherwise complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: all five parameters are explained, including the meaningful constraint on gift_id ('pe care userul are deja o rezervare proprie') and the boolean semantics of notify_on_changes. This is more than the schema conveys.

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 ('Actualizează propria rezervare/confirmare'), the actor role (guest), and the scope (a gift on someone else's list). It also enumerates the concrete changes possible (adults/children counts, message), so an agent can distinguish it from reserve_gift or cancel_my_reservation without opening any 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?

Explicitly constrains usage: 'Funcționează doar pe rezervări proprii; nu poate atinge rezervările altor invitați' tells the agent when it will fail, and 'Trimite doar câmpurile de schimbat' establishes partial-update semantics. It stops short of naming sibling tools (e.g. cancel_my_reservation, reserve_gift) as alternatives for adjacent cases.

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