Skip to main content
Glama
RedHatInsights

Red Hat Lightspeed MCP

Official

inventory__get_workspace

Read-only

Retrieve workspace details by ID, including name, ungrouped status, host count, and timestamps. Use this to view and verify workspace inventory data.

Instructions

Get details for one or more workspaces by ID.

Returns id, name, ungrouped, host_count, and timestamps for each workspace. Required permission: inventory:groups:read (Workspaces viewer).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspace_idsYesComma-separated workspace IDs (UUIDs). Prefer IDs over names; names can be duplicated.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.16

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already indicate readOnlyHint=true, and the description adds useful context beyond that: the required permission, the ability to pass multiple workspace IDs, and the specific fields returned. No contradiction exists, and the behavior is adequately transparent for a simple read operation.

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 compact and front-loaded, stating the core purpose in the first sentence and then adding only high-value details: return fields and required permission. There is no filler or repetition of schema content.

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-parameter read-only tool with an output schema and clear annotations, the description covers what is returned, what permission is needed, and how the argument behaves. Nothing essential for selecting or invoking the tool is missing.

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?

The input schema already fully documents the workspace_ids parameter, including that it is comma-separated and that IDs are preferred over names. The description only adds that one or more workspaces are supported, which does not significantly increase semantic value 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 action ('Get details'), a clear resource ('one or more workspaces'), and a defining criterion ('by ID'). It also lists the returned fields, making it easy for an agent to distinguish this from sibling workspace tools such as inventory__list_workspaces.

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 clearly implies the tool is for fetching workspace details when workspace IDs are already known. It also notes the required permission, giving context for when the call is permitted. It does not explicitly name alternatives or state when not to use it, so it stops short of a 5.

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