Skip to main content
Glama

get_attachment_folder

Read-onlyIdempotent

Returns the folder Obsidian uses for new attachments, globally or for a specific note, helping you locate or configure where attachment files are stored.

Instructions

Where Obsidian will put new attachments (globally, or for a given note).

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

Input Schema

NameRequiredDescriptionDefault
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
for_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered structurally. The description adds only that the answer can be scoped globally or per note; it does not mention what happens with an unknown vault or note, or whether the default falls back to Obsidian's built-in setting.

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, front-loaded phrase with no filler. It is efficient, though so terse that the implicit 'get' and implied return value leave a little ambiguity.

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 simple two-optional-parameter read tool with annotations covering safety, this is close to adequate, but with no output schema the description should indicate what is returned (a path string, an object, or a note-relative value). That gap keeps it at minimum-viable rather than complete.

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 coverage is 50%: vault is documented in the schema, but for_note has no schema description at all. The description partially compensates by explaining for_note as the 'for a given note' scope, but never says whether it takes a path, name, or link, nor what the global form returns.

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 the specific resource being read (the attachment destination setting) and its scope: global vs. per-note. It is distinguishable from add_attachment and get_vault_settings by that focus, though the verb is implicit in the noun phrase rather than stated as 'returns'.

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 parenthetical '(globally, or for a given note)' implies when to pass for_note, but there is no explicit guidance on when to call this versus get_vault_settings, nor any preconditions. Usage must be inferred from the parameter hint alone.

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

Deploy Server

Other Tools