Extract symbol outlines from source code files using tree-sitter parsing
Glyph exposes a single tool, extract_symbols, with a clear verb-noun name and adequate schema definition. The tool has a description (84 chars) that meets the 10-1024 range minimum but lacks depth on WHEN to use it or its context in a broader workflow. The input schema is explicit and well-typed, with two string parameters: 'pattern' (required, with a detailed description including examples) and 'detail' (optional, with constraint guidance). However, the output schema is not documented, callers must infer the response structure from the tool's behavior alone. The tool is read-only and simple, but lacks error recovery guidance, parameter validation hints beyond the absolute path requirement, and does not document what happens when no files match or no symbols are extractable. The descriptions avoid example values, which is good, but do not signal dependencies or prerequisites that would guide LLM planning.
Extract symbol outlines from source code files using tree-sitter parsing
Output schema is not documented. Callers cannot see what structure the tool returns (e.g., array of symbols, object with counts, text report). LLMs must infer output format from behavior alone.
Tool description lacks WHEN/WHY context. At 84 chars, the description states WHAT the tool does but does not explain when to call it instead of similar tools, prerequisites (e.g., files must exist and be readable), or common failure modes (no matches, unparseable files).
No error recovery guidance. The tool description does not hint at what to do if no files are found, if a pattern is invalid, or if a file cannot be parsed. Error responses should guide the LLM's next step (e.g., 'Pattern did not match any files. Verify the path is correct and readable.').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-21 | D | 58 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 56 | - | v1 |
Parameter 'detail' lacks enum constraint. The description states 'minimal', 'standard' as valid options but does not enforce them as an enum. This invites LLMs to pass unexpected values like 'verbose', 'full', or 'summary'.