Skip to main content
Glama

search_subgraphs

Find and filter 15,000+ classified subgraphs by domain, network, protocol, entity, or keyword; results rank by reliability for discovery.

Instructions

Search and filter the classified subgraph registry (15,000+ subgraphs). Filter by domain (defi, nfts, dao, gaming, identity, infrastructure, social, analytics), network (mainnet, arbitrum-one, base, matic, bsc, optimism, avalanche), protocol_type (dex, lending, bridge, staking, options, perpetuals, nft-marketplace, yield-aggregator, governance, name-service), canonical entity type (liquidity_pool, trade, token, position, vault, loan, collateral, liquidation, nft_collection, nft_item, nft_sale, proposal, delegate, domain_name, account, transaction, daily_snapshot, hourly_snapshot), or free-text keyword. Returns subgraphs ranked by reliability score. Discovery only — this tool does not execute GraphQL and never introspects a schema. To run a query, call execute_query (opt-in). To inspect a schema, call get_schema (opt-in). Each result carries the subgraph id, a ready-to-run example_query, and both query routes in payment_options: a keyed gateway URL (Authorization: Bearer) or an x402 URL ($0.01 USDC on Base, no key). Pass the id to your own Graph client if you have one. Plus age_days and maturity (new | emerging | established). Because reliability_score is traction-weighted it can favour older deployments, so a separate emerging list carries recent matches that ranked below the main cut for age rather than quality — read emerging_caveat before offering one to a user.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_subgraphs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return, 1–100 (default: 20); total is returned count, not corpus match count. No offset/cursor pagination.
queryNoFree-text search across names and descriptions. A standalone known chain or alias (e.g. arc, ethereum) becomes an explicit network filter unless network is supplied; inferred_network makes this visible
domainNoFilter by domain: defi, nfts, dao, gaming, identity, infrastructure, social, analytics
entityNoFilter by canonical entity: liquidity_pool, trade, token, position, vault, loan, etc.
networkNoFilter by chain: mainnet, arbitrum-one, base, matic, bsc, optimism, avalanche, etc.
protocol_typeNoFilter by protocol type: dex, lending, bridge, staking, options, perpetuals, etc.
include_deniedNoInclude curation-denied deployments (deniedAt > 0 — denied indexing rewards; not proof of spam or query failure). Default false. When true, each result carries denied: true so the choice stays visible.
min_reliabilityNoMinimum reliability score (0-1). Higher = more query fees, volume, curation signal, and indexer allocation. NOTE: this traction-weighted score can favor older deployments; 30-day volume is a rolling window — setting a floor here filters out good recent subgraphs along with bad ones.
include_testnetsNoInclude testnet deployments (sepolia, goerli, holesky, chapel, fuji, mumbai, amoy, *-testnet). Default false — a testnet twin's text is near-identical to its mainnet original, so it competes for the top slot without being the thing anyone wanted. Ignored when you explicitly request a testnet network, so network:"sepolia" still works. Each result carries testnet: true|false.
include_unservedNoInclude records with zero active allocations in the registry snapshot. Default false is a discovery heuristic, NOT a queryability test; Studio or other serving routes may work without allocations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changedv0.13.7
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / domain / maxLength
      Added value: +1000
    • addedInput schema / properties / entity / maxLength
      Added value: +1000
    • addedInput schema / properties / include_denied
      Added value: +{
      +  "default": false,
      +  "description": "Include curation-denied deployments (deniedAt > 0 — denied indexing rewards; not proof of spam or query failure). Default false. When true, each result carries denied: true so the choice stays visible.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / include_testnets
      Added value: +{
      +  "default": false,
      +  "description": "Include testnet deployments (sepolia, goerli, holesky, chapel, fuji, mumbai, amoy, *-testnet). Default false — a testnet twin's text is near-identical to its mainnet original, so it competes for the top slot without being the thing anyone wanted. Ignored when you explicitly request a testnet network, so network:\"sepolia\" still works. Each result carries testnet: true|false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / include_unserved
      Added value: +{
      +  "default": false,
      +  "description": "Include records with zero active allocations in the registry snapshot. Default false is a discovery heuristic, NOT a queryability test; Studio or other serving routes may work without allocations.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Max results to return (default: 20)"New value: +"Max results to return, 1–100 (default: 20); total is returned count, not corpus match count. No offset/cursor pagination."
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / min_reliability / description
      Previous value: -"Minimum reliability score (0-1). Higher = more signal/stake/fees."New value: +"Minimum reliability score (0-1). Higher = more query fees, volume, curation signal, and indexer allocation. NOTE: this traction-weighted score can favor older deployments; 30-day volume is a rolling window — setting a floor here filters out good recent subgraphs along with bad ones."
    • addedInput schema / properties / min_reliability / maximum
      Added value: +1
    • addedInput schema / properties / min_reliability / minimum
      Added value: +0
    • addedInput schema / properties / network / maxLength
      Added value: +1000
    • addedInput schema / properties / protocol_type / maxLength
      Added value: +1000
    • changedInput schema / properties / query / description
      Previous value: -"Free-text search across names and descriptions"New value: +"Free-text search across names and descriptions. A standalone known chain or alias (e.g. arc, ethereum) becomes an explicit network filter unless network is supplied; inferred_network makes this visible"
    • addedInput schema / properties / query / maxLength
      Added value: +1000
  2. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that results are reliability-ranked, that the score is traction-weighted and can favor older deployments, that an `emerging` list exists with an `emerging_caveat` to read, and what each result carries (id, example_query, both payment routes, age_days, maturity). It also discloses the read-only, non-executing nature and the meaning of denied/unserved flags.

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?

Front-loaded with purpose and filter facets, then returns, then non-goals, then ranking caveats – a sensible order. It is a single dense block, and the long enum lists partially restate what the schema already provides, which is the main thing keeping it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter tool with no output schema and no annotations, the description covers returns, ranking behavior, caveats, and downstream routing to execute_query/get_schema. Nothing an agent needs in order to call this correctly appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds meaning beyond it by giving fuller enum value lists than the schema's 'etc.' and by explaining that the emerging list exists because min_reliability filtering discards good recent subgraphs. It does not, however, explain query-vs-filter interaction beyond what the schema already says about inferred_network.

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 and resource plus scope: 'Search and filter the classified subgraph registry (15,000+ subgraphs)', and enumerates the filter facets. It separates itself from execute_query and get_schema, but does not distinguish itself from close siblings like semantic_search_subgraphs or recommend_subgraph, so an agent must infer which search variant to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly positions the tool as discovery only and routes execution to execute_query and schema inspection to get_schema, and it explains when defaults matter (include_testnets and include_unserved defaults, min_reliability caveat). It stops short of saying when to prefer a sibling search tool over this one.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.