Skip to main content
Glama

Volume folder details

get_volume_folder_details
Read-only

Inspect a Unity Catalog Volume path to list files and directories with metadata, detect formats, and find Delta tables. Supports recursion and pagination.

Instructions

Inspect a Unity Catalog Volume path. For a directory: entries with type (file/directory), size, modification time and detected format (parquet, csv, json, delta, avro, orc, text, ...), plus summary counts/total size by format; recursive walks sub-directories within max_depth / max_entries caps and reports directories containing _delta_log as Delta tables. For a file: its metadata (size, content type, last modified, format). Entries are paginated.

Safety classification: READ_ONLY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesVolume path: /Volumes/<catalog>/<schema>/<volume>[/sub/path].
max_depthNoMax directory depth when recursive (1-10).
page_sizeNoMax items to return (server caps this).
recursiveNoAlso list sub-directories (bounded by max_depth/max_entries).
page_tokenNonext_page_token from a previous response.
max_entriesNoMax entries scanned in total (capped at 10000).
detect_deltaNoProbe listed sub-directories for a _delta_log folder (Delta tables).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
pageNo
planNo
toolYes
actionNo
safetyNo
statusNosuccess
summaryYes
warningsNo
next_stepsNoSuggested follow-up calls.
request_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety burden is covered, yet the description still adds real behavioral detail: recursion is bounded by max_depth/max_entries caps, the scan is capped at 10000 entries, results are paginated, and directories with _delta_log are reported as Delta tables. This is meaningful context beyond the annotations.

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?

Front-loads the verb and resource in the first clause, then branches cleanly into directory and file cases. Dense but every clause about formats, caps and delta detection earns its place; the trailing 'Safety classification: READ_ONLY.' is mildly redundant with the annotations.

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?

An output schema exists, so return values need not be described, yet the description helpfully enumerates them anyway. Combined with annotations covering safety and a fully documented schema, an agent has nearly everything needed; only sibling routing is missing.

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%, so the schema already documents all seven parameters and the baseline is 3. The description still adds interpretive value by explaining what the recursive, max_depth and max_entries parameters jointly govern and what delta detection actually probes for.

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

Purpose4/5

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

States a specific verb (inspect) and resource (a Unity Catalog Volume path) and clearly distinguishes directory vs file behavior. It does not, however, differentiate itself from the obvious sibling manage_volume_files, so the agent must infer the boundary itself.

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?

The description explains what is returned but never says when to use this tool versus alternatives such as manage_volume_files, nor any precondition or exclusion. Usage is left entirely to inference from a sibling list the description ignores.

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