Skip to main content
Glama

VBScript to PowerShell Migration

scan_vbscript

FREE and instant (no AI). Static migration-readiness scan of a VBScript file (.vbs, .wsf, HTA or classic ASP snippet) before Windows disables VBScript: lists COM objects used (FileSystemObject, WScript.Shell, ADODB, XMLHTTP, WMI, Outlook, Excel...) with their PowerShell equivalent, risky features (On Error Resume Next, Execute/Eval, SendKeys, registry, MsgBox), conversion traps (1-based strings, array bounds, case-sensitive comparisons, ByRef), blockers, security flags (hard-coded passwords, plain HTTP) and a 0-100 risk score with difficulty. Use it to triage many scripts before converting.

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": {
      "code": "<code>"
    },
    "name": "scan_vbscript"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesVBScript source code (max 30000 characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does substantial work: 'Static' and 'no AI' signal that code is not executed and results are deterministic, and it discloses the output payload (COM object list, risky features, conversion traps, blockers, security flags, 0-100 risk score, difficulty). It omits anything about limits beyond the schema's 30k cap, error behavior, or how findings are ranked.

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

Conciseness3/5

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

Front-loads the value proposition and the core action, but the single sentence is a long parenthesis-heavy enumeration that is harder to parse than it needs to be. Nearly every item earns its place, yet the density could be split into a short purpose line plus a findings list.

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?

With no output schema and no annotations, the description compensates by enumerating the returned findings and the risk score, and by naming accepted input types. A few gaps remain — whether it inspects additional files referenced by .wsf, and what a 'blocker' means versus a 'security flag' — but an agent can call it correctly.

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

Parameters4/5

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

Schema coverage is 100% for the single 'code' parameter, so baseline is 3; the description adds real meaning by clarifying which dialects/snippets are acceptable input (.vbs, .wsf, HTA, classic ASP), which goes beyond 'VBScript source code'. No further syntax or formatting guidance is given.

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?

States a specific verb and resource — a static migration-readiness scan of a VBScript file — and enumerates the accepted input flavors (.vbs, .wsf, HTA, classic ASP snippet). The final clause ('triage many scripts before converting') separates it from the convert_vbscript_to_powershell sibling without opening either schema.

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

Usage Guidelines4/5

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

Gives clear usage context: run this first to triage scripts before conversion, which establishes both the when and the ordering versus the convert tool. It stops short of explicit exclusions (e.g. when to skip scanning and convert directly), so it lands just below the top band.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources