Skip to main content
Glama
MCP Spring Boot Actuator

MCP Spring Boot Actuator

by Dmitriusan

analyze_beans

Inspect Spring Boot Actuator /beans JSON to detect circular dependencies, scope mismatches, and bean architecture issues, helping diagnose configuration problems.

Instructions

Analyze Spring Boot Actuator /beans endpoint response. Detects circular dependencies, scope mismatches, and bean architecture issues.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

B3.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses the categories of findings, which is useful, but says nothing about the return shape, whether it is purely read-only (only implied by 'Analyze'), how malformed or non-/beans JSON is handled, or any size/performance limits.

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 short sentences, front-loaded with the resource and followed by the concrete detection capabilities. Nothing is redundant and no filler is present.

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?

For a single-input, read-only analysis tool with no output schema, the description is close to sufficient: it names the input source and the finding categories an agent would get back. The remaining gap is that it never states the response structure or error behavior, which matters slightly more because no output schema exists.

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 required parameter with 100% schema description coverage, including a concrete curl example, so the schema already does the work. The description adds no further semantics about the expected JSON content beyond naming the endpoint.

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 verb ('Analyze') and a precisely named resource (the Spring Boot Actuator /beans endpoint response), then enumerates the classes of findings: circular dependencies, scope mismatches, and bean architecture issues. This naturally distinguishes it from siblings like analyze_caches or analyze_env, though it never explicitly says so.

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: an agent can infer it should call this after fetching the /beans endpoint, reinforced by the schema hint with a curl example. There is no explicit when-to-use, no when-not-to-use, and no mention of prerequisites such as the Actuator endpoint being enabled or exposed.

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