Skip to main content
Glama

security_spring_boot_check

Read-only

Spring Boot config audit (application.properties / yml) — Offline security review of Spring Boot application.properties or application.yml (YAML flattened to dotted keys). Flags exposed actuators (exposure.include=*, heapdump, env, shutdown, jolokia, gateway, httptrace/httpexchanges, loggers), env/configprops show-values ALWAYS, public health details, Boot 1.x management.security off, H2 console (and web-allow-others), DevTools remote, debug/trace and DEBUG logging of security/web/SQL, stack traces in error responses, weak TLS protocols/ciphers, insecure session cookies, destructive ddl-auto, show-sql, database URLs with TLS disabled, root/sa database users, hardcoded passwords/secrets/API keys (values never echoed; ${ENV} references are fine), CORS *, and trusted forwarded headers. Considers a separate localhost management port. Returns verdict, score, grade, findings with keys, line numbers and fixes. Params: text= the file, or url= a raw file URL. 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_spring_boot_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYese.g. management.endpoints.web.exposure.include=health,info,heapdump,env

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), and the description adds meaningful context beyond them: secrets are never echoed, ${ENV} placeholders are acceptable, localhost management ports are considered, and the response contains verdict/score/grade/findings with line numbers and fixes. It also discloses a per-call price ($0.005 USDC via x402), which is unusual and useful for an agent. It stops short of describing ordering or limits.

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 is front-loaded and the checklist of detected issues is substantive rather than filler, but the single 100-word parenthetical cramming every check into one sentence is hard to scan and buries the parameters and pricing at the end.

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 compensates by naming the return fields (verdict, score, grade, findings with keys, line numbers, fixes), and it explains the key behavioral caveat around secret redaction. Completeness is only dented by the phantom 'url' parameter and the absence of any input-size or format constraints.

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%, so the baseline is 3, but the description introduces a 'url= a raw file URL' input that does not exist in the schema (only required 'text' is defined) and does not explain how the file content should be supplied. This mismatch actively misleads an agent about the callable interface, overriding the schema's own clarity.

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 review of Spring Boot application.properties or application.yml') and enumerates the classes of misconfiguration it inspects, so the agent can tell it apart from the many sibling security_*_check tools that target other config formats.

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?

Usage is implied by the domain: use it on a Spring Boot properties/yml file. There is no explicit when-to-use/when-not statement and no guidance on choosing between the many sibling checkers, though the format names in the first sentence serve as an implicit selector.

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