Skip to main content
Glama

ls

List files and metadata from a directory in a forensic disk image, including inodes, sizes, MAC times, deleted flags, and alternate data streams.

Instructions

List a directory (path or 'inode:N'): names, inodes, sizes, MAC times, deleted flags, alternate data streams.

Input Schema

NameRequiredDescriptionDefault
partNo
pathNo/
imageYes
limitNo
show_deletedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose return content (names, inodes, sizes, MAC times, deleted flags, alternate data streams), which is useful behavioral context, but it does not state read-only safety, image/part requirements, pagination or limit behavior, or side effects.

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 a single front-loaded sentence that immediately states the action and then enumerates the key output fields. There is no wasted wording or redundant framing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter forensic listing tool with no annotations, no output schema, and 0% schema description coverage, the description is materially incomplete. It explains some output attributes but leaves required parameters, optional parameters, limit behavior, and safety expectations undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for five undocumented parameters. It partially clarifies the path parameter with the 'path or inode:N' syntax, but image, part, limit, and show_deleted are not explained at all.

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?

The description states a specific verb and resource: 'List a directory,' and adds the path/inode input syntax plus the listed attributes. It clearly distinguishes this as directory enumeration rather than file reading, extraction, or single-file stat, but it does not explicitly name or route to sibling alternatives.

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?

It gives only implied usage by saying it lists a directory and accepts a path or 'inode:N'. There is no explicit when-to-use guidance versus alternatives like find, stat, read, or extract, and no stated preconditions or exclusions.

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