Skip to main content
Glama
OOBE-PROTOCOL

SAP MCP Server

Raydium-pools Add Liquidity

raydium-pools_addLiquidity

Add liquidity to Raydium pools (CPMM, CLMM, or AMM v4) by providing wallet and pool ID with optional amounts and price range.

Instructions

Add liquidity to a Raydium pool (CPMM, CLMM, or AMM v4). SAP MCP context: This Synapse AgentKit tool is served beside the sap_* SDK tools. Use sap_agent_identity_plan, sap_payments_register_agent, sap_payments_update_agent, and sap_publish_tool_by_name when the capability should become part of an on-chain SAP agent profile or tool registry entry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poolIdYesRaydium pool ID
walletYesSolana public key (base58)
amountANoRaw token amount (smallest unit)
amountBNoRaw token amount (smallest unit)
fixedSideNoFixed side for single-sided liquidity
priceLowerNoLower price for CLMM range
priceUpperNoUpper price for CLMM range

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesMCP content blocks returned to the caller.
isErrorNoTrue when the tool result represents an application-level error.
Behavior2/5

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

Annotations already indicate readOnlyHint=false (write operation) and destructiveHint=false. The description adds the pool type specifics but omits critical behavioral traits such as the need for token approvals, slippage tolerance, or failure conditions (e.g., if the pool does not exist).

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

Conciseness2/5

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

The first sentence is concise, but the second sentence is a lengthy, off-topic paragraph about SAP MCP context and other tools, which dilutes the focus. The description could be shortened to the first sentence alone.

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 having an output schema, the description lacks essential context for a DeFi tool: preconditions (e.g., token approvals, pool existence), error scenarios, or liquidity addition mechanics (e.g., single-sided vs. dual-sided). This leaves significant gaps for an agent.

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 coverage is 100%, so the baseline is 3. The description does not elaborate on any parameter beyond what the schema already provides, nor does it clarify usage for the enum-based fixedSide parameter or the optional price range parameters.

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 begins with a clear statement of the tool's function: 'Add liquidity to a Raydium pool (CPMM, CLMM, or AMM v4).' This directly identifies the verb (add liquidity), resource (Raydium pool), and scope (specific pool types), distinguishing it from sibling tools like ray-dium-pools_removeLiquidity, createCPMM, etc.

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?

The description does not provide any guidance on when to use this tool versus alternatives (e.g., other DEXes or liquidity methods). The SAP MCP context paragraph discusses unrelated tools (sap_* SDK tools) and does not clarify usage scenarios for addLiquidity itself.

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/OOBE-PROTOCOL/sap-mcp'

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