Skip to main content
Glama

sell_token

Sell a token on any supported chain using absolute or percentage amounts. Provide chain, token address, and amount to execute the trade.

Instructions

Sell a token on any supported chain. Amount can be absolute ('100') or percentage ('50%').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dexNoPreferred DEX
chainYesChain identifier
amountYesAmount to sell, e.g. '100' or '50%'
referrerNoReferral address
slippageNoMax slippage tolerance in percent
outputTokenNoOverride output token address
priorityFeeNoSolana priority fee in SOL
tokenAddressYesContract address of the token to sell
walletAddressNoWallet address to trade from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.11.3

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses almost nothing: it does not say the sell executes immediately as a market order, whether it is irreversible, how slippage is handled (default 1%), or how errors on unsupported chains are surfaced. The amount-format note is the sole behavioral hint.

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?

Two short sentences with zero filler, and the core action is front-loaded before the amount-format clarification. Nothing in the text is redundant or padded.

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

Completeness2/5

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

For a 9-parameter, unannotated, output-schema-less mutation tool, the description is far too thin: no return/result information, no mention of wallet resolution or defaults, no handling of the optional referrer, priorityFee, dex, or outputToken behaviors. It leaves the agent to infer consequential execution semantics.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all 9 parameters, including the amount format the description repeats. The description adds no syntax, default, or constraint detail beyond what the schema provides, so the baseline 3 applies.

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 ('Sell a token') plus the supported scope ('any supported chain'), which is clearer than a bare name restatement. However, it does not distinguish this market-sell from siblings like limit_sell, managed_sell, or execute_spot, so an agent cannot tell them apart from the description alone.

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

Usage Guidelines2/5

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

No guidance on when to use this versus limit_sell, managed_sell, or execute_spot, and no mention of prerequisites such as a funded wallet or authenticated session. The only usage detail given is the amount-format convention.

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

Deploy Server

Other Tools