recommend_subgraph
Matches a natural-language goal to ranked subgraphs with reliability scores. Infers domain and protocol type, then returns subgraph IDs, starter queries, and payment routes without executing GraphQL.
Instructions
Given a natural-language goal like 'find DEX trades on Arbitrum' or 'get lending liquidation data', returns the best matching subgraphs with reliability scores. Automatically infers domain and protocol type from the goal. Discovery only — it returns ids and starter queries, it does not execute GraphQL. Each result carries both query routes in payment_options: a keyed gateway URL (Authorization: Bearer <STUDIO_API_KEY>) or an x402 URL ($0.01 USDC on Base, no 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": {
"goal": "<goal>"
},
"name": "recommend_subgraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | What you want to do, e.g. 'query Uniswap pool data on Base' | |
| chain | No | Optional chain filter: mainnet, arbitrum-one, base, matic, etc. |