Chrome extension scaffolding and management tools
The server defines 8 tools with complete input schemas and consistent descriptions. Tool names follow verb_noun convention (ext_scaffold, ext_add_content_script, etc.). Descriptions range 60-160 chars, meeting baseline (avg 194 chars). All parameters have type definitions and descriptions. However, critical issues emerge: (1) No output schemas documented in source code, the code shows only success/error responses without specifying the structure of the 'Result' object that callers should expect. (2) Parameter descriptions lack validation hints (ranges, formats, regex constraints) required for LLM confidence. (3) Error handling returns categorized codes (validation_error, etc.) but no recovery guidance. (4) No tool annotations (readOnlyHint/destructiveHint) despite clear risk patterns (WRITE vs READ_ONLY). (5) Composition is sound, tools are single-responsibility and chainable, but missing pagination for list operations. Tools 1 - 8 are explicitly defined with registration in internal/plugin.go and tested in tools_test.go, so no inference penalty applies.
Add a content script entry to an extension's manifest.json
Add a feature handler, popup button, or side panel to an extension
Package an extension directory into a distributable zip archive
Inject Orchestra SDK connector code into a Chrome extension
List Chrome extension projects found in a directory
Validate extension and show store submission instructions
Scaffold a new Chrome MV3 extension with boilerplate files
No output schemas documented. Source code shows tool responses return ToolResponse with Success flag and Result/ErrorCode fields, but the structure of Result (what fields, types, nesting) is not documented. LLMs cannot predict what data they will receive or plan downstream tool calls.
Parameter descriptions lack format/constraint hints. E.g., 'directory' does not specify if it must exist, absolute vs relative, or path traversal boundaries. 'run_at' in ext_add_content_script has enum values in schema but description does not explicitly state 'must be one of: document_start, document_end, document_idle'.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 56 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 57 | - | v1 |
Validate an extension directory's manifest.json for required fields
Missing tool annotations. Source defines tools as WRITE or READ_ONLY, but schema does not include destructiveHint or readOnlyHint. Spec requires destructiveHint=true for operations that modify state (ext_scaffold, ext_add_content_script, ext_build, ext_add_feature, ext_connect_orchestra) and readOnlyHint=true for safe operations (ext_validate, ext_list_projects, ext_publish).
Error handling lacks recovery guidance. Test code shows errors return 'validation_error' code, but source does not document what the LLM should do next. E.g., if a directory is invalid, should the user create it first? Should the tool offer to create it? This violates recovery-guide pattern.
ext_list_projects does not declare pagination. Even if the implementation handles large results, the tool definition should document a limit parameter and total count / next_cursor in output. Current schema has only 'directory' parameter and no page/limit controls.
Missing idempotency declaration. Operations like ext_scaffold (creates directory), ext_add_content_script (modifies manifest), ext_build (creates zip) do not state if they are idempotent. If ext_scaffold called twice with the same name/directory, does it fail or overwrite? This matters for agent retry safety.