Skip to main content
Glama

BCD — Bridge Control Delegate

disk_usage

Read-only

Show what takes up disk space in a folder without changing anything: the size of each item directly inside it, largest first, and the folder's total (allocated space, as du counts it). Call it again on a large item to look inside. A very large folder may stop after 90 seconds with complete: false and the items finished by then.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFolder to measure, such as ~ or ~/Library~
limitNoHow many of the largest items to list
deviceIdNoComputer name or id from list_devices. Optional with one computer online or a default set.
workSessionIdNoWork session from create_work_session. Pass the same ID on every call in this conversation; omit for legacy unscoped work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered; the description still adds real value by disclosing the 90-second cap and the partial-result contract ('complete: false with the items finished by then'), and by clarifying the measurement semantics (allocated space, as du counts it). It does not mention behavior on unreadable or permission-protected folders, which is a minor remaining gap.

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?

Three sentences, each earning its place: the first defines the operation and output, the second the drill-down pattern, the third the timeout edge case. The scoping ('without changing anything') is front-loaded and there is no filler.

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?

With no output schema, the description carries the return-value burden and does so reasonably: ranked items, item sizes, folder total, and a completion flag. It is essentially complete for a 4-parameter read-only tool, though it leaves the per-item fields (e.g., name vs path) unspecified.

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%, so path, limit, deviceId, and workSessionId are already documented in the schema; the description adds only a loose implication of the path parameter ('in a folder', 'call it again on a large item'). Baseline 3 is appropriate when the schema does the heavy lifting and the description adds nothing parameter-specific.

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?

States a specific verb and resource ('Show what takes up disk space in a folder') plus the exact return shape: size of each item directly inside, largest first, and the folder total. This clearly separates it from siblings like list_directory, stat_path, and search_files, which enumerate or inspect paths but do not rank by disk consumption.

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?

Gives a concrete usage pattern: 'Call it again on a large item to look inside,' which tells the agent to drill down iteratively rather than expecting recursion. However, it names no alternative sibling (e.g., list_directory or stat_path) nor any condition under which this tool should not be used, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources