Skip to main content
Glama

cancel_my_reservation

DestructiveIdempotent

Anulează propria rezervare/confirmare (ca invitat) de pe un cadou de pe lista altcuiva. Funcționează doar pe rezervarea proprie a userului.

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": "cancel_my_reservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
gift_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, and openWorldHint=false, so the safety profile (destructive, idempotent, closed-world) is covered. The description adds the auth-scope constraint ('doar pe rezervarea proprie'), which is useful context beyond annotations, but doesn't explain what gets destroyed or the response shape.

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

Conciseness5/5

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

Two short sentences with zero waste: the core action is front-loaded in sentence one, and the ownership constraint follows immediately. Nothing is redundant.

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

Completeness3/5

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

With one parameter, no output schema, and annotations covering the destructive/idempotent profile, the description is close to complete. However, it omits any meaning for gift_id (0% schema coverage) and doesn't clarify return/error behavior, leaving gaps for a mutation tool.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for the single undocumented gift_id parameter. It doesn't explain what gift_id refers to (the gift being reserved), its format, or any constraints, leaving the agent to infer meaning from the name alone.

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 (cancel) and resource (own reservation/confirmation on someone else's gift list) and explicitly scopes it to the user's own reservation. This distinguishes it from siblings like unreserve_gift or update_my_reservation, making the action clear without opening the 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?

The description says it works only on the user's own reservation, implicitly excluding canceling others' reservations. It doesn't name a specific alternative sibling (e.g., unreserve_gift) or state when to prefer one over the other, so it stops short of full when/when-not 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