Skip to main content
Glama

Javascript review and build — Atom

JavaScript review and build

javascript_review_and_build
Read-onlyIdempotent

Submits a JavaScript review-and-build record (modules and strictness, async discipline, DOM safety, environment and bundle, tests and red lines) and returns a deterministic JAVASCRIPT_REVIEW_SOUND / JAVASCRIPT_REVIEW_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict across five sections, including computed per-file ESM, var and promise-handling checks, with per-check evidence. Audits the declared record; it runs no code.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "javascript_review_and_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
domNoDOM safety evidence.
asyncNoAsync discipline evidence.
filesNoDeclared files: {name, esm_module, var_present, unhandled_promise_present, inner_html_with_user_input_present}.
testsNoTests evidence.
bundleNoBundle evidence.
modulesNoModules and strictness evidence.
subjectNoCodebase or package under review.
red_linesNoRed-line evidence.
environmentNoEnvironment evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, and the description reinforces this with determinism (same record → same verdict) and the explicit guarantee that no code is executed. It also discloses the verdict taxonomy and that per-check evidence is returned, which is behavior beyond the annotations. The one wrinkle is the verb "Submits," which could be misread as persisting a record despite readOnlyHint=true; the "audits the declared record" clause resolves it, but the phrasing is slightly at odds with a pure read tool.

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

Conciseness4/5

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

Two sentences, front-loaded with the action and the return value, with no filler. The long parenthetical of section names is dense but earns its place by mapping to the parameter groups; a bulleted form would read slightly better but nothing is wasted.

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, the description correctly carries the burden of describing return values and does so via the named verdict constants and the promise of per-check evidence. All nine parameters are schema-documented and the five-section structure is summarized. What is missing is the decision rule for INSUFFICIENT_EVIDENCE and any note on required vs optional evidence, which the description defers to SERVICE.md.

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%, so the baseline is 3, but the description adds real meaning by naming the evidence groups (modules/strictness, async, DOM, environment, bundle, tests, red lines) that map onto the parameters, and by explaining that per-file ESM, var, and promise-handling checks are computed from the declared files. It stops short of explaining what constitutes sufficient evidence for each section, which is left to the referenced SERVICE.md.

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 ("Submits a JavaScript review-and-build record") and, critically, the output it produces: a deterministic JAVASCRIPT_REVIEW_SOUND / JAVASCRIPT_REVIEW_NOT_SOUND / INSUFFICIENT_EVIDENCE verdict. The parenthetical enumerates the five evidence sections, so an agent knows exactly what the tool consumes and produces without opening the 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?

Usage context is clear: supply a declared JS codebase/package record and receive a soundness verdict. The closing clause "Audits the declared record; it runs no code" effectively excludes dynamic/execution-based analysis, which is a meaningful scope boundary. There is no sibling to compare against, so no alternative routing is needed.

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.