Skip to main content
Glama
ZethicTech

obsidian-mcp

by ZethicTech

get_file_info

Read-onlyIdempotent

Retrieve metadata for files in an Obsidian vault, including size, creation and modification dates, and file type. Provide a note name or exact path to get details.

Instructions

Get metadata about a file (size, dates, type).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoNote name (wikilink-style resolution)
pathNoExact path from vault root
Behavior3/5

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

Annotations (readOnlyHint=true, idempotentHint=true) already declare the tool is safe and idempotent. The description adds the types of metadata returned but does not disclose other behaviors such as error handling or requirements for the 'file' vs 'path' parameter.

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 concise sentence that includes examples of metadata. It is well-structured with no redundancy or unnecessary words.

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?

Despite the tool having no output schema, the description only mentions three metadata types (size, dates, type) without specifying the exact return format. For a tool with two parameters and no output schema, this lacks sufficient detail for the agent to fully understand the response.

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% because both parameters ('file' and 'path') have descriptions. The tool description adds no additional information about parameters, maintaining the baseline of 3.

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 'Get metadata about a file (size, dates, type)' clearly states the action (get metadata) and the resource (file), and lists specific attributes. This differentiates it from siblings like 'read_note' (content) and 'get_backlinks' (links).

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?

The description offers no guidance on when to use this tool versus alternatives like 'read_note' or 'get_properties'. There is no mention of context, prerequisites, or exclusions.

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/ZethicTech/obsidian-mcp'

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