Skip to main content
Glama

Get note info

get_note_info

Retrieve metadata for a single Obsidian note, including its path, size, and created and modified dates. Identify the note by wikilink-style name or exact vault path.

Instructions

Metadata for one note via Obsidian: path, size, created and modified dates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_note_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoNote name, resolved like a wikilink. No folder path, no extension.
pathNoExact path from the vault root, e.g. "Projects/Roadmap.md".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully enumerates the metadata returned (path, size, created/modified dates), which compensates somewhat for the missing output schema, but it says nothing about read-only safety, behavior for a nonexistent note, or the cost/latency of the lookup.

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?

A single front-loaded sentence that identifies the resource, the source system, and the returned fields with zero filler. Nothing could be removed without losing information.

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

Completeness4/5

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

For a simple two-parameter read tool with full schema coverage, the description covers purpose and return fields adequately. The only real gaps are the absent error/not-found behavior and the unstated choice between the file and path parameters.

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 both parameters (file as wikilink-style name, path as exact vault-relative path) are fully documented in the schema. The description adds no meaning beyond that, and notably does not clarify the relationship between the two optional selector parameters, which the schema also leaves unconstrained.

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?

States a specific verb (get) and resource (metadata for one note) and enumerates the returned fields (path, size, created/modified dates), which distinguishes it in spirit from read_note. It does not name any sibling explicitly, so differentiation is implied rather than stated.

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?

Usage is only implied: the emphasis on 'metadata' suggests calling this instead of read_note when content isn't needed, but the description never says when to use it, when not to, or what the alternative is. No prerequisites or error conditions are mentioned.

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