SCP-as-MCP Server — REST API, MCP transport, and portal for SCPA Governance Center. Exposes Service Node metadata, business rules, dependencies, and shaped context packs via MCP tools and REST endpoints.
Server exposes 5 read-only governance tools with consistent naming (verb_noun pattern: list_, get_, search_, find_) and complete JSON schemas. All tools have descriptions (avg 95 chars) and typed input parameters with enums where appropriate. However, parameter descriptions are MISSING entirely, the schema shows types and constraints but no human-readable guidance for LLMs. Output schemas are undocumented. Error handling is not visible in the provided code. No tool annotations (readOnlyHint, etc.). The tools are well-structured for a governance/discovery domain but lack the LLM-optimization details (param descriptions, output docs, error recovery guidance) that distinguish A-grade tools.
Walk outbound dependencies of a Service Node up to depth N. Useful for impact analysis.
Search business rules across all registered Service Nodes by text or rule ID.
Get a shaped context pack for a Service Node, filtered by scope, layer, and requesting agent role.
Get an overview of a Service Node: purpose, scope, out-of-scope, ownership, criticality.
List Service Nodes known to the Governance Center. Optionally filter by domain, lifecycle, or criticality.
Parameter descriptions are completely absent. Schemas define types and enums but provide no guidance for LLMs on what each parameter controls, when to use it, or expected format. E.g., 'scope' enum has values ['overview','full'] but no description explaining the difference or when to choose each.
Output schemas are not documented. Tool descriptions state what they return (e.g., 'Get an overview...') but do not specify the structure, field names, or types of the response. LLMs cannot plan downstream tool calls or extract data without knowing response shape.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). All 5 tools are read-only, but this is not declared in the tool metadata. Modern MCP clients use annotations to optimize caching and retry logic.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2025-06-18+ | v2 |
Error handling strategy not visible. No evidence of recovery guidance, error categorization (retryable vs. user-fixable), or actionable error messages. E.g., if 'service_id' is not found, what should the LLM do next?
scpa_find_rule accepts a free-form 'query' string with no constraints or format guidance. LLMs may pass malformed queries. Consider documenting expected syntax (e.g., 'text search, rule ID, or regex') and adding validation.