Skip to main content
Glama

Ask for a swap quote on our own NET pools (keyless, nothing to sign)

prepare_net_swap_quote
Read-onlyIdempotent

BRANDED SWAP DOOR over our own NET pools: ask for a quote on a pair they serve and get the quote, the pool it routes through and the exact transactions for your own wallet to sign and send. It does not sign, hold, advise or promise, it takes no fee, and it is built but not switched on yet. It serves one hop with NET on one side, through four pinned pools (NET with WETH, ETH, ECO or VVV; the buying in NET's pools is the house's own), in both directions. NET also has a pool with HYDROC that this door does not serve. A quote moves its pool by at most one percent and is good for two minutes; a larger amount is refused, not split. The door asks its provider to put a minimum you receive, computed from the quote, into the transaction, but this door does not decode or verify the transaction data, so that minimum is the provider's and is not checked here: read each transaction in your own wallet before you sign it. The pools are thin, so quotes are small, and a quote is one read at one moment: the swap can fill differently, and another trader can trade ahead of you. The live quote provider, and the independent reference reader every quote is checked against, are not built yet: until both are, every quote is refused and says so. Every quote shows its fee line, and the fee is none today. The pinned NET holder disclosure comes with every quote. A swap through this door is never needed to hold NET, claim a job, vote or work. Free and keyless. You sign and send the swap yourself, from your own wallet, and pay the gas. EcoWealth created ECO, holds it and is better off if it rises. EcoWealth launched HYDROC on Hydrex's launcher, holds some and is better off if it rises. Cost and signer: free and keyless, nothing to sign here; the person signs and sends the swap with their own wallet, and the house never holds a key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tokenIn": "<tokenIn>",
      "tokenOut": "<tokenOut>",
      "amountIn": "<amountIn>",
      "wallet": "<wallet>"
    },
    "name": "prepare_net_swap_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesThe 0x address of your own wallet, the one that will sign and send the swap. Address only, never a private key.
tokenInYesThe token you send: NET, ECO, WETH, ETH or VVV, by symbol or 0x address. One side of the pair must be NET.
amountInYesHow much you send, a whole number in the token's smallest unit (18 decimals for these tokens), sent as a digit string. At least 1.
tokenOutYesThe token you receive: NET, ECO, WETH, ETH or VVV, by symbol or 0x address. One side of the pair must be NET.

Output Schema

NameRequiredDescriptionDefault
okNo
toolNo
fundedNo
payUsdNo
workIdNo
claimIdNo
claimableNo
next_callNo
proofRuleNo
fulfillableByNo
definitionOfDoneNo
needs_from_callerNo
notClaimableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Well beyond the annotations, which only declare this is a safe read. The description adds the operating state (built but not switched on; every quote refused until both providers exist), quote mechanics (1% max pool move, two-minute validity, oversized amounts refused not split), and a serious safety caveat: the minimum-receive is the provider's and is not decoded or verified here. It also discloses thin-pool/slippage and front-running risk and that the fee line is zero today.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core facts are front-loaded in the first two sentences, but the body is a dense run-on and the signer/cost point is repeated at both the start ('it does not sign, hold, advise') and the end ('Cost and signer: free and keyless, nothing to sign here'). Disclosures about ECO and HYDROC holdings are legitimate but add bulk that could be tightened.

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?

An output schema exists so return values need no explanation, and the remaining burden is fully covered: current disabled state, pool roster and excluded pair, quote validity and size cap, verification caveat, and who signs and pays gas. For a read-only quote tool with this many preconditions, nothing an agent needs before calling is missing.

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, but the description adds real meaning beyond the schema for amountIn ('A quote moves its pool by at most one percent and is good for two minutes; a larger amount is refused, not split') and clarifies which pairs are routable. Wallet and token parameters get nothing beyond their schema text.

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 and object ('ask for a quote on a pair') plus exactly what comes back ('the quote, the pool it routes through and the exact transactions'), and scopes it to 'our own NET pools ... one hop with NET on one side'. An agent can distinguish this from the sibling prepare_net_swap_record / submit_net_swap_record 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 concrete eligibility rules (one hop, NET on one side, four pinned pools, HYDROC pair explicitly not served) and an explicit when-not: 'A swap through this door is never needed to hold NET, claim a job, vote or work.' It also warns the door is not switched on, so quotes are refused until providers exist. It stops short of naming sibling alternatives directly, so a 4 rather than a 5.

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.

Resources