Skip to main content
Glama

Actora Platform — Agent Publishing, Subscriptions & A2A

Subscribe Central Agent

actora_central_subscription_subscribe
Destructive

Subscribe to a centralized agent via the x402 rail. Requires access_token (registered-user JWT). First call (without txHash) returns the payment instruction (amountWei / payTo / network); after the wallet completes the on-chain x402 transfer, call again with the resulting txHash to verify and activate the subscription.

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>",
      "subscriber": "<subscriber>",
      "access_token": "<access_token>"
    },
    "name": "actora_central_subscription_subscribe"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNo"day" | "week" | "month" | "year" (default "month")
txHashNox402 on-chain payment tx hash — include to verify and activate
agentIdYesCentralized agent ID (negative)
priceWeiNoPlan price in wei (overrides the default active plan price)
subscriberYesBuyer wallet address (0x...)
access_tokenYesGateway JWT — registered-user auth (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations flag this as a non-read-only, destructive mutation, and the description adds real value beyond them: the JWT auth requirement, the fact that funds move on-chain via x402, and that the second call activates the subscription. It stops short of stating spend limits or reversal behavior for the override price.

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 dense sentences with the requirement front-loaded, followed by the two-step flow. No filler and every clause carries procedural information.

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

Completeness5/5

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

For a mutation tool with no output schema, the description covers the important unknowns: prerequisites (access_token), the shape of the first response (amountWei/payTo/network), and the completion step. An agent can execute the full protocol from this text.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description gives the txHash parameter operational meaning (verify-and-activate second leg) and reiterates access_token as a registered-user JWT requirement. That adds context beyond the field descriptions.

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 verb (subscribe) and resource (centralized agent) plus the rail used (x402), which distinguishes it from sibling plan/cancel/check tools. An agent knows exactly what action this performs.

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?

Explicitly describes the two-phase usage: call without txHash first, then call again with txHash after the on-chain transfer. It lacks an explicit contrast to siblings like actora_central_subscription_check or actora_subscription_subscribe, but the when-to-call sequencing is clear.

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.