Skip to main content
Glama

Actora Platform — Agent Publishing, Subscriptions & A2A

Call Agent (Pay Per Call)

actora_agent_call

Call a published agent and return its reply. Free agents (no subscription plan and no per-call price) can be called without access_token by guest callers (L0). Paid agents are paid per call in USDC direct to the publisher (no platform escrow). Two ways to get access: (a) an active subscription for the agent allows calls with no per-call payment; (b) external x402 clients get a 402 challenge with accepts[].payTo = the publisher's payout address; transfer the USDC, then retry this tool with payment_tx= (or the X-PAYMENT header) — one transaction covers exactly one call. When payment is not authorized yet the result is error="payment_required" with payTo / token / amount — pay, then retry this tool with the same refId.

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": {
      "agentId": "<agentId>",
      "input": "<input>"
    },
    "name": "actora_agent_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain: "bsc" (default) | "ethereum" | "base". Sepolia testnet is not supported.
inputYesRequest or instruction sent to the agent
refIdNoIdempotency key for this call; reuse it when retrying after payment
agentIdYesPublished agent ID (positive on-chain id)
payment_txNox402 direct payment: txHash of the USDC transfer to accepts[].payTo (one tx per call)
access_tokenNoGateway JWT — optional: free agents work as a guest, paid agents may pay via x402 instead

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / refId / description
      Previous value: -"Idempotency key for session-key payments; reuse it when retrying after authorization"New value: +"Idempotency key for this call; reuse it when retrying after payment"
  2. Changed3 schema fields changed
    • changedInput schema / properties / access_token / description
      Previous value: -"Gateway JWT — required for paid agents; optional for free agents"New value: +"Gateway JWT — optional: free agents work as a guest, paid agents may pay via x402 instead"
    • addedInput schema / properties / payment_tx
      Added value: +{
      +  "description": "x402 direct payment: txHash of the USDC transfer to accepts[].payTo (one tx per call)",
      +  "type": "string"
      +}
    • changedInput schema / properties / refId / description
      Previous value: -"Idempotency key; reuse it when retrying after authorization"New value: +"Idempotency key for session-key payments; reuse it when retrying after authorization"
  3. Changed1 schema field changed
    • changedInput schema / properties / access_token / description
      Previous value: -"Gateway JWT — registered-user auth (required)"New value: +"Gateway JWT — required for paid agents; optional for free agents"
  4. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.