GMGN.ai API wrapper for token ranking and trading analysis with rugcheck integration, Cloudflare bypass, and advanced filtering capabilities
This server has 14 tools with complete schemas and descriptions visible in the source. However, significant quality issues limit production readiness. Most tool descriptions are adequate (90-200 chars), but several tools are duplicates or near-duplicates with identical names (get_top_gainers appears twice; get_safe_tokens appears twice; both rugcheck and non-rugcheck variants). Parameter schemas are well-formed with enums, but descriptions lack depth on when to use which tool and how they differ. Output schemas are not documented, the code references Token objects and lists, but no structured response schema is provided to the LLM. Error handling is not visible in the tool definitions. The tools are READ_ONLY, which is good, but the naming suggests multiple overlapping responsibilities (e.g., get_token_rankings, get_ethereum_rankings, get_solana_rankings, get_base_rankings all fetch rankings but with different parameters and defaults). The composition pattern is poor, tools 1-4 and 5-6 and 7-10 cover similar functionality (token rankings, safe tokens, gainers) with confusing parameter overlaps. Tools 11-12 accept opaque object parameters (params, filter) with insufficient schema documentation. Tool 13 (rugcheck_for_token) accepts a chain enum but the description doesn't explain when rugcheck is preferred over other safety checks. Most critically, output schemas are inferred from code comments and examples, not formally declared to the LLM.
Convenience method for Base token rankings
Convenience method for Ethereum token rankings
Get high-value tokens with minimum volume and market cap requirements
Get safe tokens with all security filters (honeypot, verified, renounced ownership)
Get tokens with all safety filters applied (stricter filtering with not_honeypot, verified, and renounced ownership checks)
Get safe tokens with additional rugcheck verification
Convenience method for Solana token rankings
Duplicate tool names break tool composition. 'get_top_gainers' appears twice with identical names but potentially different implementations. 'get_safe_tokens' appears twice. LLMs cannot distinguish between them and will pick arbitrarily, causing unpredictable behavior.
Output schemas not documented. Tools return Token objects or lists, but no structured schema is visible to the LLM. The response shape, field types, and which fields are included/excluded are not declared. This forces LLMs to guess at response structure and makes chaining tools difficult.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 63 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Get token rankings from GMGN.ai with customizable filtering and sorting criteria
Get tokens based on QueryParameters
Get tokens with custom composite filtering
Get top gaining tokens by price change percentage
Get top gaining tokens for a specified chain and time period
Get top volume tokens for a specified chain
Check token safety using rugcheck integration
Opaque object parameters without schema. Tools 11-12 (get_tokens_with_filter, get_tokens) accept 'params' and 'filter' as generic objects with descriptions like 'QueryParameters object' and 'TokenFilter object'. No schema for what these objects contain, so LLMs cannot construct them correctly.
Overlapping tool responsibility. Tools 1-4 (get_token_rankings variants for Ethereum, Solana, Base) and tools 5-10 (get_safe_tokens, get_top_gainers, get_high_value_tokens) cover similar use cases with inconsistent parameter handling. Tool 1 has 6 parameters; tools 2-4 have 3 defaults-heavy parameters. Tool 5 has 4 parameters; tool 10 has 3. This violates the single-responsibility principle and confuses when to use which tool.
Insufficient parameter documentation. Parameter descriptions are minimal. E.g., 'Blockchain to query' or 'Sorting criteria' lack context on when a chain matters vs when criteria is preferred, or what the default behavior is if omitted. Missing guidance on mutually exclusive parameters and dependencies (e.g., when should include_not_honeypot=true vs include_verified=true).
No error handling guidance. Tool descriptions do not mention what happens on failure (e.g., invalid chain, API timeout, token not found). LLMs have no recovery path, they don't know whether to retry, call a different tool, or ask the user.
Convenience methods conflate parameters. Tools 2-4 (get_ethereum_rankings, get_solana_rankings, get_base_rankings) claim to have 'default' time_period=TWENTY_FOUR_HOURS and criteria=VOLUME, but also accept overrides. Descriptions say 'default' but don't specify whether passing explicit values supersedes defaults or causes errors.
Unclear safety filtering semantics. Tool 5 (get_safe_tokens via gmgn_api.py) and tool 1 (get_safe_tokens via gmgntry.py) both claim to apply 'all safety filters', but tool 1 also accepts include_not_honeypot, include_verified, include_renounced as parameters. It's unclear whether get_safe_tokens always enforces these or respects parameter overrides.