Skip to main content
Glama
Obsidian MCP Server
by Kynlos

add_task_metadata

Add due dates, priorities, and tags to an existing task in an Obsidian note so AI assistants can update task metadata in place.

Instructions

Add due date, priority, tags to task

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": {
      "filename": "<filename>",
      "task_text": "<task_text>",
      "metadata": "<metadata>"
    },
    "name": "add_task_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesNote containing task
metadataYesMetadata to add
task_textYesTask to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Add' implies additive behavior but it never says whether existing metadata is merged or overwritten, whether the task must already exist, or what happens on partial failure. For a mutation tool with zero annotation coverage, this is a substantial gap.

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

Conciseness3/5

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

It is a single efficient fragment with no wasted words, but it is terse to the point of under-specification for a three-parameter mutation tool. Conciseness is fine; the shortness is achieved by omitting needed content rather than by tight writing.

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

Completeness2/5

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

This is a mutation tool with no annotations, no output schema, and a nested metadata object, yet the description omits merge/overwrite semantics, required preconditions, and return behavior. Relative to that complexity, the definition leaves too much for the agent to guess.

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 100%, so the three parameters are already documented in the schema. The description does add value by naming the metadata keys (due date, priority, tags) that the generic 'Metadata to add' object accepts, but it gives no format or type guidance for those keys, so the baseline 3 is appropriate.

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?

The description states a specific verb ('Add') plus the resource ('metadata' on a task) and enumerates the fields involved (due date, priority, tags). It is clear what the tool does, but it does not distinguish itself from siblings such as add_tags or batch_update_metadata, so an agent cannot tell which of these to prefer.

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 guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. The sibling add_tags overlaps directly with the 'tags' field named here, yet the description gives no routing signal.

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