Skip to main content
Glama

Actora Platform — Agent Publishing, Subscriptions & A2A

Create Subscription Plan

actora_subscription_create_plan

Create a subscription plan for an agent. WRITE operation. period is one of "day" | "week" | "month" | "quarter" | "year"; planType 0=subscription (default), 1=usage-based, 2=hybrid.

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>",
      "period": "<period>"
    },
    "name": "actora_subscription_create_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoPlan name (required on-chain; defaults to "Plan #<agentId>")
chainNoChain: "bsc" (default) | "ethereum" | "base". Sepolia testnet is not supported.
priceNoRecurring price in wei/token units (required unless planType=1)
periodYes"day" | "week" | "month" | "quarter" | "year"
agentIdYesAgent ID
maxUsageNoMax usage per billing period (0 = unlimited)
payTokenNoERC20 token address; omit for native ETH
planTypeNo0=subscription (default), 1=usage-based, 2=hybrid
usagePriceNoPer-use price (required when planType is 1 or 2)
descriptionNoPlan description
totalUsageLimitNoTotal usage limit (0 = unlimited)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the added 'WRITE operation' note is redundant with structured data. Beyond that, the description does add real value by spelling out the allowed period values and the planType encoding (0/1/2) with the default, but it discloses nothing about on-chain effects, token approval/spend requirements, gas, or irreversibility of a created plan.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact, front-loaded statements with zero filler: purpose, operation type, then enum semantics. The middle 'WRITE operation' fragment is slightly redundant but does not bloat the text.

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?

For an 11-parameter mutation tool with full schema coverage and no output schema, the description is adequate: it names the tool's purpose and clarifies the two non-obvious enums. The missing piece is guidance on the create-versus-subscribe decision and the price/usagePrice dependency conditions, which are only implied by the schema's prose.

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 description coverage is 100%, so the baseline is 3. The description restates the period enumeration and planType mapping that the schema already documents, adding no syntax, format, or interaction detail (e.g., how price/usagePrice/maxUsage combine per planType) beyond what the schema provides.

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 and resource ('Create a subscription plan for an agent') and is distinguishable from read-only siblings like actora_subscription_plans or actora_subscription_detail. It does not, however, differentiate itself from actora_central_subscription_subscribe or actora_subscription_subscribe, which are the closest-sounding siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description flags 'WRITE operation' but gives no guidance on when to create a plan versus subscribing to an existing one, nor any prerequisites such as the agent needing to exist or ownership requirements. The agent must infer the create-vs-subscribe split purely from tool names.

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.