Skip to main content
Glama

Troya Agent

Swap quote, Gate included

quote_swap
Read-only

Quote a swap on Robinhood Chain (Pons curves, Uniswap v3/v4, and the other Robinhood Chain launchpads through KyberSwap). tokenIn/tokenOut: ETH, a symbol or an address. Runs Troya Gate on the result.

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": {
      "tokenOut": "<tokenOut>",
      "amountIn": "<amountIn>"
    },
    "name": "quote_swap"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenInNoDefault ETH
amountInYesAmount of tokenIn
tokenOutYesToken to receive
slippagePctNoDefault 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the read-only, external-network nature is covered. The description adds that the quote aggregates multiple venues and that Troya Gate is run on the result, which is genuine extra behavioral context, but it says nothing about latency, rate limits, failure modes, or how gate outcomes affect the returned quote. 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.

Conciseness4/5

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

Two compact sentences, front-loaded with the verb and the venue list, with no filler. The parenthetical venue enumeration is slightly dense but earns its place by scoping which chains and pools are supported.

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 four-parameter read-only quoting tool with full schema coverage and clear annotations, the description covers the resource, the venues, accepted token formats, and the bundled Gate step. The main residual gap is that an agent cannot tell what the quote response contains or how to act on a Gate result, but there is no output schema to compensate.

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 coverage is 100%, so the schema already documents all four parameters including defaults for tokenIn (ETH) and slippagePct (1). The description only reinforces that tokenIn/tokenOut accept ETH, a symbol, or an address, which does add some meaning beyond the schema's terse "Default ETH" and "Token to receive". This is baseline-level value given the schema does most of the work.

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 ("Quote a swap") and enumerates the venues covered (Pons curves, Uniswap v3/v4, other launchpads via KyberSwap), which distinguishes it from siblings like gate_check or analyze_token_health. It falls short of 5 because the odd phrase "Runs Troya Gate on the result" is unexplained and the description never contrasts itself with sibling tools.

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?

Usage is implied by "Quote a swap" and the requirement of tokenOut and amountIn, but there is no explicit when-to-use or when-not-to-use guidance and no mention of how it relates to siblings such as gate_check or guard_trade. "Runs Troya Gate on the result" hints that a gate step is bundled, yet the agent gets no instruction on when this is preferred over calling gate_check separately.

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.