Skip to main content
Glama

BankOpenAPI

Xem yêu cầu thanh toán

get_payment_request
Read-only

Xem một yêu cầu thanh toán: trạng thái, số tiền đã nhận, giao dịch đã khớp. / Get a payment request with its status and matched transactions.

Input Schema

NameRequiredDescriptionDefault
idYesID yêu cầu thanh toán, dạng pr_… / Payment request ID (pr_…)

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 adds useful behavioral value by naming the returned data (status, amount received, matched transactions) since no output schema exists, but it omits error/not-found behavior and any pagination or expansion options.

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, front-loaded with the action and followed by the returned fields; nothing is padded. Length is doubled by the Vietnamese/English duplication, but that appears to be a house convention rather than filler.

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 single-ID read tool with one fully documented parameter, the definition covers what an agent needs: what it fetches and what comes back. The absence of an output schema is partly offset by enumerating the returned fields, leaving only not-found behavior unspecified.

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?

Only one parameter and schema coverage is 100%, with the schema itself documenting the pr_… pattern. The description adds nothing about the ID beyond what the schema already states, so the baseline 3 applies.

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 opens with a specific verb+resource ("Xem một yêu cầu thanh toán" / "Get a payment request") and enumerates what the response covers (status, received amount, matched transactions). The singular article "một" implicitly distinguishes it from list_payment_requests, though no sibling is named explicitly.

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?

Usage is only implied: fetch one request by ID rather than listing. There is no explicit when-to-use versus list_payment_requests, no prerequisites, and no note on what to do when the record is missing or cancelled (cancel_payment_request is a sibling).

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