Skip to main content
Glama
openITCOCKPIT

openITCOCKPIT MCP Server

Official

Container Tree

get_container_tree
Read-onlyIdempotent

Fetch the organizational container hierarchy from a selected container, showing hosts, host groups, and service groups directly below it. Set 'root' to begin at the topmost level.

Instructions

Get the organizational structure (containers: tenants, locations, nodes) starting at the given container, including which hosts, host groups and service groups live directly under it. Leave container_name at 'root' for the top-level structure; without access to root that is the top-most containers you can see.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
container_nameNoroot

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior. The description adds meaningful behavioral details beyond those annotations: the tool starts at a given container, returns items living directly under it, and falls back to the top-most visible containers if root is inaccessible.

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?

The description is two sentences, begins with the verb and resource, and every clause adds useful information. It avoids repetition of schema or annotation details and stays tightly scoped.

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?

The tool has one optional parameter, a defined default behavior, open-world annotations, and an output schema, so the description does not need to explain return values. It fully covers invocation semantics, root handling, direct-children scope, and permission-aware behavior, making it complete for an agent to call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, and the sole parameter has no schema description. The prose compensates by explaining what 'container_name' means ('starting at the given container') and how to use the default 'root' value, including the permission-aware fallback. This is sufficient guidance for the single parameter.

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 clearly identifies the operation ('Get') and the resource ('organizational structure... containers: tenants, locations, nodes'), and specifies what is included: hosts, host groups, and service groups directly underneath. This distinguishes it from the sibling tools, which target monitoring stats, logs, host info, and other specific lists.

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?

The description gives clear operational context by explaining the special 'root' value and the fallback behavior when root access is unavailable. It does not explicitly compare this tool to alternatives or state when not to use it, but the usage context is clear enough for an agent to invoke it correctly.

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