Skip to main content
Glama
MCP Spring Boot Actuator

MCP Spring Boot Actuator

by Dmitriusan

analyze_env

Analyze a Spring Boot Actuator /env JSON response to detect exposed secrets, risky configurations, and missing production settings.

Instructions

Analyze Spring Boot Actuator /env endpoint response. Detects exposed secrets, risky configurations, and missing production settings.

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": {
      "json": "<json>"
    },
    "name": "analyze_env"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYesJSON response from the /env endpoint (curl http://localhost:8080/actuator/env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It helpfully discloses what classes of findings it produces, but never states that this is a purely local/static analysis of the supplied text (no network call, no mutation), nor what the output looks like or how findings are prioritized. It's the right direction but not complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the resource and then the value proposition. Every clause adds information; nothing is redundant with the title or the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because no output schema exists, the description should at least hint at the result shape (finding list, severity, affected property). It names the finding categories but says nothing about how they are returned, which leaves a real gap for an analysis tool whose whole value is its report.

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?

There is a single parameter, `json`, documented at 100% schema coverage including an example curl command, so the schema already does the work. The description adds no extra meaning such as expected shape variants (sanitized values, property source ordering) or what happens on malformed input, so baseline 3 applies.

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?

The definition pairs a specific verb with a specific resource ("Analyze Spring Boot Actuator /env endpoint response") and then states the concrete outcomes: exposed secrets, risky configurations, missing production settings. Against siblings like analyze_beans or analyze_metrics, the /env resource naming alone tells an agent exactly which endpoint's data this tool consumes.

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 only implied: you'd call it when you have Actuator /env output. There is no explicit when-to-use vs. when-not framing, no mention that it requires a captured JSON response rather than live access, and no prerequisites (endpoint must be exposed/authenticated to have obtained the JSON in the first place).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.