Skip to main content
Glama

open_spring_bean

Opens a Spring window or panel bean directly, showing hidden panels in a new frame or selecting their tab, and returns the updated UI snapshot.

Instructions

For Spring applications: show a window or panel bean directly instead of navigating menus. Windows and dialogs are opened (prototype beans give a fresh instance); a panel that is not on screen yet is shown in a new frame; a panel in a hidden tab gets its tab selected. Returns the new snapshot.

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

Input Schema

NameRequiredDescriptionDefault
nameYesBean name from spring_beans

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the branching outcomes (windows/dialogs get opened, off-screen panels spawn a new frame, hidden-tab panels get their tab selected) and the side effect that prototype beans yield a fresh instance, which implies state reset. It also states the return value ('the new snapshot'), filling the gap left by the absent output schema.

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?

Three sentences, front-loaded with the platform scope and the core action, then the per-case behavior, then the return value. Every clause carries information; nothing is redundant with the name or schema.

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?

For a single-required-param action tool with no annotations and no output schema, the description covers intent, alternative, per-case side effects, and the return value. There is no obvious informational gap an agent would need to call it correctly.

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 100% and the single parameter is already documented as a bean name from spring_beans, so the baseline is 3. The description adds conceptual context via the prototype-bean discussion but does not add naming syntax or format guidance beyond the schema.

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 description states a specific verb and resource ('show a window or panel bean') and scopes it ('For Spring applications'), then immediately distinguishes it from the menu navigation path that siblings like select_menu represent. An agent can tell what this does and what it is not without opening the 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?

It gives an explicit routing rule: use this to show a bean 'directly instead of navigating menus,' which names the alternative behavior and the condition that selects it. It stops short of stating when this tool would fail or when a different sibling (e.g. click or select_option) is the better choice, so it is clear but not exhaustive.

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