Skip to main content
Glama
austinlai22

duffel-recovery

by austinlai22

get_offer

Read-only

Refresh an offer's price and availability before recommending it as a recovery option.

Instructions

Refresh one offer's price and availability. Do this before recommending it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offer_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, covering the safety profile. The description adds that the tool refreshes live price/availability and is a prerequisite to recommendation, which is useful but not extensive; no contradiction exists.

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 no filler. The core action is front-loaded and the usage condition is stated clearly. Every sentence earns its place.

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 a simple one-parameter, read-only tool with an output schema, the description is nearly complete: it names the resource, action, and timing. It could add where offer_id comes from or when not to use the tool, but nothing essential is missing.

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?

The schema provides only offer_id as a required string with 0% description coverage, so the description must carry the parameter meaning. It ties offer_id to 'one offer,' but it does not explain where the ID comes from or its format. Adequate for a single obvious identifier, but not richly informative.

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 uses the specific verb 'Refresh' with a clear resource, 'one offer's price and availability,' which distinguishes it from siblings like get_order and book_offer. The singular offer scope and required offer_id make the tool's purpose unambiguous.

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 gives an explicit timing instruction: 'Do this before recommending it.' This tells the agent when to invoke the tool, though it does not enumerate alternative tools or exclusion conditions.

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