Skip to main content
Glama
crypto-payment-gateway-farsi

crypto-payment-gateway-farsi

by plilian

بررسی وضعیت پرداخت در TheyPaid

theypaid_check_payment

Re-checks a TheyPaid invoice status and confirms payment only when it is PAID, optionally comparing expected asset and amount against the invoice.

Instructions

وضعیت فاکتور را دوباره از TheyPaid می‌خواند. فقط وقتی پاسخ PAID باشد پرداخت را تأییدشده اعلام کنید. در صورت ارسال، دارایی و مبلغ مورد انتظار نیز با فاکتور مقایسه می‌شوند.

Input Schema

NameRequiredDescriptionDefault
invoiceIdYes
expectedAssetIdNo
expectedAmountInTetherNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 disclosure burden. It usefully reveals that the status is fetched fresh from TheyPaid and that a PAID response is required before confirming, plus that expected asset/amount are cross-checked — but it omits what happens on mismatch, whether mismatches raise errors or return a flag, and what the tool returns.

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?

Three tight sentences with the action front-loaded and no filler; the confirmation rule follows immediately. Slight deduction because the middle sentence about confirmation and the last about comparison could be merged without loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter read tool with no annotations and no output schema, the description covers purpose and the PAID confirmation rule but not the return shape (status values beyond PAID, mismatch outcome) or error behavior. Adequate but with clear gaps an agent would hit on first invocation.

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 0%, so the description must compensate. It does explain the two optional parameters semantically: if expectedAssetId/expectedAmountInTether are supplied, they are compared against the invoice. However, it leaves the consequence of a failed comparison unspecified, and invoiceId is only implicitly covered by the tool's purpose.

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 first sentence states a concrete verb+resource: it re-reads invoice status from TheyPaid, and it adds the confirmation rule (only PAID counts). However, it never distinguishes itself from sibling tools like theypaid_get_invoice, theypaid_recheck_invoice, or theypaid_wait_for_payment, which an agent could easily confuse with this one.

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?

The description gives a decision rule ('only declare the payment confirmed when the response is PAID'), which implies this is a verification call. But it offers no explicit guidance on when to choose this over recheck_invoice, get_invoice, or wait_for_payment, nor whether it should be polled repeatedly or called once.

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