Skip to main content
Glama
quackai-org

@quackai/q402-mcp

Official
by quackai-org

q402_redstone_trigger_create

Set up an automated gasless payout that triggers exactly once when a RedStone feed (price, NAV, or RWA) crosses a specified threshold. Authenticated via Multichain API key, no private key required.

Instructions

Arm a gasless payout that fires when a RedStone feed (NAV / price / RWA) crosses a threshold - e.g. "when ETH >= 2000, send 100 USDT to 0x…", or "when the fund NAV drops to <= 0.98, send the redemption". Fires EXACTLY ONCE per rising-edge crossing (edge-latched server-side): it will not re-fire while the level stays breached, and a trigger created while the feed is already past the threshold does NOT instant-fire - it waits for the next real crossing. Authenticated by the Multichain API key; no private key. Requires the paid Multichain subscription (trial keys rejected). Each fire is bounded by the wallet's perTxMax + dailyLimit and your local Q402_MAX_AMOUNT_PER_CALL + Q402_ALLOWED_RECIPIENTS rails. Call q402_redstone_feeds first to pick a readable feedId. Stop any time with q402_redstone_trigger_cancel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opYesRequired. Comparison against threshold.
modeNoDefault 'once'. 'repeat' re-arms after the feed goes back to the unmet side.
chainNoDefault 'bnb'. Paid Multichain subscription required.
labelNoOptional human label.
tokenNoDefault 'USDT'. USDG is Robinhood-Chain-only.
amountYesRequired. Payout amount as decimal string (e.g. "100.0").
feedIdYesRequired. RedStone feed id (e.g. "ETH"). Must be allowlisted (see q402_redstone_feeds).
confirmYesREQUIRED. Must be literally `true`. Triggers arm future on-chain payouts without a per-fire prompt, so get an explicit user yes BEFORE setting this.
walletIdNoOptional. Defaults to server default wallet.
recipientYesRequired. 0x payout recipient.
thresholdYesRequired. Feed value to cross.
cooldownSecNorepeat only: min seconds between fires. Default 0.
Behavior5/5

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

With no annotations provided, the description carries the full burden and does an excellent job: it discloses edge-latched exact-once firing, no instant-fire when already past threshold, API-key authentication/no private key, paid subscription requirement, and amount/recipient rails. This goes far beyond a typical 'creates a trigger' statement.

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?

The description is long but every sentence earns its place: purpose, examples, critical edge-case behavior, auth, subscription, limits, and related-tool guidance. It is front-loaded with the core action and then logically layers constraints and prerequisites without repetition or fluff.

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 12 parameters, no annotations, and no output schema, this description is exceptionally complete for safe invocation. It covers prerequisite discovery (q402_redstone_feeds), cancellation path, behavioral edge cases, auth model, subscription tier, and amount rails. The schema fills the remaining parameter-specific details.

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 the baseline is 3. The description adds useful semantic context beyond the schema: feedId must be readable/allowlisted via q402_redstone_feeds, the payout is bounded by wallet limits and local Q402_* rails, and chain requires a paid subscription. It does not walk through every param, but the examples help clarify op/threshold/amount semantics.

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 opens with a specific verb and resource: 'Arm a gasless payout that fires when a RedStone feed crosses a threshold.' Concrete examples (ETH >= 2000, NAV <= 0.98) make the operation unambiguous. It also distinguishes itself from siblings by explicitly pointing to q402_redstone_feeds for picking a feedId and q402_redstone_trigger_cancel for stopping.

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 clearly says to call q402_redstone_feeds first and to use q402_redstone_trigger_cancel to stop, and it states the paid Multichain subscription requirement. It does not explicitly contrast with immediate-payment or recurring-payment siblings (e.g., q402_pay or q402_recurring_create), but the threshold-crossing use case is strongly implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/quackai-org/q402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server