Skip to main content
Glama

Get note metadata

get_note_metadata
Read-only

Retrieve metadata for a specific note by path—frontmatter, inline fields, and file properties—to inspect how the note is structured or queried.

Instructions

Get metadata for a specific note: frontmatter, inline fields and file properties

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": {
      "path": "<path>"
    },
    "name": "get_note_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesNote path
vaultNoVault name. May be omitted when only one vault is configured; see list_vaults.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.0.1
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / path / minLength
      Added value: +1
    • changedInput schema / properties / vault / description
      Previous value: -"Vault name"New value: +"Vault name. May be omitted when only one vault is configured; see list_vaults."
    • changedInput schema / required
      Previous value: -[
      -  "vault",
      -  "path"
      -]New value: +[
      +  "path"
      +]
  2. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered by structured data. The description adds the useful detail of what fields are returned, but says nothing about behavior such as error handling for a missing path, whether metadata is cached, or how large notes are handled.

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 with the verb first and the returned content listed after the colon. Nothing is wasted and there is no filler.

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 read-only tool with two fully documented parameters, the description is nearly complete, and the enumeration of returned metadata partially compensates for the absence of an output schema. The main gap is not distinguishing itself from sibling retrieval tools.

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%, with both 'path' and 'vault' documented in the schema, including the single-vault fallback and a pointer to list_vaults. The description adds no parameter semantics beyond that, so the baseline 3 applies when the schema does the work.

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 and resource ('Get metadata for a specific note') and enumerates the metadata categories returned (frontmatter, inline fields, file properties). This implicitly separates it from the content-oriented get_note sibling, though it never names that sibling explicitly.

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: an agent can infer it should call this when it needs structured properties rather than note body content. There is no explicit when-to-use or when-not-to-use statement, and no pointer to get_note or get_active_note as the content alternative.

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