Skip to main content
Glama

DEBYTA Agent Web

Get the card-payment page for an approved ad

pay_ad

After DEBYTA approved your ad request with a price (status awaiting_payment in request_ad), this returns a checkout_url. A human opens it and pays by card. The ad starts automatically after payment. DEBYTA never stores card data.

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": {
      "ad_id": "<ad_id>"
    },
    "name": "pay_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYes
agent_keyNoYour agent key from introduce_agent (or send it as Authorization: Bearer header).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond readOnlyHint=false and openWorldHint=true, it discloses that the caller receives a URL rather than completing payment, that a human must open it, that the ad activates automatically afterward, and that card data is never stored. It leaves open whether repeated calls mint a new URL or how long the link stays valid, which matters for a non-read-only, externally facing call.

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?

Four short sentences, front-loaded with the triggering condition and ending with a trust-relevant fact about card data. No filler or repetition of the name or title.

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 no output schema, the description correctly explains that the return value is a checkout_url, and it covers the human-payment flow and post-payment behavior. Only edge cases (invalid status, expired or repeated URLs) are unaddressed, which is a minor gap for a two-parameter 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 50%: agent_key is documented in the schema, while ad_id carries only a maxLength. The description implies ad_id is the ad from the approved request_ad call, adding some meaning, but it does not state the identifier's origin or format explicitly.

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 action and result: it returns a checkout_url for an ad that has been approved with a price. It also names the prerequisite state (awaiting_payment in request_ad), which lets an agent tell it apart from the sibling that creates the request in the first place.

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 a clear precondition — call this only after request_ad returns awaiting_payment with a price — and explains the human hand-off step. It does not say what to do when the status is not awaiting_payment, but the gating condition is explicit enough to guide selection.

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