Skip to main content
Glama
TXAVLOG
by TXAVLOG

get_file_info

Retrieve detailed file information including size, modification date, and permissions. Optionally compute a hash (SHA-256, MD5, SHA-1) for integrity checks.

Instructions

Get detailed information about a file (Size, Modified Date, Permissions).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesFile path
hashAlgorithmNoHash algorithm (sha256, md5, sha1). Empty = return all.
allow_external_accessNoSet to true to allow accessing files outside the project root. User must explicitly approve this action.
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It does state the kind of information returned (size, date, permissions), which indicates a read-only operation. However, it does not mention the hash algorithm behavior, the external access approval flow, or any potential side effects. The description provides basic transparency but lacks depth.

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, well-structured sentence that front-loads the core action ('Get detailed information') and highlights key examples. There is no redundant or filler content, making it highly efficient and easy to parse.

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 tool with 3 parameters and no output schema, the description provides a baseline understanding of the tool's main outputs but does not explain the optional parameters or their practical use cases. It also lacks guidance on when to use the tool in a broader workflow. The description is minimally adequate but not rich in context.

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?

The input schema provides descriptions for all three parameters, so schema coverage is 100%. The tool description adds no extra parameter semantics beyond the schema's explanations. The baseline of 3 is appropriate since the schema does the heavy lifting and the description doesn't introduce new parameter meaning.

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?

The description uses the specific verb 'Get detailed information' and names the resource 'file' with concrete attributes (Size, Modified Date, Permissions). This clearly distinguishes it from sibling tools like read_file (which reads content) and read_dir (which lists directory entries), making the tool's role unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies its use for retrieving file metadata but does not explicitly state when to choose this tool over alternatives or any exclusions. For example, it doesn't say 'use this instead of read_file for metadata' or mention any prerequisites. The context is clear enough for a simple tool, but explicit guidance is missing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TXAVLOG/txamcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server