MCP server with Stage0 authorization - demonstrates how to guard tool calls with runtime policy validation
Server demonstrates solid schema coverage with all 6 tools having explicit input schemas and descriptions. Tool names follow verb_noun convention (research-topic, publish-content, deploy-changes, managed-deploy, retry-workflow, check-authorization). However, descriptions lack depth and context for LLM selection. Most descriptions are 50-100 chars, below the 194-char baseline for production tools. Parameter descriptions are present but minimal. No output schemas documented. Error handling exists but lacks recovery guidance. Security patterns (Stage0 authorization) are well-integrated but not formally declared in tool metadata.
Check if an action would be authorized by Stage0 (does NOT execute the action)
Deploy changes to an environment. Context-aware: requires appropriate actor_role for production deployments.
Deploy with full authorization context. Demonstrates actor_role, approval_status, environment, and resource_scope usage.
Publish content to a public channel (HIGH RISK - typically DENIED)
Research a topic and return informational summary (LOW RISK - typically ALLOWED)
Retry a failing workflow (MEDIUM RISK - may DEFER if loop threshold exceeded)
No output schemas documented. Tools return text responses but LLMs cannot infer structure of Stage0 authorization responses (verdict, decision, reason, request_id, policy_version). Downstream tools cannot reliably extract and chain results.
Descriptions lack WHEN/WHY context. 'Research a topic and return informational summary' does not explain when to call this vs other tools, prerequisites, or risk level. Baseline production tools average 194 chars; these average ~70 chars.
Error handling returns text blocks with emoji indicators but lacks actionable recovery guidance. When Stage0 returns DENY, LLM receives reason text but no guidance on what to try next or whether to escalate.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
Tool annotations (readOnlyHint, destructiveHint, idempotentHint) not declared in schema. Risk levels are documented in descriptions ('HIGH RISK', 'MEDIUM RISK') but not exposed as machine-readable metadata per MCP spec.
Parameter 'retryCount' in retry-workflow lacks validation constraints. Description says 'must be >= 0' but no minimum bound enforced in schema. LLMs may pass negative values.