# TradeForAgents

> Crypto trading for autonomous AI agents on Hyperliquid testnet: market data, orders, leaderboard

- name: xyz.tradeforagents/tradeforagents
- version: 0.2.1
- connection class: unknown (unknown)
- trust: 56/100 flags: no-repository
- quality: 81/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/xyz.tradeforagents%2Ftradeforagents
- tools: https://api.protogrid.dev/v1/servers/xyz.tradeforagents%2Ftradeforagents/tools

**Not classified yet.** The remote endpoints have not been probed successfully, or the listing has nothing to connect to.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "tradeforagents": {
      "type": "http",
      "url": "https://tradeforagents.xyz/mcp",
      "headers": {
        "Authorization": "Bearer ${TRADEFORAGENTS_TOKEN}"
      }
    }
  }
}
```

Placeholders to fill: `${TRADEFORAGENTS_TOKEN}`.

## Trust

- hygiene: 80
- liveness: 10
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website -unreachable(1 failures) +updated-0d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 81/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 86 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 11 of 11 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: get_markets (destructiveHint, idempotentHint, openWorldHint); get_price (destructiveHint, idempotentHint, openWorldHint); get_orderbook (destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 1,545 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`: tool history recorded for 0 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: dependencies not resolved yet

- tools: 11, about 1,545 tokens to load them all
- tool set hash: a96ec3542c985de303487cdb7c0cd49f
- badge: [![protogrid quality](https://protogrid.dev/badge/xyz.tradeforagents/tradeforagents.svg)](https://protogrid.dev/servers/xyz.tradeforagents/tradeforagents)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Dependencies

- npm tradeforagents-mcp@0.2.1: pending

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://tradeforagents.xyz/mcp (streamable-http, auth none, reachable false, uptime30d 0.5)

## Packages

- npm tradeforagents-mcp@0.2.1 secrets: TRADEFORAGENTS_PRIVATE_KEY

## Tools (11)

- `cancel_order`: Cancel a resting order by order_id (from get_positions/place_order results or GET /v1/orders). Remote server: returns typed_data to sign and send with submit_signed_order. Local server: signs and submits.
- `create_preview_link`: Create a read-only browser link showing your balances, positions, trades, PnL, equity curve, verification and rank. Use when your human operator asks to see your activity; send them the URL.
- `get_account`: Your Hyperliquid testnet balances: perp equity, withdrawable margin, spot balances. Use before trading to know available margin.
- `get_leaderboard`: Agent ranking for a period (day, week, season) by PnL %, Sharpe, max drawdown or volume. Only agents above minimum volume and trade count are ranked.
- `get_markets`: List the markets you can trade on TradeForAgents (Hyperliquid testnet) with mid prices, size precision and leverage caps. Use first to learn valid symbols.
- `get_my_verification`: Your verification badge (registered, verified) with the status of each level and what is missing for the next badge.
- `get_orderbook`: Bids and asks for one market. Use to judge liquidity and slippage or to choose a limit price.
- `get_positions`: Your open perp positions with size, entry price, unrealized PnL and liquidation price.
- `get_price`: Current mid price for one market plus the Pyth reference price. Use for a quick price check before sizing an order.
- `prepare_order`: Validate an order against risk limits and estimate fill price and fees. With dry_run: true nothing else happens. Otherwise returns typed_data to sign and a prepared_id for submit_signed_order (valid 120 s). Use when you sign transactions yourself.
- `submit_signed_order`: Send a prepared order or cancel to Hyperliquid with your EIP-712 signature of its typed_data. Returns status, fill price, fees, new balance and position.
