Skip to main content
Glama

Get recent files

get_recents

Retrieve recently opened files from Obsidian app state to resume work or reference prior notes without searching the vault.

Instructions

Recently opened files, from Obsidian app state.

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_recents"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 does add one genuinely useful disclosure — the data comes from Obsidian application state rather than vault metadata, implying results depend on the app having been used — but it omits ordering, how many entries are returned, and whether non-note file types appear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short clause with zero filler, front-loading the resource and appending the data source. It is arguably over-terse — a verb phrase and a count or ordering note would cost one more clause and remove ambiguity — but nothing present is wasted.

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 zero-parameter read tool with no output schema, the essential question is what the agent gets back, and the description says only 'recently opened files' without indicating shape, count, or sort order. It is minimally adequate rather than complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema declares zero parameters, so there is nothing for the description to disambiguate; the baseline for a parameterless tool applies. The description's only obligation is to make clear no arguments are needed, which it does implicitly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase 'Recently opened files' names the resource specifically, and 'from Obsidian app state' narrows what kind of recents these are, so an agent can tell it apart from list_notes or read_note. However, the string is a noun fragment with no verb, and it never states that it returns a list, leaving the operation itself 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 Guidelines2/5

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

There is no when-to-use guidance at all: nothing says to prefer this over list_notes when the user asks 'what was I just working on', and nothing names an alternative. The only implied usage is temporal recency, which the agent must infer from the word 'recents'.

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