Skip to main content
Glama

browse_datastore

Read-onlyIdempotent

Browse files in a VMware datastore directory. Filter by path and glob pattern to locate specific files like ISOs or OVAs.

Instructions

[READ] Browse files in a datastore directory.

Use this for arbitrary files or a glob; prefer scan_datastore_images for deployable images. ds_name comes from list_all_datastores.

Returns the list envelope: 'items' holds one row per file, and 'returned'/'total'/'truncated' state whether the listing is complete. All matches are returned, so truncated is always false.

Args: ds_name: Datastore name. path: Subdirectory path (empty for root). pattern: Glob pattern to filter files (e.g. ".ova", ".iso"). target: Optional vCenter/ESXi target name from config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
targetNo
ds_nameYes
patternNo*
Behavior5/5

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

Annotations already cover read-only and idempotent hints, and the description adds valuable behavioral details: the return envelope structure and that 'All matches are returned, so truncated is always false'. This goes beyond the annotations without contradiction.

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 well-structured: a clear summary, usage guidance, return behavior, and parameter list. Every sentence contributes meaning, and the most important information is front-loaded.

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?

It covers purpose, usage context, parameter semantics, return format, and sibling relationships. With no output schema, the description's explanation of the response envelope and truncation behavior makes the tool self-contained for the agent.

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?

The input schema has no descriptions (0% coverage), but the description's Args section fully explains each parameter—ds_name, path, pattern, target—including defaults and examples. This perfectly compensates for the schema gap.

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 'Browse files in a datastore directory' and distinguishes itself from the sibling scan_datastore_images by explicitly saying to prefer that tool for deployable images. This makes the specific purpose and resource unambiguous.

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?

It gives explicit guidance: use for arbitrary files or a glob, prefer scan_datastore_images for deployable images, and mentions that ds_name comes from list_all_datastores. This provides clear context on when to use this tool and when not.

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