Four well-named tools with strong descriptions and complete input schemas. All tools follow verb_noun naming (list_, describe_, search, get_). Descriptions are detailed and contextual (194 - 392 chars, within baseline). Input schemas are properly typed with descriptions for all parameters. However, output schemas are not documented, callers cannot see what fields to expect from responses. Error handling is present but generic (ToolError wrapping). No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite all tools being read-only. Missing pagination guidance in search tool despite accepting limit/offset.
Describe an archive's schema: fields, types, and allowed operators. Analogous to ``DESCRIBE TABLE``. The ``operators`` list per field tells you which operators are valid in :func:`search`'s ``filters`` for that field. Keyword fields with a defined value list also expose ``select_list``.
Fetch a document's metadata and content by its internal ID.
List archives accessible to the configured DocuWare service account. Analogous to ``SHOW DATABASES``. Returns each archive's display name, internal ID, and the organization it belongs to. Baskets are excluded.
Search documents in an archive using the structured filter DSL. IMPORTANT: `filters` and `order_by` are structured arguments. Pass them as a JSON object/array, NOT as a JSON-encoded string. Correct: ``{"BELEGART": "Rechnung"}``; incorrect: ``"{\"BELEGART\": \"Rechnung\"}"`. Stringified JSON is accepted as a fallback for buggy clients but indicates a malformed tool call. `filters` and `order_by` play distinct roles: `filters` selects which records are eligible (bounds, ranges, exact matches); `order_by` with `limit` chooses which of those eligible records to return (ranking and cutoff). Express any bound as a filter, even one phrased qualitatively — bounds map to `gte` / `lte` / `between` on numeric and date fields, or `like` on text. A sort plus a small limit is not a substitute for a bound: it ranks every record in the archive and rarely matches what was actually meant.
Output schemas not documented. Callers cannot see what fields search() and get_document() return, forcing LLMs to guess field names for downstream operations.
Tool annotations missing. All four tools are read-only but lack readOnlyHint annotation. This prevents clients from optimizing caching and retry logic.
search() description does not state result limit or pagination behavior. Callers cannot predict whether 1000 documents will be returned or capped at 25.
get_document() description is minimal (11 words). Does not explain what 'content' means (file bytes? text? metadata?) or what fields are returned.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 66 | <=2025-11-25 | v2 |
Error handling is generic (ToolError wrapping). No recovery guidance for common failures (archive not found, invalid filter syntax, document not accessible).