Skip to main content
Glama

alipay_verify_notify

Verify Alipay async notification signatures by passing all callback parameters including sign, and return whether the notification is valid.

Instructions

支付宝异步通知验签:传入全部回调参数(含 sign),用支付宝公钥校验。返回 {valid:boolean}。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
credNo凭证(可省略,改用环境变量;PEM 字段可直接传 PEM 全文或 .pem 文件路径)
paramsYes回调的全部表单参数

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the verification method (Alipay public key), the required input scope, and the return contract. However, it does not state behavior on verification failure (returns false vs throws), whether the tool is side-effect free, or any other runtime behavior.

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

Conciseness5/5

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

A single compact sentence that front-loads the action and resource, states required inputs, and gives the return shape. No filler or redundancy.

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 low-complexity verification tool with a rich credential schema and an explicit return contract, the description is nearly complete. The main gaps are explicit failure semantics and a note that this is a pure verification operation with no side effects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds meaningful semantics beyond the schema by specifying that all callback parameters must be passed and must include sign, and that verification uses the Alipay public key — which clarifies which credential field matters.

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?

Description uses a specific verb (验签/verify signature), a specific resource (支付宝异步通知/Alipay async notification), and states the return shape {valid:boolean}. This clearly differentiates it from the sibling wechat_verify_callback by platform and notification context.

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?

The description makes the intended use case clear: verify Alipay async callback notifications by passing all callback parameters including sign. It does not explicitly name alternatives or state when not to use it, but the Alipay-vs-WeChat platform context is unambiguous from the description and sibling set.

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