Skip to main content
Glama
Typus-Lab

typus-perp-mcp

Official
by Typus-Lab

mint_stake_lp

Deposit tokens into a TLP liquidity pool and optionally stake the minted TLP with auto-compounding of rewards.

Instructions

Deposit tokens into the TLP liquidity pool and optionally stake the resulting TLP. Requires PRIVATE_KEY in .env.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stakeYestrue = automatically stake the minted TLP after deposit. false = receive TLP without staking.
amountYesAmount to deposit (raw integer with token decimals)
poolIndexYesLP pool index. '0' = mTLP pool (accepts SUI, USDC), '1' = iTLP pool (accepts USDC, for TYPUS market).
isAutoCompoundYestrue = enable auto-compounding of staking rewards. false = rewards accumulate without compounding.
stakePoolIndexYesStake pool index. '0' = mTLP stake pool, '1' = iTLP stake pool. Must match poolIndex.
collateralTokenYesToken to deposit. e.g. 'USDC', 'SUI'
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only mentions a prerequisite (PRIVATE_KEY) and lacks details about token transfers, minting, staking side effects, or reversibility. This is insufficient for a write-heavy DeFi operation.

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, with one clear sentence and a prerequisite note. It is front-loaded and contains no redundant or filler text.

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?

Despite the schema covering parameter semantics, the description omits critical operational context such as when to use this tool, the on-chain flow, or potential failures. With no output schema and no annotations, the description is insufficient for a complex 6-parameter transaction.

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?

The schema covers all 6 parameters with 100% description coverage, so the added value from the tool description is minimal. It does not elaborate on how parameters interact (e.g., stakePoolIndex must match poolIndex) beyond what the schema states.

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 action: deposit tokens into the TLP liquidity pool and optionally stake the resulting TLP. It distinguishes itself from siblings like stake_lp and redeem_tlp by combining minting and staking.

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

Usage Guidelines3/5

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

The description does not explicitly compare with alternatives like stake_lp. The phrase 'optionally stake' implies a choice but provides no guidance on when to use this tool versus staking existing TLP. The prerequisite note about PRIVATE_KEY is helpful but not a usage guideline.

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/Typus-Lab/typus-perp-mcp'

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