Skip to main content
Glama

cancel_reservation

Cancel Hertz car rental reservations using confirmation number and last name. Free cancellation available up to 24 hours before pickup.

Instructions

Cancel an existing Hertz reservation. Free cancellation is available up to 24 hours before pickup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmation_numberYes
last_nameYes
reasonNoOptional cancellation reason
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the free cancellation policy, which is valuable context beyond basic functionality. However, it doesn't address other important behavioral aspects like whether cancellation is reversible, what confirmation is provided, or potential fees outside the 24-hour window, leaving significant gaps.

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 perfectly concise with two sentences that each serve distinct purposes: the first states the core function, the second provides critical usage context. There's no wasted verbiage, and information is front-loaded appropriately.

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?

Given the tool's complexity (a destructive operation with no annotations and no output schema), the description provides basic purpose and timing context but lacks crucial information about return values, error conditions, authentication needs, and complete parameter documentation. It's minimally adequate but has clear gaps for a cancellation 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 only 33% (only the 'reason' parameter has a description), and the tool description adds no parameter information beyond what's in the schema. For a tool with 3 parameters where 2 are completely undocumented in both schema and description, this is inadequate compensation for the low coverage.

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?

The description clearly states the specific action ('Cancel') and target resource ('an existing Hertz reservation'), distinguishing it from siblings like 'modify_reservation' or 'create_reservation'. It provides a precise verb+resource combination that leaves no ambiguity about the tool's function.

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 includes explicit timing guidance ('Free cancellation is available up to 24 hours before pickup'), which helps determine when to use this tool. However, it doesn't specify alternatives (e.g., when to use 'modify_reservation' instead) or mention prerequisites like authentication requirements, which would elevate it to a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/markswendsen-code/mcp-hertz'

If you have feedback or need assistance with the MCP directory API, please join our Discord server