This server has critical structural issues that severely impact quality. Tool definitions are inferred from a catalog file rather than directly visible in explicit schema/registration code. Many tools lack visible input schemas (14 of 27 have no input schema shown). Descriptions are present but generic and often contain deprecation/demo warnings rather than actionable guidance. The codebase shows a 'tool_catalog.py' that categorizes tools but does not show the actual tool definition registration with full JSON Schema. Per the hard rules, tools without visible schemas and those defined by inference must score low. The server conflates legacy compatibility, synthetic demos, and server-owned tools in a single namespace, creating confusion about what is actually production-ready.
No visible input schemas for 14 of 27 tools. Tool definitions are inferred from tool_catalog.py categorization, not directly visible in registration code.
Descriptions for 13 tools are either missing or extremely generic (under 50 chars), consisting only of 'Server-owned tool for X' or '[DEMO ONLY]' warnings. These provide no LLM-actionable guidance on WHEN to use the tool or WHAT it returns.
CRITICAL: Make tool registration code visible. Show explicit tool_definition registration with full JSON Schema for each parameter (type, description, enum, constraints). Currently the catalog.py file only shows metadata categorization, not the actual schema used in tool discovery responses.
CRITICAL: Document every parameter with type, description, constraints, and examples. For tools with visible schemas (validate_citation, check_claim_support), parameter descriptions are present but underdocumented. For 14 tools with no visible schema, add them immediately. Baseline: 100% of A+ tools have all params described.
CRITICAL: Expand all tool descriptions to 50-200 characters (production baseline: 194 avg, p90=392). Current descriptions like 'Server-owned tool for getting legal research capabilities' are boilerplate and provide no actionable signal to an LLM. Rewrite as: 'Search Taiwan legal database for relevant laws, judgments, and constitutional references. Accepts free-form query; returns ranked results with source tier, URL, and excerpts. Use when researching specific legal issues.'
HIGH: Add output schema documentation for all tools. Document what fields are returned (e.g., result.sources[], result.summary, result.confidence). LLMs cannot plan downstream tool calls without knowing what data they'll receive.
HIGH: Separate production tools from demo/legacy variants. Do NOT expose demo and legacy tools by default. Use tool profiling (VERIFIED vs DEMO vs COMPATIBILITY profiles from tool_catalog.py) to filter discovery responses. The agent should never accidentally call a synthetic-fixture demo when a real research tool is available.
Score history
Overall score trend
First recorded score · v2 rubric
42/100
Scored
Grade
Overall
Spec posture
Rubric
2026-09-23
F
42
2026-07-28+
v2
read onlysource verified43/100
[DEMO ONLY] Synthetic fixtures are for demonstration only; use lookup_legal_source or research_legal_question for formal server-owned research.
exact_law_lookupread onlysource verified43/100
[DEMO ONLY] Synthetic fixtures are for demonstration only; use lookup_legal_source or research_legal_question for formal server-owned research.
Tool catalog mixes server-owned, legacy compatibility, and synthetic demo tools in a single namespace without clear visibility or access control. An LLM may select a DEMO tool with synthetic fixtures when production data tools are available. Catalog entries reference alternatives but this requires the agent to read error messages, no proactive guidance at discovery time.
No visible parameter descriptions or type constraints for most server-owned tools. The 13 tools with no visible input schema have no documented parameter guidance. Without descriptions, LLMs cannot reason about correct inputs.
Destructive tool 'purge_research_storage' lacks error handling guidance and has no documented confirmation or dry-run capability. No visible error recovery path or permission gate. Violates the irreversible-operations pattern.
Tools with visible schemas (agentic_legal_research, validate_citation, check_claim_support) lack output schema documentation. LLMs cannot predict downstream data flow or extract result fields for chaining.
No visible error classification or recovery guidance. Error responses are not documented to indicate retryability, user-fixability, or fatal status. An LLM receiving a bare error has no actionable next step.
HIGH: Add error classification to tool descriptions and implement structured error responses. Document: 'Returns error_type (not_found, permission_denied, rate_limited, invalid_query) with recovery_hint. E.g., 'Case not found. Try: (1) Confirm case number format, (2) Search by party names, (3) Check judgment date range.'
HIGH: Implement confirmation/dry-run for purge_research_storage. Add a dry_run parameter (default: true) so agents can preview impact before destruction. Pattern: 'Tool requires explicit confirm=true to destroy. First call with confirm=false to see what would be deleted.'
MEDIUM: Add tool annotations (readOnlyHint, destructiveHint, idempotentHint) to the tool definitions. Mark research_legal_question and lookup_legal_source as readOnlyHint=true; mark purge_research_storage as destructiveHint=true. This helps clients understand tool semantics at discovery time.
MEDIUM: Document tool composition/chaining. Add hints like: 'After calling research_legal_question, use lookup_legal_source to fetch full text with citations. Then use validate_legal_answer to check claim support against sources.' This guides multi-step planning.
MEDIUM: Add pagination support to tools returning lists (research_legal_question, lookup_legislative_history, lookup_legal_source). Parameters: limit (default 20, max 100), offset or next_cursor. Return total_count or has_more. Prevent context window exhaustion from 500+ results.
LOW: Provide natural-language identifiers. If tools accept case IDs, also accept case names or party names and resolve them server-side. Reduces extra lookup calls and aligns with the chat data model (users say 'the tax case', not 'case_id=TW-2024-12345').