← S3 · mcp.json

MCP-style tool manifest

Machine-readable tools for agent hosts. Full MCP transport + x402 pay-per-call ships after intent winner is chosen.

{
  "name": "lawlogic-agent-tools",
  "version": "0.1.0",
  "description": "LawLogic agent tools (funding spreads + research). No human sales. x402 coming.",
  "policy": "A+C",
  "homepage": "https://lawlogic-web.lawlogic.workers.dev/agents",
  "openapi": "https://lawlogic-web.lawlogic.workers.dev/openapi.json",
  "intent": "https://lawlogic-web.lawlogic.workers.dev/api/intent",
  "tools": [
    {
      "name": "funding_spreads",
      "description": "Fetch public cross-venue perpetual funding rates and spread APR hints (Hyperliquid, Gate, Bitget, OKX). Policy A+C public data only.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "endpoint": "https://lawlogic-web.lawlogic.workers.dev/v1/funding-spreads",
      "method": "GET",
      "pricing": "free_preview; or X-API-Key credits (1/call); or x402 ?mode=paid ~$0.01"
    },
    {
      "name": "research",
      "description": "Run a short Exa+LLM research call and return cited Markdown. Free preview limited to 3/IP/day.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 8
          },
          "max_sources": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5
          }
        },
        "required": [
          "query"
        ]
      },
      "endpoint": "https://lawlogic-web.lawlogic.workers.dev/v1/research",
      "method": "POST",
      "pricing": "free_preview 3/IP/day; or X-API-Key credits (3/call); or x402 ?mode=paid ~$0.03"
    },
    {
      "name": "credits_purchase_info",
      "description": "Get Base USDC pay_to address and credit pricing for API keys.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "endpoint": "https://lawlogic-web.lawlogic.workers.dev/v1/credits/purchase-info",
      "method": "GET",
      "pricing": "free"
    }
  ]
}