An airline assistant agent system that handles flight inquiries, seat bookings, user preferences, and web content fetching using AutoGen agents with MCP tool integrations
This server exhibits significant quality gaps across naming, descriptions, schema clarity, and error handling. Tool names lack consistent verb-first conventions (e.g., 'faq_lookup_tool', 'update_seat_tool', 'files_mcp_tool' use suffixes rather than clear action verbs). Parameter descriptions are minimal or absent for complex types. Critical security issue: the update_seat_tool exposes a RunContextWrapper[AirlineAgentContext] as a parameter, which violates the secret-injection and natural-identifier patterns. Several tools have vague descriptions that fail to explain WHAT, WHEN, and WHY. No output schemas are documented. Error handling is minimal, tools return plain strings without recovery guidance. The server appears to be a demo/prototype rather than production-ready.
Lookup frequently asked questions about bag, seats and wifi.
Provides direct access to local file systems to read, write, and manage files within specified directories.
Get weather information for a city
Update the seat for a given confirmation number.
Lookup user preferences about flight, airline, flight time, foods and past experience
fetch web url content and summarize it
update_seat_tool exposes RunContextWrapper[AirlineAgentContext] as a parameter, violating secret-injection and parameter-safety patterns. Agents will log this complex object; internal context objects should never appear in tool signatures.
No output schemas documented for any tool. LLMs cannot determine what fields to expect or plan downstream tool calls. Files_mcp_tool and webfetch_mcp_tool return unstructured strings ('result.messages[-1].content') instead of structured objects with typed fields.
Tool names lack consistent verb-first conventions. 'faq_lookup_tool', 'update_seat_tool', 'files_mcp_tool', and 'user_memory_tool' use descriptive suffixes rather than clear action verbs (get_, search_, update_). This makes it harder for LLMs to infer intent from the name alone.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 42 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 42 | - | v1 |
files_mcp_tool and webfetch_mcp_tool use free-form 'task' strings instead of structured parameters. LLMs must reason about natural-language intent without constraints, invites hallucinations and errors. No enums, no format specifications, no parameter validation hints.
No error handling or recovery guidance in any tool. Tools return plain strings ('The weather in {city} is sunny', 'I'm sorry, I don't know the answer') without indicating success/failure, retryability, or next steps. LLMs cannot distinguish user-fixable errors from fatal ones.
Parameter descriptions are minimal or missing. 'context' parameter in update_seat_tool has no description beyond the type hint. 'task' parameters in files_mcp_tool and webfetch_mcp_tool have only 1-word descriptions. 'question' in faq_lookup_tool lacks guidance on expected format or scope.
update_seat_tool enforces preconditions via assertions ('assert context.context.flight_number is not None') rather than proper validation and error messaging. If flight_number is missing, the tool raises an unhandled exception instead of returning a clear, actionable error.
files_mcp_tool and webfetch_mcp_tool delegate to external MCP servers (filesystem, fetch) but do not validate availability or handle failures gracefully. If the external server is not running, the tool will timeout or crash without a clear error message.
user_memory_tool uses global mutable state (_user_preference, _past_experience) initialized asynchronously via _load_prefrences(). This is not thread-safe and may cause state inconsistency if multiple requests call the tool concurrently. Tool appears incomplete, the function definition cuts off mid-docstring.