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

crypto-payment-gateway-farsi

by plilian

ساخت فاکتور شارژ اعتبار خدماتی

theypaid_topup_credit

Create a real TheyPaid credit top-up invoice after confirming the amount and asset, then return the invoice for payment.

Instructions

از مسیر شارژ اعتبار خود TheyPaid فاکتور واقعی می‌سازد. پس از تأیید مبلغ و دارایی توسط کاربر اجرا کنید؛ سپس فاکتور برگشتی TheyPaid را برای پرداخت در اختیار او بگذارید.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amountInTether": "<amountInTether>",
      "asset": "<asset>",
      "confirm": "<confirm>"
    },
    "name": "theypaid_topup_credit"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetYes
confirmYes
amountInTetherYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 usefully discloses that this creates a real invoice, requires prior user confirmation of amount and asset, and yields a payable invoice back to the user. It omits permissions/auth requirements, whether the top-up actually debits funds, idempotency, and failure behavior, leaving notable gaps for a mutation tool.

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?

Two tight sentences, front-loaded with the action and scope, followed by the execution precondition and handoff step. No filler or redundant restatement of the title.

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 mutation tool with no annotations and no output schema, the description covers the core flow and even hints at the return value (the payable invoice). However, it leaves auth requirements, idempotency, and the meaning of the 'confirm' flag unaddressed, so it is only adequately complete.

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 0%, so the description must compensate. It references the two business-meaningful inputs (amount and asset, both needing user confirmation), which helps, but says nothing about the required 'confirm' boolean, the asset enum values, or the amount bounds. Partial compensation only.

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 states a specific verb ('می‌سازد' – creates) and resource ('فاکتور' – invoice) and scopes it to the credit top-up path ('از مسیر شارژ اعتبار'), which meaningfully separates it from siblings like theypaid_create_invoice. It is clear but does not explicitly name or contrast with that closest sibling.

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?

It gives an explicit precondition ('پس از تأیید مبلغ و دارایی توسط کاربر اجرا کنید') and a post-step (hand the returned invoice to the user for payment), which is strong usage context. It stops short of naming when NOT to use it or pointing to alternatives such as theypaid_create_invoice or theypaid_create_payment_link.

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