get_file_info
Retrieve file or folder attributes such as size, type, and modification date by providing the path.
Instructions
获取文件或文件夹属性信息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文件或文件夹路径 |
Retrieve file or folder attributes such as size, type, and modification date by providing the path.
获取文件或文件夹属性信息
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文件或文件夹路径 |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, description carries full burden. It only states 'get attribute info' without disclosing what attributes are returned, permission requirements, or behavior for different file types (e.g., symlinks, directories).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence clearly conveys purpose with no extraneous information. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool retrieves file properties, description is too minimal. Lacks details on return values (e.g., size, type, permissions) and does not compensate for missing output schema. Sibling tool context is not leveraged.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has 100% coverage with one parameter 'path' described as '文件或文件夹路径'. The description adds no additional meaning beyond the schema, so baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states '获取文件或文件夹属性信息' (get file or folder attribute information), which specifies the verb and resource. It distinguishes from sibling tools that perform copy, create, delete, read content, or write operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives. It does not mention any prerequisites, limitations, or scenarios where it should not be used.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leemwood/filemanager-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server