Poligon WebMCP — wyszukiwanie i zakup biletów lotniczych dla agentów AI. (Flight search and purchase for AI agents)
WebMCP Airline demonstrates solid tool design with consistent naming (verb_noun pattern), complete JSON schemas via Zod, and structured output. All 7 tools have descriptions and input schemas. However, parameter descriptions are minimal (many lack context on format/constraints), output schemas are not formally documented, and error handling lacks recovery guidance. Tool composition is clean (single responsibility), but some descriptions could be more LLM-optimized per the 50-200 char baseline.
Finalizes the ticket purchase (mock). Requires a complete booking and user confirmation.
Returns the current booking and total price broken down by passenger type.
Returns flight details by identifier.
Finds airports by city, country, or IATA code.
Searches for flights; supports one-way, round-trip, and multi-city via a list of segments.
Selects a flight for the given segment (builds the draft booking).
Sets passenger details (first name, last name, date of birth).
Output schemas not formally documented. Tools return structured content (e.g., { airports: hits }, { segments: perSegment }) but LLMs cannot see the expected response shape. This forces agents to infer field names and types from examples.
Error messages lack recovery guidance. Failures return plain text (e.g., 'No flight found with id=...') without suggesting next steps. Per pattern:recovery-guide, errors should guide the LLM: 'No flight found. Try search_flights() first.'
Destructive tool (book_flight) lacks confirmation/dry-run pattern. The tool accepts a paymentToken and finalizes purchase without a confirmation step. Agents can accidentally book flights. Per pattern:confirmation-request, irreversible operations should support user confirmation.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 62 | 2025-06-18+ | v2 |
Parameter descriptions are sparse. E.g., 'query' in search_airports lacks format guidance ('City name, IATA code (3 letters), or country name').
Tool descriptions lack dependency hints. E.g., select_flight does not mention 'Call search_flights() first to get valid flightIds.' This forces agents to discover the workflow via trial-and-error.