Skip to main content
Glama

get_chargeback_defense_for_booking

Read-only

Generate a chargeback defense packet for a payment dispute on a vacation rental booking. Includes verified evidence of guest consent, check-in documentation, and interaction history. Pass booking_id (UUID), optional dispute_id, and disputed amount in cents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoDisputed amount in cents
booking_idYesBooking UUID
dispute_idNoDispute ID (if available)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false, establishing the safe read-only nature. The description adds that the packet includes verified evidence of guest consent, check-in documentation, and interaction history, which is useful output context, but it does not disclose response format, pagination, or service-side behavior.

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?

The description is two sentences, front-loaded with the primary action and output, and contains no fluff. Every sentence contributes useful information about what the tool does and how to invoke it.

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?

Without an output schema, the description partially explains what the defense packet contains (verified evidence of guest consent, check-in documentation, interaction history), but it does not specify the response format or any prerequisites. It is adequate for a generation tool but lacks details on the packet structure or how the evidence is presented.

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%, and the description restates the three parameters. It adds that booking_id is a UUID and dispute_id is optional, while the schema already mentions 'Disputed amount in cents'. The added value is minimal beyond the structured schema.

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 clearly states the tool generates a chargeback defense packet for a payment dispute on a vacation rental booking, specifying the resource and action. However, it does not distinguish this from the sibling tool 'get_dispute_defense_packet_for_booking' which likely serves a nearly identical purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No explicit guidance is provided on when to use this tool versus alternatives like get_dispute_defense_packet_for_booking or predict_booking_chargeback_probability. The context of a payment dispute is implied but no exclusions or alternative recommendations are given.

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