Skip to main content
Glama
Hovsteder

TRON Energy/Bandwidth MCP Server

by Hovsteder

Execute Swap

execute_swap

Submit a signed swap transaction to execute it with automatic energy delegation before broadcast. Payment via API key balance deduction or x402 USDC.

Instructions

Execute a pre-signed swap transaction with automatic energy delegation. Get the unsigned TX from get_swap_quote, sign it, and submit here. Energy is delegated before broadcast. Works with API key (balance deduction) or x402 USDC payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
txDataYesPre-signed swap transaction from get_swap_quote

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the disclosure burden. It reveals important behavioral traits: automatic energy delegation before broadcast, and two payment methods (API key balance deduction or x402 USDC). It doesn't cover failure modes, but the disclosed behaviors are meaningful and contextual.

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 high information density. The first sentence states the core purpose; the second covers workflow and payment. No filler or repetition.

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?

The description covers the key context: what to provide, where to get it, and payment mechanism. It doesn't describe return values or errors, but for an execution tool with a clear parameter schema and workflow, this is adequate. Sibling distinction could be stronger, but overall it's complete enough.

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% and the parameter description ('Pre-signed swap transaction from get_swap_quote') is helpful. The main description reinforces this by instructing to sign and submit the tx, adding practical meaning beyond the schema.

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 clearly states the tool's function: 'Execute a pre-signed swap transaction with automatic energy delegation.' It uses a specific verb (execute), a specific resource (pre-signed swap transaction), and distinguishes itself from sibling broadcast tools by focusing on swaps and energy delegation.

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?

Provides a clear workflow: 'Get the unsigned TX from get_swap_quote, sign it, and submit here.' This tells the agent when to use this tool (after getting a quote) and implies the process. It also mentions payment options, but doesn't explicitly contrast with alternatives like broadcast_transaction.

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