Skip to main content
Glama

Server Details

Agent-native crypto ads: reach real crypto users from $0.05, paid in USDC via x402. No account.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A3.6/5.0

Scored across 29 tools

Disambiguation4/5

Most tools map cleanly to a distinct resource and action, and the sandbox/credential/conversion flows are each split into clearly named steps. The main overlap is archive_ad versus end_ad, which both terminate an ad with near-identical 'cannot be started again' wording and are only distinguished by ad format, and create_account/buy_ad_credit/create_ad all create accounts, which takes careful reading to separate.

Naming Consistency5/5

Every tool follows a strict snake_case verb_noun pattern (create_/get_/list_/update_/pause_/resume_/archive_/end_/approve_/reject_/rotate_/revoke_). Verb choice is semantically meaningful and consistent across resource families, e.g. list_ad_conversions, list_ad_events, list_ad_formats, list_ads.

Tool Count3/5

At 29 tools this is heavy, but the domain genuinely spans ad lifecycle, performance conversions, event credentials, sandbox testing, and payments, and almost every tool maps to a real operation. The count is at the upper bound of what the surface justifies, with a couple of near-duplicates (archive_ad/end_ad) that could be merged.

Completeness4/5

Coverage is strong: full ad lifecycle (quote, create, get, list, update, pause, resume, archive/end, top-up, stats), conversion review, credential lifecycle, balance and formats catalog. Minor gaps remain, notably video upload being only an HTTP endpoint rather than a tool, and no way to inspect a single conversion or event credential in detail beyond the list views.

Available Tools

29 tools
approve_conversionApprove a held conversionA
Idempotent
Inspect

Performance ads. Approves a conversion that is on hold before its hold ends, which releases its payout to the promoter. It cannot be undone.

Inputs: ad_id (required), conversion_id (required), api_key.

archive_adEnd an adA
DestructiveIdempotent
Inspect

Ends an ad for good (Banner, Native, Paid Visits). What it has not spent returns to the balance. It cannot be started again.

Inputs: ad_id (required), api_key.

buy_ad_creditBuy prepaid ad creditA
Idempotent
Inspect

Buys prepaid ad credit at a fixed price: amount_usd in USDC, 1 USDC = $1.00 of credit (for example 1, 5, 10, 25, 50, 100). The first call returns isError with the x402 PaymentRequired object; call again with the signed payment. Without an API key the paid result carries api_key: the key of a new account whose balance is the credit, shown once. With an API key the credit is added to that account. Orders placed with the key are then paid from the balance, with no further payment.

Inputs: amount_usd (required), api_key, idempotency_key, payment_signature.

create_accountCreate an empty accountA
Idempotent
Inspect

Creates an anonymous account with a zero balance and returns its API key, shown once. Only needed to upload an image before paying for anything (a Paid Visits ad needs an image or a video); otherwise use buy_ad_credit or create_ad, which create the account with the first payment. A video cannot be uploaded to an account made this way until it has been funded: for a video, start with buy_ad_credit.

Inputs: idempotency_key.

create_adPlace an adA
Idempotent
Inspect

Places an ad order. With an API key whose balance covers the price, it is paid from the balance. Otherwise the result is isError with the x402 PaymentRequired object for the exact price: sign it and call this tool again with the same order and the payment (in _meta["x402/payment"], or as payment_signature). Without an API key the paid result carries api_key, the key of the new account that owns the ad: store it, it is shown once. The ad goes to review; poll get_ad. (The ad of an account the network has marked as trusted is active in this answer.)

Inputs: order (required), api_key, idempotency_key, payment_signature.

create_event_credentialCreate an event-signing credentialAInspect

Performance ads. Creates the credential your server signs its conversion events with, and returns credential.key_id (bpk_...), signing_secret_hex and postback_token. They are shown once: store them. The first step of a Performance ad.

Inputs: label, api_key.

create_sandbox_clickCreate a sandbox test clickAInspect

Performance ads. Mints a test click (click_id, tclk_...) and a draft_key, to prove the integration before an order. Give destination_template (your https landing URL with {click_id}) for a new ad, or ad_id to test an existing one. Then send one signed test event for the click (send_sandbox_event), and order with the draft_key in product_options.draft_key. A verified test event counts for one ad.

Inputs: ad_id, api_key, draft_key, destination_template.

end_adEnd a Performance adA
DestructiveIdempotent
Inspect

Performance ads. Starts the wind-down of an ad: no new promoters, conversions already attributed are still paid, and what is not spent returns to the balance at the final settlement. It cannot be started again.

Inputs: ad_id (required), api_key.

get_adGet an adA
Read-onlyIdempotent
Inspect

One ad of the account: status (in_review, active, paused, rejected, completed, archived), spend, what remains, and the reason if it was rejected.

Inputs: ad_id (required), api_key.

get_ad_statsGet the delivery of an adB
Read-onlyIdempotent
Inspect

Delivery of one ad: totals and a daily series (impressions, clicks, visits, spend).

Inputs: ad_id (required), days, api_key.

get_balanceGet the balanceB
Read-onlyIdempotent
Inspect

The account's balance in USD: available, reserved by ads in review or live, and total.

Inputs: api_key.

get_sandbox_verificationGet sandbox verificationA
Read-onlyIdempotent
Inspect

Performance ads. Whether a signed live test event has arrived for a draft_key (before the order) or for an ad: verified, when, by which transport, and the test events seen.

Inputs: ad_id, api_key, click_id, draft_key.

get_service_infoService and payment infoB
Read-onlyIdempotent
Inspect

