Skip to main content
Glama

Wrangler config lint

wrangler-lint
Read-only

Lints a wrangler.jsonc or wrangler.toml: name, entry point, compatibility date, secrets left in vars, routes. Returns { ok, format, findings[{ severity: error|warning|info, code, path, message }] and counts { error, warning, info } }. Values are never echoed, only paths. Price: 2 credits (1 credit = 1 US cent) per successful call; input that does not match the schema is rejected before billing.

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": {
      "config": "<config>"
    },
    "name": "wrangler-lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesThe wrangler.jsonc, wrangler.json or wrangler.toml text, up to 60,000 characters.
formatNoConfig format; auto treats text starting with { as JSONC, otherwise TOML.auto

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 cover the safety profile (readOnlyHint=true, openWorldHint=false), and the description adds genuinely non-obvious behavior: findings are returned as paths only and values are never echoed, and input failing schema validation is rejected before billing. Pricing is also disclosed. What's missing is any statement about how many findings are returned or whether severity affects any exit/status semantics.

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?

Purpose and scope are front-loaded in the first clause, then each subsequent sentence carries a distinct load-bearing fact: return shape, no-value-echoing guarantee, and billing terms. Nothing is repeated from the schema or annotations, and there is no filler.

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

Completeness5/5

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

There is no output schema, so the description must describe returns — it does so with the exact shape ({ ok, format, findings[{severity, code, path, message}], counts }). Combined with billing terms and the schema-validation rejection rule, an agent has everything needed to call this correctly for a two-parameter, read-only tool.

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 coverage is 100%, and the schema already documents the 60,000-character limit and the auto-detection rule for format, so the description adds little parameter meaning beyond restating that schema-invalid input is rejected. Baseline 3 is appropriate when the schema carries this much detail.

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 states a specific verb ('Lints') bound to an exact resource ('wrangler.jsonc or wrangler.toml') and enumerates the checks performed (name, entry point, compatibility date, secrets left in vars, routes). That resource-level specificity cleanly separates it from generic sibling linters such as mcp-config-validate or openapi-lint without needing to name them.

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 unambiguous: you supply raw wrangler config text and receive findings. It also explains a selection-relevant rule for the format parameter (auto treats text starting with { as JSONC). There is no explicit when-not or named alternative, which keeps it at 4 rather than 5.

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