Skip to main content
Glama
OOBE-PROTOCOL

SAP MCP Server

magicblock transfer

magicblock_transfer

Constructs an unsigned SPL token transfer using an Ephemeral Rollup. Supports public/private visibility, delayed settlement, split transfers, and gasless execution for flexible token movement.

Instructions

Build an unsigned SPL token transfer (public or private) through an Ephemeral Rollup. Supports base/ephemeral source and destination, delayed settlement, split transfers, and gasless mode. Then use sap_preview_transaction, sap_sign_transaction, and sap_submit_signed_transaction. Builder fee applies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient wallet pubkey
fromYesSender wallet pubkey
memoNoOptional memo appended to the transaction
mintYesSPL mint pubkey
splitNoPrivate only. Number of queue entries to split across (1-15, default 1)
amountYesBase-unit amount to transfer (integer, minimum 1)
legacyNoSkip lookup-table compilation, return a legacy transaction (default false)
clusterNoCluster: 'mainnet', 'devnet', or custom RPC URL
gaslessNoWhen true, uses configured sponsor as fee payer (default false)
authTokenNoBearer token from login (required for private transfers)
toBalanceYesWhere the recipient should receive funds
validatorNoOptional ER validator pubkey
maxDelayMsNoPrivate only. Latest (ms) the queued transfer may settle (<= 600000)
minDelayMsNoPrivate only. Earliest (ms) the queued transfer may settle. Default '0'
visibilityYes'public' = transparent SPL transfer, 'private' = routed through Private ER with delayed+split settlement
clientRefIdNoPrivate only. Encrypted client reference ID for payment confirmation
fromBalanceYesWhere the sender's balance is held
initIfMissingNoInitialize transfer queue if missing (default true)
initAtasIfMissingNoInitialize recipient ATA if missing (default true)
initVaultIfMissingNoInitialize vault if missing (default false)

Output Schema

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

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

Annotations indicate the tool is not read-only, not idempotent, not destructive. The description adds context like 'unsigned', 'delayed settlement', 'split transfers', 'gasless mode', and 'private/public' visibility, which go beyond the annotations and clarify the tool's non-finalizing nature.

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 description is a single paragraph of four sentences that covers the main purpose, features, and workflow without redundancy. However, it could be more scannable with structured sections for parameters or use cases.

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?

Given the tool's complexity (20 parameters, optional features like split and delayed settlement), the description provides a solid high-level overview but does not fully explain parameter interdependencies or the mechanics of private transfers. An output schema exists, somewhat compensating for return value details.

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% with each parameter described. The description adds some high-level grouping (e.g., 'base/ephemeral source and destination') but does not significantly enhance understanding beyond the schema. Baseline 3 applies.

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 builds an unsigned SPL token transfer via Ephemeral Rollup, specifying verb ('Build'), resource ('unsigned SPL token transfer'), and unique context ('public or private', 'Ephemeral Rollup'). It distinguishes from sibling tools like spl-token_transfer by emphasizing the rollup and subsequent workflow.

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 explicitly indicates the follow-up tools (sap_preview_transaction, sap_sign_transaction, sap_submit_signed_transaction) to complete the transaction lifecycle. It also mentions builder fee, but lacks explicit guidance on when not to use this tool or specific exclusions.

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