get_latest_token_profiles
Retrieve current token profiles from DexScreener to analyze cryptocurrency assets and their market data across multiple blockchains.
Instructions
Get the latest token profiles
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": "get_latest_token_profiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/services/dexscreener.ts:95-97 (handler)The primary handler function that implements the core logic of the 'get_latest_token_profiles' tool by making a rate-limited API call to DexScreener's latest token profiles endpoint.
async getLatestTokenProfiles(): Promise<TokenProfile[]> { return this.fetch<TokenProfile[]>('/token-profiles/latest/v1', tokenRateLimiter); } - src/index.ts:97-104 (registration)Tool registration in MCP server capabilities, defining the tool name, description, and empty input schema.
get_latest_token_profiles: { description: 'Get the latest token profiles', inputSchema: { type: 'object', properties: {}, required: [], }, }, - src/index.ts:307-309 (handler)Dispatch logic in the MCP 'tools/call' request handler that invokes the DexScreenerService handler for this tool.
case 'get_latest_token_profiles': result = await this.dexService.getLatestTokenProfiles(); break; - src/index.ts:206-212 (schema)Tool schema definition returned by the MCP 'tools/list' handler, matching the registration schema.
name: 'get_latest_token_profiles', description: 'Get the latest token profiles', inputSchema: { type: 'object', properties: {}, required: [], },