Skip to main content
Glama

sap phoenix build register trader

sap_phoenix_build_register_trader

Create a Phoenix trader account (RegisterTrader only — the account stays FROZEN with NO deposit capability until activation). Full onboarding = registration + activation: 1) sap_phoenix_build_register_trader → preview/sign/submit locally (creates the account); 2) sap_phoenix_build_onboard_trader + sap_phoenix_submit_onboard_trader (Phoenix co-signs, enables deposit/withdraw/trade); 3) verify with sap_phoenix_get_trader_state — state must leave "frozen" and depositCollateral must be immediate before sap_phoenix_build_deposit can succeed.

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
authorityYesTrader wallet authority public key (base58). REQUIRED — pass the user's wallet address.
maxPositionsNoMaximum positions (default 8)

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. Changed1 schema field changed
    • changedInput schema / properties / authority / description
      Previous value: -"Trader authority public key"New value: +"Trader wallet authority public key (base58). REQUIRED — pass the user's wallet address."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Discloses that the tool creates a frozen account with no deposit capability, that the result must be signed/submitted locally, and that hosted builders never receive keypair bytes. These are important side-effect and signer-boundary traits not inferable from annotations, and they do not contradict readOnlyHint=false/idempotentHint=false/destructiveHint=false.

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 core purpose and numbered onboarding steps are front-loaded, followed by a dense but relevant SAP execution-guidance block. Some boilerplate is repeated in the schema description, and the guidance paragraph is long, but every section carries operational value — minor redundancy prevents a 5.

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

Completeness5/5

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

Despite the boilerplate, the description is complete for a complex paid builder: it names the intent, pricing/routing flow, signer boundary, sequential sibling tools, and the verification gate before deposit. The output schema exists to cover return values, so nothing critical is missing.

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 description does not add parameter-level detail; authority and maxPositions are already fully described in the schema (e.g., 'REQUIRED — pass the user's wallet address', 'default 8'). With 100% schema coverage, the baseline of 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?

States a specific verb and resource: 'Create a Phoenix trader account,' and immediately narrows scope to 'RegisterTrader only' with the frozen-state caveat. It distinguishes itself from sibling onboarding and deposit tools by naming the exact flow and the condition that leaves the account with no deposit capability.

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

Usage Guidelines5/5

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

Explicitly lays out the ordered onboarding pipeline: register → onboard + submit → verify via get_trader_state → deposit. Names the sibling tools to use at each stage and the precondition ('state must leave frozen and depositCollateral must be immediate') before sap_phoenix_build_deposit can succeed. This is strong when-to-use and sequencing guidance.

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.