Skip to main content
Glama
CT-mao

uitree-local

by CT-mao

list_files

List files in a device directory by passing an absolute path, enabling local file inspection and management for Uitree Portal APK automation.

Instructions

Lists files in a directory on the device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute directory path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states only that files are listed and does not disclose whether the operation is read-only, how hidden or special files are handled, sort order, error behavior, or any permission requirements.

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 definition is a single front-loaded sentence with no redundant or filler content. It communicates the core action efficiently.

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

Completeness3/5

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

For a simple one-parameter read operation, the description is minimally viable. However, with no annotations and no output schema, it could do more to clarify return format, listing behavior, or edge cases that an agent might need when invoking the tool.

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 'path' parameter already documents that it expects an 'Absolute directory path.' The description adds no further parameter meaning or format details beyond what the schema provides, so the baseline of 3 is appropriate.

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: 'Lists files in a directory on the device.' This clearly distinguishes it from siblings such as read_file, write_file, and delete_file, but it does not explicitly differentiate itself from other listing tools or explain its scope beyond a single directory.

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?

There is no explicit when-to-use or when-not-to-use guidance. The description implies the tool is for listing files, but it does not mention alternatives like read_file or list_installed_apps, nor does it specify prerequisites or appropriate contexts.

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