Skip to main content
Glama

snapshot_disk_usage

Check disk usage of saved playlist snapshots to identify storage consumption, file counts, and largest files per playlist.

Instructions

Report disk usage of the snapshot directory: total size, file count, per-playlist breakdown, and the largest files Snapshot guide: take_playlist_snapshot (create), list_saved_snapshots (list), read_playlist_snapshot (read), diff_playlist_snapshots / snapshot_new_tracks / snapshot_removed_tracks (diff), restore_playlist_from_snapshot / restore_playlist_plan (restore).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.26.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It clearly indicates the tool reports/reads disk usage, which implies a non-destructive operation, but it does not explicitly state that it makes no modifications, nor does it mention any operational caveats, environment dependencies, or output behavior beyond the listed metrics.

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

Conciseness3/5

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

The first sentence is concise, front-loaded, and informative. However, the second sentence is a broad 'Snapshot guide' listing many sibling tools, which is not directly about invoking snapshot_disk_usage and largely duplicates information already available in the sibling tool list, adding noise.

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?

The description covers the tool's purpose, the resource it inspects, and the main categories of returned information. With only one optional, fully documented parameter and no required parameters, an agent has enough context to call it correctly. It does not detail exact output structure for json mode, but the metric list provides adequate guidance.

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?

Schema description coverage is 100% and the single response_format parameter is fully described inline with its enum values and default. The description adds no additional parameter meaning, but none is needed because the schema already documents it thoroughly.

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?

Description states a specific verb ('Report disk usage') and resource ('snapshot directory'), and enumerates the concrete outputs: total size, file count, per-playlist breakdown, and largest files. This clearly distinguishes it from snapshot creation, listing, diffing, and restore tools in the same family.

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 explicit guidance on when to use this tool versus alternatives. The 'Snapshot guide' sentence lists sibling snapshot tools but does not explain when disk usage reporting is appropriate or when another snapshot utility should be chosen instead.

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

Deploy Server

Other Tools