sap_build_spl_transfer
Build an unsigned SPL token transfer transaction. Returns serialized base64 transaction for the agent to sign locally with sap_payments_finalize_transaction or sap_sign_transaction → sap_submit_signed_transaction. This is the hosted-safe equivalent of spl-token_transfer (which is local-signer-onl...
This record as markdown: /tools/oobe-protocol-labs-sap-mcp-server/sap-build-spl-transfer.md
What sap_build_spl_transfer does on Sap
AI agents use sap_build_spl_transfer to commit financial operations through Sap, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
mint | string | — | SPL token mint address in base58. |
amount | number | — | Amount of tokens to transfer in base units (respect the mint decimals). |
decimals | number | — | Token decimals for the mint. Used for display purposes only — the on-chain amount is in base units. |
sourceOwner | string | — | Source token account owner public key in base58. This is the fee payer and must sign the transaction locally. |
destinationOwner | string | — | Destination wallet public key in base58. The destination ATA will be created if it does not exist. |
Parameters from the server's own tool schema.
Why sap_build_spl_transfer is rated Critical
Moves money/tokens on Solana blockchain; financial obligation commitment via token transfer mechanism.
From the tool's definition SPL token transfer transaction, builder fee applies, hosted unsigned transaction.
Attacks that exploit this kind of access
The rule that runs sap_build_spl_transfer safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Sap, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For sap_build_spl_transfer, this is the rule to start with:
Any call to sap_build_spl_transfer is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Sap, apply this rule, and every sap_build_spl_transfer call is checked against it from then on.
Questions about sap_build_spl_transfer
Build an unsigned SPL token transfer transaction. Returns serialized base64 transaction for the agent to sign locally with sap_payments_finalize_transaction or sap_sign_transaction → sap_submit_signed_transaction. This is the hosted-safe equivalent of spl-token_transfer (which is local-signer-only and cannot run on the hosted accountless server). Builder fee applies. 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. It is categorised as a Financial tool in the Sap MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
sap_build_spl_transfer accepts 5 parameters: mint, amount, decimals, sourceOwner, destinationOwner. The full parameter table on this page comes from the server's own tool schema.
Register the Sap MCP server in PolicyLayer and add a rule for sap_build_spl_transfer: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Sap. Nothing to install.
sap_build_spl_transfer is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the sap_build_spl_transfer rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for sap_build_spl_transfer. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
sap_build_spl_transfer is provided by the Sap MCP server (https://mcp.sap.oobeprotocol.ai/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Sap, and thousands of servers like it.
Across the catalogue