Skip to main content
Glama

embed_in_note

Embeds a note, heading, block, image, or file into an Obsidian note using wikilink syntax, at the end or under a chosen heading.

Instructions

Embed a note, heading, block, image or other file into a note (![[...]]), at the end or under a heading.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>",
      "embed": "<embed>"
    },
    "name": "embed_in_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesNote path ("Folder/Note.md"), path without .md, note name, alias, or [[wikilink]]
embedYesWhat to embed (note/file name, optionally #Heading or #^block)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
headingNo

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=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description adds the concrete output form (![[...]]) and placement behavior, but does not mention that repeated calls will create duplicate embeds (consistent with idempotentHint=false) or what happens when the embedded target does not exist.

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 sentence with no filler, front-loaded with the verb and the accepted target types, followed by the emitted syntax and placement options. The parenthetical syntax sample is the only mildly heavy element but it earns its place.

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 mutating tool with no output schema and four parameters, the essentials (target, payload, placement, vault scoping via schema) are covered. Gaps remain around failure behavior when the referenced file or block is missing and around duplicate-embed behavior, which matter given idempotentHint=false.

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 75%: file, embed and vault are documented, and the description clarifies the heading parameter by saying embedding happens 'at the end or under a heading', implying heading is optional and controls placement. The embed parameter's '#Heading or #^block' syntax is already in the schema, so the description adds little beyond the baseline.

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+resource: 'Embed a note, heading, block, image or other file into a note', and clarifies the emitted syntax (![[...]]). It is clear what the tool produces, though it does not explicitly contrast itself with append_to_note or prepend_to_note, leaving the agent to infer the difference between embedding a reference versus inserting content.

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?

'at the end or under a heading' gives placement semantics (append-style vs heading-scoped), which implicitly frames when to use it. However there is no explicit when-not guidance and no named alternative for cases where the agent wants to insert literal text rather than an embed link.

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