Skip to main content
Glama

Tạo trang chọn ngân hàng

create_deeplink_page

Tạo trang /mo-app/ để gửi cho người trả: mở trên điện thoại thì chọn ngân hàng là app mở sẵn giao dịch, trên máy tính hiện mã QR. Cho tài khoản đã liên kết (bankAccountId) hoặc chưa liên kết (transferBankBin + transferAccountNumber). Yêu cầu thanh toán thì dùng hostedUrl có sẵn. / Create a hosted bank-picker page to send to the payer.

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": "create_deeplink_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoSố tiền VND điền sẵn (tùy chọn) / Prefilled amount in VND (optional)
contentNoNội dung chuyển khoản, ≤ 25 ký tự không dấu (tùy chọn) / Transfer content, ≤ 25 ASCII chars (optional)
returnUrlNohttps: đưa người trả về sau khi thao tác trong app (tùy chọn) / https URL to return the payer to (optional)
descriptionNoMô tả hiện cho người trả (tùy chọn) / Description shown to the payer (optional)
bankAccountIdNoTài khoản đã liên kết ba_… nhận tiền (miễn phí) / Linked receiving bank account (free)
transferBankBinNoBIN ngân hàng nhận khi chuyển tới tài khoản CHƯA liên kết (50đ/phiên, trừ vào số dư) / Receiving bank BIN for an unlinked account (50 VND per session)
expiresInMinutesNoThời hạn trang, phút (mặc định 1440) / Page expiry in minutes (default 1440)
transferAccountNameNoTên chủ tài khoản nhận (tùy chọn) / Receiving account holder name (optional)
transferAccountNumberNoSố tài khoản nhận (đi cùng transferBankBin) / Receiving account number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the write, non-idempotent, non-destructive, closed-world profile. The description adds genuinely non-obvious behavior about the generated artifact itself (what the payer sees on phone vs desktop), which annotations cannot convey. It stops short of stating the return value (URL/id) for a tool with no output schema.

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?

The Vietnamese sentence front-loads the resource, the payer-facing behavior, and the two account modes before the English one-liner summary. Kept tight, though the brief English sentence largely repeats what the first sentence already established.

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?

With nine optional parameters and no output schema, the description plus full schema coverage give an agent enough to construct the call. What is thin is the outcome: an agent is not told the response shape (a URL, an id, or expiry metadata), which matters for a link-creation tool.

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 coverage is 100%, so the baseline applies and each parameter is already annotated with meaning and cost. The description does add one thing the schema cannot express: the linked-vs-unlinked grouping (bankAccountId versus the transferBankBin + transferAccountNumber pair), implying mutual exclusivity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (create a hosted /mo-app/<id> bank-picker page to send to the payer) and describes the two end-user experiences: mobile deep-opens the bank app with the transaction prefilled, desktop shows a QR code. This is clearly distinguishable from the payment-request siblings.

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

Usage Guidelines4/5

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

Gives an explicit branch: use bankAccountId for a linked account, or transferBankBin + transferAccountNumber for an unlinked one. It also redirects payment-request needs to the existing hostedUrl, which is an exclusion. The referral is slightly indirect (it names a field, not a sibling tool), so not a full 5.

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