Skip to main content
Glama

Phlece

Quote a trade

phlece_quote_trade
Read-onlyIdempotent

What a buy or sell would give right now, from the pool's live price: amount out, the minimum after slippage, the fee, and price impact. With payWith, a buy paid in another Arc coin, with each leg of the route. Reads only; nothing is signed.

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": {
      "coin": "<coin>",
      "side": "<side>",
      "amount": "<amount>"
    },
    "name": "phlece_quote_trade"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinYesThe coin's 0x address or its ticker (for example PHLECE or $PHLECE).
sideYes
amountYesFor a buy, the coin to spend (the paired coin, usually USDC, or payWith); for a sell, the coins to sell. A decimal string such as "5".
payWithNoBuys only: pay with a coin other than the pair, in one transaction. EURC, GBPA, cirBTC, WETH or XAUM, another Phlece coin with the same pair (ticker or address), or any token address with a Uniswap v3 pool against the pair. The route goes through the pool that gives the most coins. Omit to pay with the pair.
slippageBpsNoDefault 250 (2.5%), the site's own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description still adds value by naming the exact outputs, the live-price/live-pool source, and the routing behavior when payWith is used (one transaction, best-pool route, per-leg detail). It does not discuss staleness of the quote or how long it stays valid, which is the main behavioral gap for a quote tool.

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?

Three short sentences, front-loaded with what the tool returns, with no filler. The payWith sentence is a grammatical fragment ('With payWith, a buy paid in another Arc coin, with each leg of the route') that is slightly harder to parse than necessary.

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?

There is no output schema, and the description compensates by enumerating the returned fields and explaining the alternative-currency routing case, which is what an agent most needs. Remaining omissions (quote validity window, relationship to prepare_trade) are minor given the rich schema and annotations.

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 80%, so the schema already explains coin, side, amount, payWith and slippageBps in detail. The description restates the payWith concept ('a buy paid in another Arc coin, with each leg of the route') but adds no format or edge-case guidance beyond the schema text, so it sits at the baseline.

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 (quoting a buy or sell from the pool's live price) and enumerates the outputs (amount out, minimum after slippage, fee, price impact), so the intent is unambiguous. It implicitly separates itself from mutation-oriented siblings with 'Reads only; nothing is signed' but never names phlece_prepare_trade or phlece_compare_providers directly.

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 rather than stated: 'what a buy or sell would give right now' plus 'Reads only; nothing is signed' signals a pre-trade preview step. There is no explicit when-to-use/when-not guidance and no instruction to call this before phlece_prepare_trade, leaving the agent to infer the workflow.

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