Search stored code snippets using semantic similarity. Exposes snippet repository helpers as MCP tools via FastMCP.
Single tool 'search' has well-structured schema with all parameters typed and described. Description is clear and actionable (187 chars, within 10-1024 baseline). However, output schema is not documented in the visible code, and error handling lacks recovery guidance. The tool follows verb_noun naming (search_*) and provides useful guidance on parameter usage. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) present. Overall quality is above average but missing documentation for output structure and comprehensive error patterns.
Search stored snippets using semantic similarity. Start with just your query with high limit; `limit` defaults to 10 and can be bumped to 20-50 if you're unsure (try 50 when exploring). Use optional `repo_name` and `language` filters for follow-up searches once you learn which repository or language to target.
Output schema not documented. The search tool returns Dict[str, Any] with no description of expected response structure, field names, or types. LLMs cannot plan downstream operations or validate results without knowing what fields to expect.
No tool annotations present. The search tool lacks readOnlyHint (should be true since this is READ_ONLY per metadata). Tool annotations help MCP clients reason about safety and idempotence.
Error handling lacks recovery guidance. ToolError exceptions are raised (e.g. 'Query text is required', 'Limit must be a positive integer') but do not suggest corrective actions or alternative approaches. Error messages should guide the LLM toward self-correction.
Parameter 'limit' lacks range validation in description. Description mentions default=10 and max=50, but the parameter description does not state the minimum (1) or maximum (50) explicitly as part of the constraint documentation.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 67 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |