Skip to main content
Glama

security_log_scan

Read-only

Web access-log attack scanner — Scan Apache/Nginx access-log lines for attacks: path traversal, SQL injection, XSS, secrets probes (.env/.git), admin probes, RCE/Log4Shell, scanner tools. Returns verdict CLEAN/SUSPICIOUS/UNDER ATTACK/POSSIBLE COMPROMISE, attack requests that got 2xx, top IPs cross-checked against Polyform first-party honeypot, block candidates and fixes. GET ?text= or ?url=<plain-text log file, max 1MB, 5000 lines>. Price: $0.008 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_log_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes203.0.113.9 - - [20/Nov/2026:10:00:01 +0000] GET /.env HTTP/1.1 404 153

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/non-destructive annotations: it discloses the four verdict tiers returned, that 2xx attack requests are surfaced alongside top IPs cross-checked against an external honeypot, that block candidates and fixes are included, and that calls are metered at $0.008 USDC via x402. Size limits and the external lookup are exactly the operational facts an agent needs before invoking a paid, network-touching scan.

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?

One dense, front-loaded sentence chain: capability first, then what is returned, then input modes, then price — a sensible priority order with no filler. The only wasted content is the phantom `url` mode, which costs clarity rather than length.

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 return-value burden by naming the verdict tiers and the supporting evidence (2xx attack requests, top IPs, block candidates, fixes). Pricing, input size caps and external honeypot cross-checking round it out; the only hole is the mismatch between the advertised `url` input and the single-parameter schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single `text` parameter already carries an example line, so the baseline would be 3. However, the description advertises an alternative input mode "GET ?url=<plain-text log file>" that does not exist in the schema (only `text` is defined and required), which can push an agent to supply a nonexistent parameter and fail validation; the accurate 1MB/5000-line limits are the only real value added.

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?

Names a concrete verb and resource ("Scan Apache/Nginx access-log lines") and enumerates exactly which attack classes are detected (path traversal, SQLi, XSS, .env/.git probes, Log4Shell, scanner fingerprints). The scope is narrow enough (access-log lines) that an agent can distinguish it from a general secret or IP screener 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?

Gives clear input context (raw access-log lines, or a plain-text log file up to 1MB/5000 lines) and a concrete example line in the schema, so the agent knows what to feed it. It never states when not to use it or names an alternative sibling such as security_secret_scan for credential-specific scanning, so routing between the security_* tools is left to inference.

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