A multi-server MCP implementation for agentic commerce on Solana, including product discovery/purchasing and wallet transaction signing
Three tools with significant definition gaps. find_products and buy_products have reasonable descriptions (100+ chars) but lack explicit input schemas in the visible code, tool definitions are inferred from FunctionTool wrapping. get_signed_transaction has a clear description but no visible schema. No parameter descriptions are present in any tool. Error handling is minimal (generic success/failure messages). No output schemas documented. Naming is acceptable (verb_noun pattern) but parameter naming lacks type suffixes (e.g., 'targetWallet' should be 'target_wallet_address'). No enum constraints, no validation guidance, no recovery hints.
Attempts to purchase one or more products. Requires a Solana payment confirmation (signed transaction). Verifies payment via facilitator, records the order in Supabase, deducts credit from wallet, and sends confirmation emails to buyer and admins.
Searches for products based on user input text. Uses AI to categorize the request, fetches matching products from the Shuppa API, and returns up to 6 best matches with product details including ID, image, name, and price.
Retrieves a signed Solana transaction from the wallet service. Calls the /api/402wallet endpoint to generate a transaction that transfers lamports to a target wallet.
No visible input schemas for any tool. Tool definitions are inferred from FunctionTool wrapping; explicit JSON Schema with types and descriptions not found in source.
Parameters lack descriptions. 'input_text', 'productIDs', 'signed_b64_payload', 'targetWallet', 'amountLamports' have no inline documentation explaining format, constraints, or valid ranges.
No output schemas documented. Callers cannot predict response structure (e.g., does find_products return product_id or id? What fields are in each product object?).
Error handling is generic. Responses like '❌ Failed to find products' or '❌ Error: {str(e)}' do not guide LLM recovery. No categorization of retryable vs. fatal errors.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 34 | 2026-07-28+ | v2 |
buy_products is irreversible (payment + order creation) but has no confirmation step or dry-run mode. Agents cannot preview consequences before executing.