Skip to main content
Glama

sap perpspad build launch

sap_perpspad_build_launch

Build a PerpsPad token launch backed by a leveraged perp: returns the UNSIGNED config + pool transactions. This tool does NOT broadcast anything — sign and send BOTH transactions from the user wallet (pays rent, dev-buy 0.1-5 SOL or 5-5000 USDC, and the 0.01 SOL fee), then poll sap_perpspad_get_launch_status until live. Backing: underlying+leverage+direction (single) or 2-leg basket. Validate leverage against sap_perpspad_get_markets. BUILDER tier.

SAP MCP execution guidance: Intent: hosted unsigned transaction builder. Pricing: paid builder; estimate first, then pay/build and finalize unsigned transactions locally when returned. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
legsNoOptional 2-leg basket instead of single underlying (e.g. NVDA long + SOL short). Each leg: {underlying, leverage, direction}.
nameYesCoin display name
quoteNoPairing token: SOL (default), USDC, or CUSTOM
devBuyYesDev-buy in quote units (SOL 0.1-5, USDC 5-5000)
tickerYesCoin ticker, A-Z 0-9 only (e.g. MOON)
imageUrlNoOptional coin image URL
leverageNoLeverage of the backing perp (1..market cap)
directionNoSide of the backing perp
quoteMintNoCUSTOM only: the SPL mint to pair against (verified server-side)
twitterUrlNoOptional X/Twitter URL
underlyingNoSingle-perp market backing the coin (e.g. SOL, BTC, OIL — see sap_perpspad_get_markets). Provide underlying+leverage+direction OR legs.
websiteUrlNoOptional website URL
quoteDecimalsNoCUSTOM only: decimals hint (server uses on-chain decimals)
creatorAddressYesCreator wallet: signer, payer, buyer, dev-buy recipient

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Rich disclosure well beyond annotations: states it does NOT broadcast, returns unsigned transactions, requires the user to sign and send both, itemizes the costs (rent, dev-buy ranges, 0.01 SOL fee), requires polling, and details the signer boundary (hosted builders never receive keypair bytes). This aligns with readOnlyHint=false and adds far more context than the annotations alone.

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

Conciseness4/5

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

The functional body is dense and front-loaded with the critical facts (unsigned, no broadcast, sign both, poll status). The appended 'SAP MCP execution guidance' block is somewhat verbose boilerplate that appears reused across tools, but it carries real routing and signer-boundary value, so it earns its place despite adding length.

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

Completeness4/5

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

For a complex 14-parameter, paid-tier tool with an output schema present, the description is nearly complete: it covers return type, the do-not-broadcast warning, the required post-build actions, backing options, validation, pricing, and signer boundary. The only meaningful omission is explicit guidance distinguishing this from the escrow-based launch builder.

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 real value by clarifying the mutually exclusive backing structure — underlying+leverage+direction (single) OR 2-leg basket — and reiterating the dev-buy quote ranges and CUSTOM quote semantics. This goes slightly beyond the schema's per-field descriptions.

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?

The description clearly states the verb (build), resource (PerpsPad token launch backed by a leveraged perp), and output (UNSIGNED config + pool transactions), and it names the validation and status tools. However, it does not explicitly differentiate itself from its near-identical sibling sap_perpspad_build_escrow_launch, so an agent choosing between the two launch builders must infer the distinction.

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?

Provides a complete workflow: validate leverage against sap_perpspad_get_markets, build, sign and send BOTH transactions, then poll sap_perpspad_get_launch_status until live. The execution guidance adds routing instructions (estimate with sap_estimate_tool_cost, pay via sap_payments_call_paid_tool or x402). The notable gap is the absence of an explicit when-not-to-use statement contrasting the escrow launch sibling.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.