Skip to main content
Glama
Verge3D MCP Server
by sanky369

verge3d_update_service_worker

Regenerate and bump the version of an app's offline PWA Service Worker cache via App Manager so clients fetch updated cached assets.

Instructions

Regenerate and bump the version of an app's offline PWA Service Worker cache (v3d_pwa_cache.js) via App Manager (/app_settings/update_worker).

Args: app_name: Application folder name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app_name": "<app_name>"
    },
    "name": "verge3d_update_service_worker"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description must carry the full behavioral burden. It does disclose the concrete side effect (a specific file, v3d_pwa_cache.js, is regenerated and its version bumped) and the route used (/app_settings/update_worker), but says nothing about prerequisites (app must exist / PWA enabled), whether existing installed clients re-download, or failure behavior.

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?

One front-loaded sentence identifies the action, the artifact, and the endpoint, followed by a minimal args block. There is no padding or redundant restatement of the schema.

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

Completeness4/5

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

An output schema exists, so return values need no explanation, and the single parameter is addressed. What is missing is precondition/failure context for a mutation operation with no annotations to fall back on, which is a modest but real gap.

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 0%, so the description must supply meaning, and it does clarify that app_name is the 'Application folder name' rather than a display name. However, it gives no format example or pointer to how to obtain valid folder names (e.g., via verge3d_list_apps), so compensation is partial.

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

Purpose4/5

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

States a specific verb pair ('Regenerate and bump the version') against a precisely named resource ('an app's offline PWA Service Worker cache (v3d_pwa_cache.js)'). This is highly disambiguating against generic siblings like verge3d_update_app or verge3d_update_app_settings, though it never names an alternative explicitly.

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?

There is no explicit when-to-use or when-not-to-use guidance and no reference to alternatives. The usage context is only implied by the purpose text — that this is for refreshing the offline cache after app content changes — leaving the agent to infer the trigger condition.

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