Skip to main content
Glama

security_tomcat_check

Read-only

Apache Tomcat config audit — Offline security review of Apache Tomcat configuration: server.xml, tomcat-users.xml, web.xml and context.xml (send one or several concatenated). Flags AJP Ghostcat exposure (secretRequired=false, no secret, all-interface bind), plaintext HTTP connectors, obsolete TLS protocols and weak ciphers, default SHUTDOWN port, TRACE, X-Powered-By, autoDeploy, missing ErrorReportValve/AccessLogValve/LockOutRealm, default or empty manager passwords and plaintext users, manager-script roles, open RemoteAddrValve, writable DefaultServlet (PUT upload), directory listings, cookie flags and missing HttpHeaderSecurityFilter. Returns verdict PASS/PASS_WITH_WARNINGS/REVIEW/FAIL, score, grade A-F, findings with line numbers and fixes. Passwords are never echoed. Params: text= the XML, or url= a raw file URL (GitHub blob links are converted). Price: $0.005 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_tomcat_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYese.g. <Server port='8005' shutdown='SHUTDOWN'><Service name='Catalina'><Connector protocol='AJP/1.3' address='0.0.0.0' port='8009' secretRequired='false'/></Service></Server>

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, but the description goes far beyond them: it enumerates the specific exposures checked, declares the return contract (verdict PASS/PASS_WITH_WARNINGS/REVIEW/FAIL, score, grade A-F, findings with line numbers and fixes), gives a privacy guarantee ('passwords are never echoed'), and discloses the paid x402 pricing. That is unusually rich behavioral context for a read-only tool.

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?

Purpose, input mode, finding list, return shape, privacy note and price are front-loaded and in a sensible order with zero filler sentences. The middle enumeration of flagged misconfigurations is long but earns its place by letting an agent judge relevance; a bulleted or separated return-contract sentence would improve scannability.

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?

With no output schema, the description carries the return-value burden and does it well: verdict tiers, numeric score, letter grade, and findings with line numbers and fixes. Input format, offline nature, cost and security posture (no password echo) are all covered; only the phantom 'url' parameter is a blemish.

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 complete for the single 'text' parameter, so the baseline is 3, and the description usefully adds that multiple files may be concatenated and that raw file URLs are accepted. However, it advertises 'url=' as a parameter that does not exist anywhere in the input schema, which creates a real risk of the agent attempting an unsupported argument.

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 up front: 'Apache Tomcat config audit — Offline security review of Apache Tomcat configuration.' The file list (server.xml, tomcat-users.xml, web.xml, context.xml) makes it trivially distinguishable from siblings like security_apache_check or security_nginx_check without opening any 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?

Makes the usage mode explicit ('offline', 'send one or several concatenated') and offers the url alternative with a note that GitHub blob links are converted. It does not explicitly name when to prefer a sibling tool (e.g. the Apache HTTPD check) or state exclusions, so it falls short of a 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