Skip to main content
Glama

list_cached_images

Read-onlyIdempotent

List cached OVA, OVF, ISO, VMDK images from local registry without vCenter connection. Filter by image type or datastore for quick retrieval.

Instructions

[READ] List deployable images (OVA/OVF/ISO/VMDK) from the local cache registry — instant, no vCenter connection or datastore I/O.

Reads ~/.vmware-storage/image_registry.json, populated by prior datastore scans; results may be stale or empty if no scan has run. For a live listing use scan_datastore_images instead. Returns the list envelope: 'items' holds {datastore, name, ds_path, size_mb, type, modified} and is empty if nothing matches, while 'returned'/'total'/'truncated' state whether the listing is complete. The whole registry is filtered in memory, so truncated is always false.

Args: image_type: Filter by file extension without the dot, e.g. "ova", "iso", "ovf", "vmdk" (case-insensitive). Omit for all types. datastore: Filter by exact datastore name. Omit for all datastores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datastoreNo
image_typeNo
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, etc.), the description reveals important behavioral traits: it reads a specific local file (~/.vmware-storage/image_registry.json), results may be stale, filtering is performed entirely in memory, and 'truncated is always false' due to that behavior. This adds significant context beyond the structured annotations.

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 front-loaded with a one-line summary, followed by a clearly separated details section and an 'Args:' block. Every sentence adds value: the staleness caveat, the live-listing alternative, the return envelope explanation, and the parameter semantics. No wasted words.

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 read-only list tool with optional filters and no output schema, the description is complete. It details the return envelope structure ('items', 'returned'/'total'/'truncated'), explains edge cases (empty results, staleness), and covers both parameters. The presence of sibling tools is addressed with the explicit alternative, making the context fully understood.

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 description coverage is 0%, so the description carries the full burden. It explains both parameters: image_type as a case-insensitive file extension filter with examples ('ova', 'iso', 'ovf', 'vmdk'), and datastore as an exact name filter. It also clarifies that omitting either parameter returns all types/datastores, which is not obvious from the schema alone.

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 opens with '[READ] List deployable images (OVA/OVF/ISO/VMDK) from the local cache registry' — a specific verb, resource, and scope. It also distinguishes from the sibling tool scan_datastore_images by stating 'instant, no vCenter connection or datastore I/O' and later recommending the sibling for live listings.

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?

The description explicitly states when to use this tool ('instant', cached registry) and provides a direct alternative: 'For a live listing use scan_datastore_images instead.' It also notes that results 'may be stale or empty if no scan has run,' setting accurate expectations for cached data.

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/vmware-skills/VMware-Storage'

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