Skip to main content
Glama

routing.gas_optimizer

Read-onlyIdempotent

Cross-Chain Gas & Calldata Optimal Router: Computes optimal gas-efficient calldata routing, slippage limits, and priority fees for Base & Solana DeFi transactions. (Price: $0.045 USDC via x402 on Base/Solana)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction type (swap, transfer, approve, mint).
amountYesTransaction amount.
toTokenYesDestination token symbol.
fromTokenYesOrigin token symbol.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesDetailed result, report, diff, or analysis output
statusYesExecution status of the micro-service (success/error)
timestampNoUnix timestamp of execution
monetizationNo

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive behavior, and the description is consistent with them — it 'computes' rather than mutates. It adds genuinely useful context beyond annotations: the $0.045 USDC cost paid via x402 (a real consequence for the calling agent) and the Base/Solana network scope. No contradiction with annotations.

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?

A single dense sentence front-loads the purpose, and the parenthetical pricing note earns its place as actionable cost information. There is no filler and no repetition of schema content.

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?

With an output schema and safety annotations present, the description need not explain return values or safety. The main gap is that the tool targets two chains but exposes no chain parameter and gives no guidance on how tokens or chains should be specified, so a caller could invoke it with ambiguous or wrong-chain inputs. Price, scope, and computed outputs are all covered.

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 each parameter is already documented at a basic level and the baseline is 3. The description adds some framing by indicating the inputs feed a gas/calldata optimization computation, but it offers no per-parameter detail such as token format or how chains are expressed in fromToken/toToken. It doesn't need to compensate for schema gaps.

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 uses a specific verb ('computes') and names precise outputs: gas-efficient calldata routing, slippage limits, and priority fees, scoped to Base & Solana DeFi transactions. This also disambiguates the tool from its name — it is an optimizer/calculator, not an execution router — and no sibling tool overlaps functionally.

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 description scopes usage to Base & Solana DeFi transactions, giving clear applicability context. However, it never states when not to use it, names no alternative, and doesn't clarify that it produces routing recommendations rather than executing swaps/transfers even though the action param lists executable-sounding values (swap, transfer, approve, mint). Usage conditions are implied rather than explicit.

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.

TDQS

A3.6/5.0
Disambiguation3/5

Most tools target clearly distinct domains, but audit.smart_contract and order.commercial_audit overlap as audit offerings, and order.ast_remediation and remediate.code_patch both generate AST-based remediation patches. The pricing and commercial language help somewhat, but the boundaries are not crisp enough for reliable tool selection.

Naming Consistency4/5

The dot-separated category.snake_case pattern is consistently applied across all 12 tools, making the set easy to scan. However, the category prefixes mix nouns and verbs (analytics, audit, order, remediate, signals), and 'order' is an unclear prefix.

Tool Count4/5

Twelve tools is a reasonable size for a broad paid Web3/DeFi service suite, and each tool represents a distinct revenue-generating capability. The count feels slightly padded by overlapping audit and remediation offerings that could be consolidated.

Completeness3/5

The suite covers a wide range of Web3 tasks including audits, remediation, security checks, routing, analytics, governance simulation, and signals. However, there are no workflow-oriented tools for managing or retrieving past audit/remediation orders, and the broad scope makes the domain boundaries vague.

Resources