Skip to main content
Glama

BankOpenAPI

Danh sách yêu cầu thanh toán

list_payment_requests
Read-only

Liệt kê yêu cầu thanh toán, mới nhất trước. Lọc theo nhóm trạng thái hoặc mã đơn hàng. / List payment requests, newest first, optionally filtered by status group or order ID.

Input Schema

NameRequiredDescriptionDefault
limitNoSố dòng tối đa (1–100, mặc định 20) / Max items (1–100, default 20)
statusNoopen: chờ thanh toán; paid: đã thanh toán; attention: thiếu hoặc thừa tiền; closed: hết hạn hoặc đã hủy / open = awaiting payment, paid, attention = under/overpaid, closed = expired or canceled
orderIdNoLọc đúng mã đơn hàng / Exact order ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description usefully adds the "newest first" ordering, which is behavioral information absent from the schema, but says nothing about pagination, whether more than `limit` results can be retrieved, or what a returned payment request contains.

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 clauses with the resource and sort order front-loaded, followed by filtering capability. The bilingual Vietnamese/English duplication doubles the character count but is a consistent localization convention rather than filler prose.

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?

This is a simple three-parameter read tool with full schema coverage, no required params, and annotations that cover the safety and scope profile. The only meaningful omission is pagination behavior, which the absence of an output schema makes slightly more consequential but not disqualifying.

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 100% and the enum meanings (open/paid/attention/closed) are fully spelled out in the schema, including the under/overpaid nuance. The description only restates that filtering is by status group or order ID, adding no format, matching, or combination semantics beyond what the schema already provides.

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?

The description names a specific verb and resource ("Liệt kê yêu cầu thanh toán") and adds the default sort order ("mới nhất trước"), so an agent immediately knows this is a collection read of payment requests. It does not explicitly contrast with get_payment_request or list_transactions, but the list-vs-single distinction is self-evident from the naming.

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?

"Lọc theo nhóm trạng thái hoặc mã đơn hàng" implies the filtering use case and the word "optionally" signals all filters are optional. However, there is no explicit statement of when to prefer this over get_payment_request (single lookup by ID) or list_transactions, and no guidance on paging through results when the limit is hit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources