Skip to main content
Glama
Infrastructure MCP Server

Infrastructure MCP Server

by berkeleyo

discover_infrastructure

Read-onlyIdempotent

Retrieve normalized resources from an allowlisted inventory profile to inventory approved cloud infrastructure for analysis.

Instructions

Discover normalized resources from an allowlisted inventory profile.

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

Input Schema

NameRequiredDescriptionDefault
profileYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive, so the safety profile is covered. The description adds two useful facts beyond that: results are normalized and only allowlisted profiles are accepted. It says nothing about cost, latency, scope of discovery (e.g., cloud accounts vs on-prem), or failure modes for a non-allowlisted profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler; the qualifiers ("normalized", "allowlisted") are doing load-bearing work. It borders on under-specified rather than verbose, so nothing is wasted but little is said.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema and rich annotations offload return-format and safety concerns, but the definition still leaves the one input's valid values unexplained and offers no placement relative to the drift/health/validate siblings. For a discovery entry point that likely feeds other tools, that gap matters.

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?

Single required parameter with 0% schema coverage; the schema only names it "Profile" as a plain string. The description contributes the constraint that it must be an allowlisted profile, which is real added meaning, but gives no format, examples, or pointer to how valid profile names are enumerated.

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

Purpose3/5

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

Has a specific verb ("Discover") and object ("normalized resources"), scoped by source ("allowlisted inventory profile"). However, "normalized" and "inventory profile" are undefined jargon, and nothing distinguishes this from siblings like detect_infrastructure_drift or infrastructure_health beyond the word "discover".

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?

No when-to-use or when-not-to-use guidance. With siblings such as detect_infrastructure_drift, infrastructure_health, and validate_infrastructure_config, an agent gets no signal about whether discovery is a prerequisite to those, an alternative, or a standalone read.

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