Skip to main content
Glama

execute_onchain_intent

Destructive

Simulates and executes a gasless, sponsored Web3 transaction on Base L2 (e.g. token swaps, transfers). Runs Tenderly dry-run safety checks automatically before broadcasting. Requires an API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentIdNoAgent identifier for session scoping.
calldataYesHex-encoded transaction calldata.
valueWeiNoNative token value in Wei (defaults to '0').
fromAddressYesThe Safe Smart Account address performing the action.
sessionKeyIdNoOptional ERC-7579 session key id to enforce spend/target caps.
targetAddressYesTarget contract or token recipient address.
maxAllowedDrainUSDNoMaximum allowable wallet drain in USD during simulation guardrail check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructive=true, openWorld=true, and non-idempotent, so the safety bar is lower. The description adds genuinely new behavior beyond that: the transaction is gasless and sponsored, a Tenderly dry-run gate runs automatically before broadcast, and an API key is required for auth.

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, each carrying distinct information (what it does, the safety-check behavior, the auth requirement), with the core action front-loaded. Parenthetical examples are brief and useful; there is no filler.

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 a destructive, open-world, 7-parameter tool with no output schema, the description covers action, safety gate, and auth requirement adequately. It could say more about failure/abort behavior when the dry-run guardrail trips, but it is largely complete for correct invocation.

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 seven parameters (including maxAllowedDrainUSD and sessionKeyId) are already documented in the schema. The description adds no parameter-level syntax or semantics beyond the schema, so the baseline 3 applies.

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?

States a specific verb+resource ('Simulates and executes a gasless, sponsored Web3 transaction on Base L2') with concrete examples (token swaps, transfers). It implicitly distinguishes itself from the dry_run_simulation sibling by noting it runs dry-run checks automatically, but never names that sibling explicitly.

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

Usage Guidelines3/5

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

The line 'Runs Tenderly dry-run safety checks automatically before broadcasting' implicitly tells the agent it need not call dry_run_simulation first, which is useful. However, there is no explicit when-to-use/when-not guidance or named alternative to route against the three sibling tools.

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.