Per-opcode and per-function gas profiler that flags unbounded loops, DoS-prone patterns, and regressions against a committed baseline.
Single tool 'gasprofiler_scan' has a basic description (95 chars) and minimal input schema. The description lacks actionable context for LLM selection (no WHEN to use, no prerequisites, no output format details). Input schema defines only 'target' as string with a brief description, but lacks constraints (path format, file type restrictions, size limits). No output schema documented. No error handling guidance. No parameter validation rules stated. Tool name is verb-noun compliant but description is generic. Follows minimal patterns; significant gaps in LLM-optimization and composition guidance.
Per-opcode and per-function gas profiler that flags unbounded loops, DoS-prone patterns, and regressions against a committed baseline.. Returns JSON findings.
Description lacks actionable context. Does not state WHEN to use this tool, what prerequisites exist, or what the output structure is. At 95 chars, it is below the 194-char baseline for production tools and omits key selection criteria for LLMs.
Input schema lacks constraints. 'target' parameter has no format specification, no length limits, no guidance on whether it accepts files, directories, or both. No mention of supported file types (Solidity, Go, Rust, JavaScript). LLMs will pass arbitrary paths without validation.
Output schema not documented. Tool returns JSON findings but no schema is visible in code or description. LLMs cannot plan downstream operations or extract fields reliably. Baseline: 100% of A+ tools document return types.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | 2026-07-28+ | v2 |
No error handling guidance. Tool description does not explain what happens if target is invalid, inaccessible, or empty. No recovery hints (e.g., 'If path not found, check permissions or provide absolute path'). Agents cannot self-correct on failure.
Parameter description is minimal (18 chars: 'Path to target file or directory to scan'). Does not specify format, constraints, or examples. Baseline: average param annotation is 72 chars. LLMs lack guidance on valid input formats.