Skip to main content
Glama

Relay Agent Calls With 1Shot

agent_oneshot_relay_calls

Build, estimate, or submit ERC-7710 delegated transaction bundles via the 1Shot public relayer; previews by default, submits only when confirm=true.

Instructions

Build, estimate, or submit an ERC-7710 delegated transaction bundle through the 1Shot public relayer. Requires an active 1Shot-compatible agent delegation whose delegate equals the relayer targetAddress. Uses preview mode unless confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memoNoOptional opaque memo echoed by 1Shot status.
callsYesExecutions to redeem through the signed delegation.
chainNoConfigured chain name or ID. Defaults to Base when configured.
submitNoSet false to build and estimate without submitting.
taskIdNoOptional 0x-prefixed 32-byte task ID.
confirmNoMust be true to submit to the relayer.
contextNoOptional signed 1Shot price-lock context from a recent estimate.
walletIdNoAgent wallet ID. Alternative to profileId.
profileIdNoDelegated agent profile ID, e.g. agent:<walletId>. The alias agent works only when exactly one agent wallet exists.
delegationIdNoSpecific active delegation ID. Defaults to the active delegation for the profile and chain.
estimateOnlyNoIf true, estimate but do not submit.
paymentTokenNoStablecoin payment token for the relayer fee. Defaults to a token from 1Shot capabilities, preferring Base USDC on Base.
skipEstimateNoDebug only. If true with confirm=true, submit without first fetching a fresh estimate/context.
destinationUrlNoOptional webhook destination URL for 1Shot status updates.
validateDelegateNoSet false to skip relayer targetAddress validation. Defaults to true.
includeFeePaymentNoWhether to prepend the payment token transfer to the relayer feeCollector. Defaults to true.
paymentAmountUnitsNoOptional initial relayer fee payment in payment token base units. If omitted, MCP uses relayer_getFeeData minFee and adjusts after estimate when needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose the two most important traits: the dry-run/preview default and the confirm=true gate required to actually submit. It omits failure modes, fee-charging behavior, and irreversibility of a relayed bundle, which keeps it from a 5.

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?

Three short sentences, zero padding, with the core action front-loaded and the prerequisite and default-mode caveat following immediately. Every sentence earns its place.

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

Completeness3/5

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

For a 17-parameter mutation tool with no annotations and no output schema, the description covers the prerequisite and the submit gate but says nothing about what is returned (taskId, status, estimate payload) or how to follow up. The rich schema compensates for parameter gaps, but the return/follow-up story is left entirely implicit.

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% across all 17 parameters, so the schema already documents memo, chain, confirm, estimateOnly, skipEstimate, payment fields, etc. The description adds no parameter syntax or format detail beyond reiterating the preview/confirm behavior, so the baseline 3 applies.

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 set (build, estimate, submit), a specific resource (ERC-7710 delegated transaction bundle), and the channel (1Shot public relayer). An agent can distinguish this from siblings like agent_oneshot_get_status, agent_oneshot_get_capabilities, or the generic send_calls without opening any schema.

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?

Gives a concrete prerequisite (an active 1Shot-compatible agent delegation whose delegate equals the relayer targetAddress) and the default operating mode (preview unless confirm=true). It does not name alternative tools for the estimate-only or status-checking paths, so it stops short of explicit when-not routing.

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