Secure AI code execution platform powered by Edge.js WASM sandboxing
SandboxAI exhibits critical definition quality gaps across all six tools. While tool names follow verb_noun convention (calculate, get_weather, search_products, validate_email, execute, processWebhook), descriptions are present but lack LLM-optimization guidance. Most critically: the 'execute' tool accepts arbitrary code with a 'policy' parameter that is itself an object, this violates the constrained-input pattern and creates a security/clarity nightmare. Parameter descriptions exist but are often generic ('Environment variables and context data'). Output schemas are entirely undocumented, LLMs cannot plan downstream calls without knowing what fields are returned. The 'processWebhook' tool mixes concerns (validation + routing) and lacks error recovery guidance. No tool documents pagination, result limits, or idempotency. Error handling is absent from all tool definitions.
Perform mathematical operations including add, subtract, multiply, divide, and compound interest calculations
Execute arbitrary code in a sandboxed WASM environment with configurable security policies
Retrieve weather information for a specified location including temperature, condition, humidity, and forecast
Process incoming webhooks safely with validation and event-based routing
Search for products by query string, returning matching products with details
Validate email address format and check if domain is common, providing suggestions for invalid emails
execute tool accepts arbitrary code with unconstrained 'policy' object parameter. No enum constraints on 'engine' field (v8|jsc|quickjs). Policy object structure is undocumented, forcing LLMs to guess valid keys (timeout, memory, network, filesystem). Violates constrained-input pattern.
No output schemas documented for any tool. LLMs cannot infer return structure (e.g., does get_weather return 'temperature' or 'temp'? Is it a number or string?). Breaks tool-chain composition and forces agents to guess field names.
Parameter descriptions are generic or incomplete. 'context' param described as 'Environment variables and context data' without format/structure. 'policy' param described as 'Security policy configuration' without listing valid keys. Violates tool-description pattern.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 49 | <=2025-11-25 | v2 |
processWebhook tool combines validation + routing (two concerns). 'event' parameter accepts free-form strings ('payment.success', 'user.signup', etc.) without enum constraint. No error recovery guidance for invalid events or failed routing.
search_products and get_weather lack pagination parameters (limit, offset, page_size) and result-limit documentation. No guidance on max results returned. Violates paginated-result pattern.