API-key pre-action risk gate: any irreversible agent action (money, SQL, delete, email).
Two well-defined tools with strong descriptions and clear schemas. 'forecast' and 'observe' are verb-noun named and have detailed, LLM-optimized descriptions (200+ chars each). Input schemas use Zod with type definitions and parameter descriptions. However, output schemas are not formally documented in the code, responses are described in prose but lack structured schema declarations. Error handling is comprehensive with actionable guidance (FAIL CLOSED pattern, recovery hints). Security is strong: API key injection via environment/header, no secrets in params. Minor gap: output structure not formally declared for downstream tool chaining.
Call this BEFORE taking ANY irreversible or high-stakes action — sending an email, making a payment, running SQL, deleting files or data, posting public content, calling an external API that changes state. It returns a risk score (0–100), a recommendation (GO / CAUTION / STOP), and named red flags. If the recommendation is STOP, do not take the action — surface the flags to the user instead. If CAUTION, confirm with the user first.
Call this AFTER an action runs (or after deciding NOT to run it because BLACK_WALL returned STOP/HUMAN_REQUIRED) to report what actually happened. Closes the loop with the earlier forecast — BLACK_WALL compares your observation to the prediction to track accuracy and improve future forecasts. FREE — no tokens charged. Always call this if you have a forecast_id from a recent `forecast` call.
Output schemas not formally documented. Response structure (id, recommendation, risk_score, red_flags, gate, reversibility) is described in prose but lacks a JSON Schema declaration. Downstream tools and LLMs cannot reliably parse or chain on undocumented output fields.
STDIO-only transport. Server is not remotely accessible and cannot be used by hosted MCP clients. This is a hard architectural limitation, not a code quality issue, but it severely restricts deployment scenarios.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). 'forecast' is read-only and 'observe' is write-only, but these are not declared via tool annotations. LLMs cannot infer safety properties without explicit hints.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 66 | <=2025-11-25 | v2 |
Pagination not applicable but result limits not stated. 'forecast' returns a single verdict; 'observe' is a write-only acknowledgment. Both are fine, but if future tools return lists, they should declare limits (e.g. 'max 50 red flags per response').
Error responses are text-only. Errors return isError=true with text content, but no structured error code or category (retryable, user-fixable, fatal). LLMs cannot programmatically classify failures.