Skip to main content
Glama
1nc0gn30

cwv-speed-engine

by 1nc0gn30

cwv_generate_pwa

Generate a W3C webmanifest, Service Worker caching bundle, and HTML header snippet for Progressive Web App compliance.

Instructions

Generate W3C webmanifest, Service Worker (sw.js) caching bundle, and HTML header snippet for Progressive Web App compliance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the web application.
start_urlNoPWA launch URL. Default: '/'./
short_nameNoShort name for mobile home screen icon.
theme_colorNoHex theme color. Default: '#1a73e8'.#1a73e8
background_colorNoHex splash background color. Default: '#ffffff'.#ffffff

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not say whether the tool writes files to disk, overwrites existing artifacts, or returns raw content, nor does it describe side effects or idempotency. The artifact list gives some behavior, but the production/delivery mechanism remains opaque.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, front-loaded sentence with no filler; every phrase ('W3C webmanifest', 'sw.js caching bundle', 'HTML header snippet') adds distinguishing information. It is appropriately sized for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The parameter surface is simple and fully documented, but with no output schema and no annotations the description still omits how the generated bundle is returned or applied and whether invocation has side effects. An agent would need to call the tool or seek external docs to know if it simply returns text or modifies the project.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all five parameters with defaults for start_url, theme_color, and background_color. The description adds no parameter-specific guidance, but with full schema coverage the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with the specific verb 'Generate' and lists three concrete outputs (W3C webmanifest, Service Worker caching bundle, HTML header snippet), all tied to PWA compliance. This artifact list is unique among the sibling tools, so an agent can reliably distinguish it from cwv_generate_cache_config, cwv_generate_og_card, and the audit/optimization tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for Progressive Web App compliance' implies the intended use case, but the description never states when to choose this over a sibling or mentions alternatives. There are no explicit exclusions or prerequisites, leaving the routing decision largely to the agent's inference from sibling names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.