MCP server: weryfikacja brzmienia przepisu PL/UE z oficjalnego źródła (api.sejm.gov.pl, EUR-Lex)
Two tools with minimal schema documentation and descriptions that lack LLM-optimization guidance. verify_article has a single string parameter with no type validation, format constraints, or error recovery hints. list_acts has no parameters but both tools lack structured output schemas. Descriptions are present but generic, they explain WHAT without guiding WHEN to use or HOW to handle failures. No parameter validation rules, no enum constraints, no pagination support despite potential for large result sets. Error handling returns raw exception names without recovery guidance.
Lista obsługiwanych kodów aktów (PL + UE) dla verify_article.
Dokładne brzmienie cytowanego przepisu z OFICJALNEGO źródła (api.sejm.gov.pl dla PL, EUR-Lex dla UE) — zwraca tylko ten artykuł, nie cały akt. Zwraca AKTUALNE brzmienie (tekst jednolity). Anti-halucynacja: weryfikacja cytatu wprost ze źródła. Format: 'art. N [ust. M] KOD'. Przykłady: 'art. 45 u.k.k.', 'art. 385 KC', 'art. 28 ust. 3 RODO', 'art. 10 CCD'. Kody: list_acts().
No input schema validation for verify_article citation parameter. Accepts free-form string with no enum, regex pattern, or format constraint. LLM cannot infer valid citation formats from schema alone, must parse description text.
Output schemas not documented. verify_article returns string; list_acts returns string. LLMs cannot plan downstream operations or extract structured data. No field definitions, no pagination metadata, no error structure.
Error handling returns raw exception names ('❌ Błąd weryfikacji: {type(e).__name__}: {e}') without recovery guidance. LLM cannot determine if error is retryable, user-fixable, or fatal.
Descriptions lack actionable context. verify_article description is 280+ chars but buries key details in Polish text. No explicit statement of WHEN to use vs alternatives, no prerequisites, no expected latency or rate limits.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 41 | <=2025-11-25 | v2 |
list_acts returns unstructured string (comma-separated codes). No pagination, no structured array of act objects with metadata (name, jurisdiction, year). Large result sets will waste tokens and confuse LLM parsing.