Skip to main content
Glama
MCP Spring Boot Actuator

MCP Spring Boot Actuator

by Dmitriusan

analyze_loggers

Analyze Spring Boot /loggers endpoint JSON to detect DEBUG/TRACE in production, inconsistent package log levels, and verbose framework logging so you can fix logging misconfigurations.

Instructions

Analyze Spring Boot /loggers endpoint response. Detects DEBUG/TRACE in production, inconsistent log levels across packages, and verbose framework logging.

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_loggers"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

B3.4/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 burden, and it does disclose the three categories of issues it looks for, which is meaningful behavioral context. However, it never states that the operation is read-only/offline analysis of supplied JSON, nor what form the results take (no output schema exists to compensate).

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 what is analyzed followed by what is detected, with no filler or redundant restatement of the schema. Every clause contributes a distinct detection category.

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?

For a simple single-input analysis tool the description covers what it looks for, but with no annotations and no output schema it leaves the return shape (findings, severity, recommendations) undocumented. An agent knows what to pass in but not what it will get back.

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?

Single parameter with 100% schema coverage, and the schema description even includes the curl command to obtain the payload, so the description needs to add little. The description's reference to 'endpoint response' is consistent with the schema's 'json' string parameter but adds no syntax or format detail beyond it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource (Spring Boot /loggers endpoint response) and enumerates the three concrete detections (DEBUG/TRACE in production, inconsistent package log levels, verbose framework logging). This distinguishes it from the sibling analyze_* tools by resource, though the verb 'Analyze' itself is generic and no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance. Usage is only weakly implied by the phrase 'endpoint response', and nothing says whether this should be run against production vs. staging configurations or what to do with the findings.

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