Skip to main content
Glama
doitintl

DoiT MCP Server

Official
by doitintl

get_cloud_diagram_components

Read-only

Retrieve cloud infrastructure diagrams and their layers (statussheets). Filter by diagram or layer IDs and optionally include component data to obtain layer IDs for other endpoints.

Instructions

Use this when the user wants to discover all cloud infrastructure diagrams and their layers (statussheets), or to look up layer IDs needed for other diagram endpoints. Returns all diagrams with their connected layers and optionally their component data. This is the primary discovery endpoint — use it before calling endpoints that require a layer ID. Optionally filter by diagram IDs (scheme_ids) or layer IDs (layer_ids), and set include_components=true to get full component lists. Do NOT use this for cost analysis (use run_query) or diagram search (use search_cloud_diagrams).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layer_idsNoFilter to specific layer (statussheet) IDs. Omit to return all layers.
scheme_idsNoFilter to specific diagram IDs. Omit to return all diagrams.
skip_emptyNoExclude layers that have no components. Defaults to false.
include_componentsNoInclude component data (nodes, elements, groups, links, etc.) in the response. Defaults to false for lighter responses. Enable when you need component IDs for other diagram endpoints.
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. Description adds that it returns diagrams with connected layers and optionally components, and that it is a discovery endpoint. Does not disclose rate limits or auth, but annotations cover safety.

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?

Four sentences, tightly organized. Each sentence serves a purpose: usage context, output summary, primary discovery hint, parameter filtering options, and exclusions.

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?

No output schema, but description states return value: diagrams with connected layers and optionally components. Given the tool's discovery role and many siblings, this is sufficient. Could mention potential volume or pagination, but not required.

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?

Schema coverage is 100%, baseline 3. Description adds practical context: explains when to set include_components=true (to get component IDs for other endpoints) and mentions skip_empty defaults to false. This adds value beyond schema descriptions.

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 states the tool discovers all cloud infrastructure diagrams and their layers, and retrieves layer IDs. It explicitly distinguishes from sibling tools like run_query and search_cloud_diagrams.

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

Usage Guidelines5/5

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

Provides explicit guidance: uses it as primary discovery before endpoints needing layer ID, and explicitly says NOT to use for cost analysis (use run_query) or diagram search (use search_cloud_diagrams).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/doitintl/doit-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server