Skip to main content
Glama

ScorpTech x402 Tools

Dockerfile Lint

dockerfile_lint
Read-onlyIdempotent

Offline Dockerfile linter: parses stages/continuations and runs 20+ best-practice and security rules (latest tag, curl|bash, secrets in ENV/ARG, runs-as-root, chmod 777, ADD-vs-COPY, apt cache, no HEALTHCHECK, multi-stage hints). Returns 0-100 score, letter grade and actionable fixes. Does not build or pull images. Returns JSON with: score, grade, summary, stages, issues, method. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/dockerfile-lint

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": "dockerfile_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
dockerfileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered; the description adds genuinely new behavior: it is offline, costs $0.005 USDC per successful call via x402, and is also reachable over HTTPS. It does not mention error behavior, input size limits, or what happens on an unparseable Dockerfile.

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?

Front-loaded with purpose and rule coverage, then limits, then return shape, then commercial/transport details. Dense but nearly every clause carries information; only the pricing-plus-URL tail is slightly tangential to tool selection and invocation.

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?

There is no output schema, and the description compensates by listing the returned fields (score, grade, summary, stages, issues, method) plus the 0-100 scale and letter grade. The one remaining gap is input format for `dockerfile`, which matters for a one-parameter 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?

The single `dockerfile` parameter has 0% schema description coverage, so the description must carry the meaning. "Parses stages/continuations" hints that the value is raw Dockerfile text, but it never says whether the parameter takes file contents, a path, or a URL — a material ambiguity given zero required parameters.

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?

Opens with a specific verb+resource ("Offline Dockerfile linter") and immediately enumerates the rule families it applies (latest tag, curl|bash, secrets in ENV/ARG, runs-as-root, chmod 777, ADD-vs-COPY, apt cache, HEALTHCHECK, multi-stage), so an agent can tell it apart from the gha_workflow_lint and k8s_manifest_lint siblings purely by the definition.

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 negative scope statement "Does not build or pull images" usefully rules out a common misuse, but there is no explicit when-to-use guidance or named alternative for adjacent tasks (e.g. workflow or manifest linting). Usage is inferred from the resource domain rather than stated.

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