Skip to main content
Glama

Confirm a row's payment arrived

confirm_payment

No money moves through LivePage: the viewer pays by scanning your own collection QR code straight into your own account, and the platform never places an order, collects or transfers funds. This tool only records a “payment confirmed by the publisher” timestamp on one row. Mark one viewer submission as “payment confirmed by the publisher”. When a form carries an amount (set_form with amount), the viewer sees your business collection QR code after submitting, plus an “I have paid” button — that is only the viewer saying so, never a payment result. Once you have checked the money in your own WeChat Pay / Alipay statement, confirm it here; next time that viewer opens the page they see “the publisher confirmed receiving your payment”, visible only on their own row and to no other visitor. Get row_id from list_data_rows, which prints the amount and payment state for every row. The viewer does not have to press “I have paid” first: confirming straight from your statement is fine. This records a timestamp only — it does not change the row's moderation status (use set_data_row_status for approved / held) and does not change the amount.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
row_idYes用 list_data_rows 拿到的 row_id
proposal_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, idempotentHint=false, destructiveHint=false. The description adds substantial context beyond that: no funds move, only a timestamp is written, moderation status and amount are untouched, the confirmation is visible only on the viewer's own row, and the 'I have paid' button is not a payment result. That is exactly the behavioral detail an agent needs for a payment-adjacent mutation.

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

Conciseness3/5

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

It is front-loaded with a long anti-fraud disclaimer rather than the operation itself, and the 'records a timestamp only' point is restated near the end. Most sentences do earn their place, but the length and repetition cost it.

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?

No output schema exists and the tool is a small two-parameter mutation, and the description covers side effects, visibility, and the meaning of the confirmation well. The main gap is proposal_id's semantics and any warning about repeated confirmation (idempotentHint=false), which it never addresses.

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 50%: row_id is documented in the schema, proposal_id is not. The description compensates for row_id by directing the agent to list_data_rows, but says nothing about proposal_id's meaning or source. Partial compensation only, so the baseline 3 is right.

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: it records a 'payment confirmed by the publisher' timestamp on one row, and explicitly distinguishes itself from set_data_row_status and set_form. An agent can tell exactly what this does and does not do without opening the schema.

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

Usage Guidelines5/5

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

Explicit about when to use it (after checking the money in your own WeChat Pay/Alipay statement), where to get the identifier (list_data_rows), and clarifies that the viewer need not press 'I have paid' first. It also names the alternative tool for a different job (set_data_row_status for moderation).

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