Skip to main content
Glama

sap phoenix get trader

sap_phoenix_get_trader
Read-onlyIdempotent

Get Phoenix trader state (positions, orders, collateral). You MUST provide the trader's wallet address (base58 public key). If querying your own positions, use your own wallet address. Free read.

SAP MCP execution guidance: Intent: Solana value-action or trading workflow. Pricing: paid read-premium; estimate first, then use sap_payments_call_paid_tool when the runtime cannot replay x402 natively. 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). This is REQUIRED — the tool will fail without it.

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 (base58)"New value: +"Trader wallet authority public key (base58). This is REQUIRED — the tool will fail without it."
  2. Added

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already establish read-only, open-world, idempotent, non-destructive behavior. The description adds a 'Free read' claim and a signer-boundary note, but then contradicts 'Free read' with 'Pricing: paid read-premium' and paid-call routing guidance. This internal inconsistency undermines the extra behavioral context.

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 opening is tight and front-loaded, but the large 'SAP MCP execution guidance' block is generic, duplicated in the input schema, and contains a pricing statement that contradicts 'Free read.' It does not earn its place in the description.

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?

For a simple one-parameter read operation with an output schema, the description covers the required input and the returned categories. However, the free-vs-paid ambiguity and the lack of distinction from similarly named sibling tools leave the context incomplete.

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?

The input schema already documents 'authority' as a required base58 public key at 100% coverage, so the baseline is 3. The description adds practical meaning by explaining it is the trader's wallet address and by telling the agent to use its own address for self-queries, which goes beyond the schema.

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 first sentence names a specific operation ('Get Phoenix trader state') and enumerates the returned content (positions, orders, collateral). However, a sibling tool named sap_phoenix_get_trader_state exists, and the description does not differentiate this tool from it or from sap_phoenix_get_trader_pnl.

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 gives argument-level guidance: the authority must be provided, and the agent should use its own wallet address when querying its own positions. But it never says when to choose this tool over sap_phoenix_get_trader_state or sap_phoenix_get_trader_pnl, and provides no exclusions or alternative routing.

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.