Skip to main content
Glama
kuyen-labs

Fuul MCP Server

by kuyen-labs

resolve_token_holder_price_reference

Resolve a token's volume currency expression for token-holder triggers. Automatically checks if token is listed or prompts for stablecoin/variable and decimals.

Instructions

Resolves context.volume_currency_expression for token-holder triggers (check + assign). Step 1: pass token_address and chain_identifier (or chain_id). If the token is already in Fuul price references → status listed_use_same_address, use token_address as volume_currency_expression. Step 2: if status needs_user_input, ask: stablecoin or variable? decimals 6 or 18? Then call again with token_kind and decimals. Step 3: status resolved returns assigned volume_currency_expression (e.g. stablecoin + 18 decimals on Ethereum → DAI). Use that in create_trigger. create_trigger rejects unlisted tokens when volume_currency_expression equals token_address. Example listed: {"token_address":"0x6b175474e89094c44da98b954eedeac495271d0f","chain_identifier":"ethereum"}. Example assign: {"token_address":"0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD","chain_identifier":"ethereum","token_kind":"stablecoin","decimals":18}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_addressYesHeld token contract address (EVM 0x... or chain-native mint).
chain_identifierNoChain for currencies API (e.g. "ethereum"). Prefer with list_chains.
chain_idNoEVM chain_id alternative (e.g. 1 → ethereum). Used when chain_identifier omitted.
token_kindNoRequired when token is not listed: stablecoin or variable-price.
decimalsNoRequired when token is not listed: token decimals (6 or 18).
Behavior4/5

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

With no annotations, the description fully bears the transparency burden. It discloses the multi-step, stateful behavior (statuses: listed_use_same_address, needs_user_input, resolved) and provides examples. It could be more explicit about error conditions or what happens if invalid parameters are passed, but overall it is quite transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise (~120 words) and well-organized with enumerated steps and examples. Every sentence adds distinct value, no redundancy. It is front-loaded with the purpose, making it easy to scan.

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

Completeness3/5

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

The description explains the step-by-step usage and parameter conditions well. However, it does not describe the response format or output structure (e.g., exact fields returned for each status). Given the absence of an output schema, this gap makes the tool harder to integrate without external documentation.

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 100%, so baseline is 3. The description adds significant value by explaining the conditional roles of parameters: token_kind and decimals are only needed when status is 'needs_user_input'. Concrete JSON examples further clarify usage beyond the schema definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool resolves 'context.volume_currency_expression for token-holder triggers' and outlines a specific three-step process. It distinguishes itself from siblings like 'list_price_references' by focusing on a single token's resolution path.

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?

The description provides step-by-step instructions on when to pass which parameters (e.g., first call with token_address, second with token_kind/decimals if needed). It also warns about create_trigger rejecting unlisted tokens when using token_address directly. However, it does not explicitly list when not to use the tool or name alternative tools for different scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kuyen-labs/mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server