Skip to main content
Glama

security_squid_check

Read-only

Squid Proxy Audit — Offline security audit of a Squid squid.conf. Evaluates http_access first-match order to detect an OPEN PROXY (allow rules that do not restrict source, e.g. allow all or allow CONNECT), very wide src acls, Squid's implicit default (a final conditional deny means everything else is ALLOWED), missing or late deny !Safe_ports / deny CONNECT !SSL_ports, port acls widened to 1-65535, undefined acls, cache manager exposed beyond localhost, SSL-bump sslproxy_cert_error allow all and DONT_VERIFY_PEER, follow_x_forwarded_for allow all (IP spoofing), SNMP/ICP/HTCP open, basic auth over cleartext, root user, forwarded_for/Via/version leaks and access_log none. Credentials are never echoed. Returns PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK, openProxy, score, grade, findings with fixes, parsed rules/acls and a hardened example. Pass the file in text=. Price: $0.006 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "security_squid_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesacl localnet src 10.0.0.0/8 acl SSL_ports port 443 http_access allow all http_port 3128

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 the read-only/non-destructive profile, and the description adds substantial context on top: the specific misconfigurations detected (open proxy, implicit default allow, SSL-bump cert bypasses, X-Forwarded-For spoofing), the fact that credentials are never echoed, and the commercial x402/USDC payment requirement. That last point is operationally critical and appears nowhere in the structured fields.

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?

The purpose and consumption instruction are correctly front-loaded, but the middle of the description is a single run-on sentence carrying a fifteen-item detection laundry list, which is dense and hard to scan. The list earns some of its length by signalling coverage, yet several items could be folded into categories without losing information.

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 carries the return-value burden itself and does so thoroughly: verdict tiers (PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK), openProxy flag, score, grade, findings with fixes, parsed rules/acls, and a hardened example. Combined with the payment note, nothing an agent needs before or after calling is left unstated.

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?

With a single fully documented parameter the baseline is 3, but 'Pass the file in text=' resolves a real ambiguity the schema does not — whether the caller supplies a filesystem path or the raw config contents. That is meaningful added meaning beyond the schema's example blob.

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 a Squid squid.conf' — and names the exact artifact consumed, which cleanly separates it from the nginx/apache/haproxy siblings. An agent can tell instantly this is the Squid-specific member of the family.

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?

The description makes the consumption pattern explicit ('Pass the file in text=') and frames the tool as offline/static, so an agent knows no live host is contacted. What's missing is any explicit exclusion, such as a note that non-Squid configs should route to a sibling checker, but the scope statement effectively implies it.

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