What this service is, whether payments are available, and on which networks a payment can be made (USDC, x402), with the smallest and largest payment.

Inputs: no named parameters.

get_videoGet a videoA
Read-onlyIdempotent
Inspect

One video of the account: whether it is still processing, in_review or ready (both can be ordered as video_id of a Paid Visits ad), or failed or rejected, with the reason. A video is uploaded over HTTP, not through a tool: POST the file to /api/v1/videos (see list_ad_formats, video of Paid Visits).

Inputs: video_id (required), api_key.

list_ad_conversionsList the conversions of a Performance adA
Read-onlyIdempotent
Inspect

Performance ads. Conversions and daily revenue-share accruals of an ad, newest first: goal, payout, status (held, approved, paid, rejected) and when a hold ends.

Inputs: ad_id (required), limit, cursor, status, +1 more.

list_ad_eventsList the events of a Performance adA
Read-onlyIdempotent
Inspect

Performance ads. The events your server sent for an ad, newest first, each with what became of it: accepted, or dropped and why.

Inputs: ad_id (required), limit, cursor, api_key, +1 more.

list_ad_formatsList ad formats and pricesA
Read-onlyIdempotent
Inspect

The catalog: every ad format (PTC, Sponsored Listing, Banner, Native, Paid Visits, Performance) with its fields, limits, pricing models, minimum bids, minimum order, image, video and HTML5 banner rules and an example order with its price. Read this before building an order.

Inputs: no named parameters.

list_adsList adsC
Read-onlyIdempotent
Inspect

The account's ads, newest first.

Inputs: limit, before, api_key.

list_event_credentialsList event-signing credentialsA
Read-onlyIdempotent
Inspect

Performance ads. The account's event-signing credentials: id, key_id, status and when each was last used. Never the secrets.

Inputs: api_key.

pause_adPause an adA
Idempotent
Inspect

Pauses an active ad (Banner, Native, Paid Visits). Its budget stays reserved.

Inputs: ad_id (required), api_key.

quote_adQuote an ad orderA
Read-onlyIdempotent
Inspect

Validates an order and returns its exact price in USD with a breakdown. Creates nothing and costs nothing. An invalid order is answered with the code of the problem and the field it is in.

Inputs: order (required).

reject_conversionReject a held conversionA
Idempotent
Inspect

Performance ads. Rejects a conversion while it is on hold: nothing is paid for it and its amount returns to the ad's budget. reject_code is one of duplicate, fraud, bonus_abuse, chargeback, terms_violation, other; other needs a reject_note of 10 to 500 characters.

Inputs: ad_id (required), reject_code (required), conversion_id (required), api_key, +1 more.

resume_adResume an adA
Idempotent
Inspect

Resumes a paused ad: it serves again, within what is left of its budget.

Inputs: ad_id (required), api_key.

revoke_event_credentialRevoke an event-signing credentialB
DestructiveIdempotent
Inspect

Performance ads. Revokes a credential at once: events signed with it are refused from then on. It cannot be undone.

Inputs: credential_id (required), api_key.

rotate_event_credentialRotate an event-signing credentialAInspect

Performance ads. Replaces the secret and the postback token of a credential and returns the new ones, shown once. The old ones keep working for grace_hours (24 unless given, 0 to 168).

Inputs: credential_id (required), api_key, grace_hours.

send_sandbox_eventSend a sandbox test eventAInspect

Performance ads. With key_id and signing_secret_hex (or postback_token) of your credential, signs a test event for a sandbox click and sends it to the live event endpoint: verified true in the answer means the order will be accepted. Without credentials it only simulates the event against goals and verifies nothing. Costs nothing either way.

Inputs: event (required), click_id (required), goals, key_id, +8 more.

top_up_adAdd reward budget to a Performance adA
Idempotent
Inspect

Performance ads. Adds reward budget to an ad; the platform fee is added on top. Paid from the balance, or the result is isError with the x402 PaymentRequired object: sign it and call again with the same arguments, the returned idempotency_key and the payment.

Inputs: ad_id (required), reward_budget_usd (required), api_key, idempotency_key, +1 more.

update_adUpdate a Performance adA
Idempotent
Inspect

Performance ads. Changes an ad: changes takes the fields of an order that are to change (name, landing_url, ad_title, ad_description, targeting, product_options). An edit that changes what promoters are paid for goes to review again; the answer says so in edit.requires_review.

Inputs: ad_id (required), changes (required), api_key.

upload_imageUpload an ad imageA
Idempotent
Inspect

Stores an image for a Paid Visits ad (it needs an image or a video) or a Banner ad (optional; PNG, JPEG or GIF of exactly one banner size, see list_ad_formats) and returns its id, to send as image_id in the order. Needs an API key. A video for a Paid Visits ad is uploaded over HTTP instead: POST the file to /api/v1/videos, then follow it with get_video.

Inputs: image_base64 (required), api_key, idempotency_key.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      x402 Ads lets AI agents buy and verify ad placements with per-request USDC payments. Agents can discover inventory, submit campaign context, receive structured placement options, and pay through x402 without API keys or accounts. Built for autonomous promotion, attribution, and pay-per-action agent commerce.
      7
      132 npm
      1
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      AI Agent Hub is a pay-per-call API platform for AI agents Every call is billed automatically in USDC using the x402 protocol - there is no API key, no account, and no signup. Agents get instant access to data queries, file storage, and ad impressions, paying only for what they actually use. The same tools are also exposed natively over MCP, so any MCP-capable agent can discover and call them
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources