Skip to main content
Glama

security_traefik_check

Read-only

Traefik proxy config audit — Offline security audit of Traefik reverse-proxy configuration (text=): static or dynamic YAML/TOML, CLI flags (--api.insecure=true), TRAEFIK_ env vars, or a docker-compose file with traefik labels. Flags api.insecure (unauthenticated dashboard), dashboard routers without basicAuth/forwardAuth, api.debug pprof, Docker provider exposedByDefault, docker.sock mounts (read-write or :ro), insecureSkipVerify, forwardedHeaders/proxyProtocol insecure or trustedIPs 0.0.0.0/0, TLS 1.0/1.1 and weak ciphers, missing HTTP to HTTPS redirect, ACME email/staging/acme.json, debug logging, no access log, public Prometheus metrics, basicAuth users with {SHA}/MD5/plain passwords, inline secrets and DNS-provider API tokens (never echoed), missing security headers or rate limits, catch-all routers and Traefik v1 syntax. Returns EXPOSED/FIX REQUIRED/REVIEW/PASS with score, grade and line-numbered fixes. Price: $0.006 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
textNoapi: insecure: true dashboard: true entryPoints: web: address: ":80" websecure: address: ":443" providers: docker: {} serversTransport: insecureSkipVerify: true tls: options: default: minVersion: VersionTLS10

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover read-only/no-destruction/open-world; the description adds substantial behavior: the audit runs offline, secrets and DNS-provider tokens are never echoed, checks are line-numbered with severity tiers, and it discloses the x402 USDC price. It also lists the concrete failure classes flagged, so an agent knows what will and won't be reported.

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?

Purpose and input formats are front-loaded, but the middle is one very long comma-run of ~30 check names, with some redundancy (api.insecure appears twice in spirit), making it dense to scan rather than crisply structured.

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, and the description compensates by describing return values (EXPOSED/FIX REQUIRED/REVIEW/PASS plus score, grade, line-numbered fixes). With a single optional parameter and annotations covering the safety profile, nothing needed to invoke it correctly is missing.

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% and the example already shows a sample config, so the baseline would be 3; the description goes further by naming the parameter ('text=') and enumerating the accepted input dialects (YAML/TOML, CLI flag text, env vars, compose labels), which tells the agent what to actually paste in.

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 ('Offline security audit of Traefik reverse-proxy configuration') and enumerates exactly which artifact types it consumes (static/dynamic YAML/TOML, CLI flags, TRAEFIK_ env vars, docker-compose with traefik labels), which cleanly separates it from nginx/caddy/haproxy siblings.

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 context for when to reach for it: any Traefik config surface, including a compose file with traefik labels, and notes it is offline. It does not, however, route the agent away from overlapping siblings (e.g. the generic docker-compose checker) or state exclusions, so it stops short of explicit alternatives.

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