pharia-skill exposes 5 tools with mixed quality. Three tools (search, document_metadata, documents) have well-structured input schemas with nested objects and detailed property descriptions, meeting baseline standards. However, invoke_tool and list_tools lack visible input schema definitions in the source code provided, forcing schema scoring to 0 for those tools. Tool descriptions are present but generic, most fall in the 50 - 120 character range, below the 194-char production baseline. Parameter descriptions exist for document_index tools but are minimal. No error handling guidance is documented. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are present. The server appears to be an SDK/framework for building skills that wrap MCP tools rather than a direct MCP server, which affects how tool definitions are surfaced. No output schemas are documented. Overall, the definitions are functional but lack the depth and LLM optimization needed for production use.
Retrieve metadata for specified documents
Retrieve full document contents including text/image modalities and metadata
Invoke external tools with specified arguments and receive modality results
List all available tools with their schemas. The Skill needs to know about the schema of different tools for prompt synthesis and tool calling support.
Search the document index using semantic queries with optional metadata filtering
invoke_tool and list_tools lack visible input schema definitions. No JSON Schema with type constraints or parameter descriptions are present in the source code. This violates the baseline requirement that every tool have a documented input schema.
Tool descriptions are generic and brief (40 - 120 chars), well below the 194-char production baseline. Descriptions like 'Invoke external tools with specified arguments and receive modality results' and 'List all available tools with their schemas' lack context about WHEN to use the tool, what it returns, and what the typical workflow is. This forces LLMs to infer intent without explicit guidance.
No output/return schemas are documented for any tool. The code shows ToolOutput and ToolResult types (pharia_skill/csi/inference/tool.py), but the tool definitions in bindings/imports do not declare what fields or structure LLMs should expect in responses. LLMs cannot plan downstream calls without knowing what data will be returned.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 48 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |
No error handling guidance. The search tool accepts a min_score filter but does not document what happens if no results meet the threshold (returns empty array? error?). The invoke_tool description mentions 'receive modality results' but does not explain error cases or recovery strategies.
Parameter naming inconsistencies. The search tool uses nested 'index_path' with properties (namespace, collection, index), while document_metadata and documents use a flat array of objects with the same properties. This inconsistency forces LLMs to reason about two different conventions for the same logical data (namespace/collection/name).
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are declared. All tools are marked Risk: READ_ONLY in metadata, but this is not exposed as formal tool annotations. LLMs cannot determine idempotency or side effects from the schema alone.
invoke_tool parameter 'arguments' is typed as 'object' with no property schema. This is overly permissive and gives LLMs no validation guidance. What properties are valid? Are there constraints on value types? The tool implementation will receive arbitrary JSON without schema guardrails.
search tool 'filters' parameter is complex (array of oneOf objects with 'without', 'with', 'with_one_of' keys) but descriptions are minimal ('Logical conjunction of negations', 'Logical conjunction'). LLMs will struggle to construct correct filter syntax. Provide examples or a more detailed explanation.