Skip to main content
Glama

PJM vs MISO Energy Arbitrage Oracle

Build Subscription Transaction

build_subscription_tx
Read-onlyIdempotent

Generate the cryptographic transaction calldata required to purchase a subscription on Arbitrum One. Output covers a two-step payload: ERC-20 RLC token approve followed by contract purchaseSubscription. This tool strictly builds calldata and does not submit transactions; the calling agent must sign and broadcast the payload externally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tierYesSubscription tier: 0 = 1 day ($20), 1 = 3 days ($50), 2 = 7 days ($100)
agent_addressYesEVM address of the agent that will receive the subscription, e.g. 0x1234...
sponsor_addressNoOptional EVM address of a sponsor who pays for the agent's subscription

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, and the description adds the key behavioral note that the tool never submits transactions and the caller must broadcast. This aligns with annotations and provides extra context beyond the structured fields.

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 sentences with zero redundancy; the purpose is front-loaded and the crucial constraint about not submitting is placed early. Every clause adds value.

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?

Given the presence of an output schema, the description sufficiently covers the tool's behavior, payload structure, and external execution requirement. Nothing critical is missing for an agent to call it correctly.

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 all parameters are already well-documented. The description adds context about the two-step payload but does not elaborate on parameter specifics, which the schema already covers.

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?

The description states a specific verb (generate), a specific resource (cryptographic transaction calldata for subscription purchase on Arbitrum One), and the exact scope (two-step approve + purchase). It clearly distinguishes from sibling tools that check status or cost.

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?

It explicitly states the tool only builds calldata and does not submit transactions, requiring external signing and broadcast. This provides clear usage boundaries, though it does not name specific alternative tools for submission.

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.