Skip to main content
Glama

Danh sách chuyến

list_bookings
Read-only

Retrieve account bookings filtered by status, creation date range, or partner reference ID to support lookup and reconciliation.

Instructions

Liệt kê chuyến của tài khoản, lọc theo trạng thái, khoảng thời gian tạo hoặc partner_reference_id. Dùng cho tra cứu và đối soát.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_bookings"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNo
statusNo
created_toNoISO 8601 kèm múi giờ, ví dụ 2026-12-05T19:30:00+07:00
created_fromNoISO 8601 kèm múi giờ, ví dụ 2026-12-05T19:30:00+07:00
partner_reference_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the account-level scoping constraint, which is genuinely useful, but says nothing about pagination defaults, result ordering, or volume limits for a filterable list endpoint. Given annotation coverage this is adequate but thin.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the resource/scope first and the filter list second, then the use case. No filler, though the second sentence is generic enough that it earns little.

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?

A read-only, six-parameter, paginated list tool with no output schema and mostly undocumented parameters needs the description to at least explain paging and what a result row contains; it does neither. It is complete enough to call correctly on the filter side but leaves gaps on pagination and return shape.

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 only 33%: created_from and created_to carry ISO 8601 notes, while page, limit, status, and partner_reference_id are undocumented. The description names the three filter dimensions, which maps to the filter params, but adds no semantics for status values, partner_reference_id format, or page/limit behavior, so it only partly compensates.

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?

"Liệt kê chuyến của tài khoản" gives a specific verb (list) and resource (bookings) plus the account scope, and enumerates the filter dimensions. It is clear what the tool does, though it never contrasts itself with siblings such as get_booking or cancel_booking.

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

Usage Guidelines3/5

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

"Dùng cho tra cứu và đối soát" supplies a usage context (lookup and reconciliation) but stops short of saying when to prefer this over get_booking for a single record or how it relates to the other list_* tools. Guidance is implied rather than explicit.

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