MCP server for full-text search and retrieval of legislation across multiple countries. Loads a lex triplestore, builds a full-text index, and serves tools over stdio.
All 5 tools lack input parameter schemas entirely, a critical failure. Tool descriptions are present but generic (avg 95 chars, well below the 194-char baseline for A+ tools). No parameter descriptions, no output schemas documented, no error handling guidance. Tools are read-only (good) but the definitions are skeletal. This server would not pass code review for production use.
List the acts this act cites or consolidates.
Get an act's metadata (title, version/as-of date, in-force status, source URL) and its articles, by resource URI.
Get a single article of an act by act URI and article number.
List the acts this act amends, is amended by, or repeals.
Full-text search over legislation titles and article text. Returns ranked hits with an act_uri to pass to get_act.
No input parameter schemas defined for any tool. The mcp.Tool structs in internal/mcp/server.go register only Name and Description; InputSchema is absent or nil. LLMs cannot determine what parameters to pass, their types, or constraints.
No parameter descriptions. Even if schemas existed, parameters lack descriptions explaining what they control, their format, or valid values. LLMs cannot infer intent from parameter names alone.
No output schemas documented. Tool descriptions do not specify what fields are returned, their types, or structure. Agents cannot plan downstream calls or extract required data (e.g., act_uri from search_laws to pass to get_act).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 37 | 2026-07-28+ | v2 |
Tool descriptions are generic and lack context. 'Full-text search over legislation titles and article text' does not explain when to use search_laws vs find_related, what format queries accept, or how results are ranked. Descriptions should be 50 - 200 chars with actionable guidance.
No error handling guidance. Tool descriptions do not explain what errors can occur, whether they are retryable, or what the LLM should do next. A 'not found' error gives no recovery path.