Skip to main content
Glama
diegorv

Another bloated Obsidian MCP Server

by diegorv

add_to_array_field

Add values to array fields in Obsidian frontmatter, such as tags or aliases. Creates the field if it doesn't exist, ignoring duplicates.

Instructions

Add values to an array field in frontmatter (e.g., tags, aliases). Creates the field if it does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the note
fieldYesName of the array field (e.g., "tags", "aliases")
valuesYesValues to add to the array (duplicates are ignored)
createIfMissingNoCreate the field if it does not exist (default: true)
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It does reveal one key behavior: 'Creates the field if it does not exist.' However, it omits other important behaviors such as error handling when the field is not an array, idempotency (duplicates ignored is only in schema, not description), and the impact of createIfMissing=false. The description is not misleading but is incomplete for a mutation tool.

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?

The description is a single, tightly written sentence that front-loads the primary action and includes a useful example. It has no redundancy or filler, earning full marks for conciseness and structure.

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?

The tool is relatively simple, and the schema documents all parameters, so the description does not need to explain return values (no output schema). However, given the absence of annotations and the existence of closely related sibling tools, the description lacks essential context about edge cases (e.g., non-array fields, failed additions when createIfMissing=false) and how this tool fits with alternatives. It is minimally complete but not thorough.

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?

Since schema description coverage is 100%, the baseline for this dimension is 3. The description adds little beyond the schema: it gives examples of field values (tags, aliases) and reiterates the create-if-missing behavior, both of which are already captured in the parameter descriptions. No additional parameter meaning is provided.

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 clearly states the tool's function: 'Add values to an array field in frontmatter (e.g., tags, aliases).' It mentions a specific resource (frontmatter array fields) and action (add values), which distinguishes it from related tools like remove_from_array_field. However, it does not explicitly name alternatives like add_tag, so it stops short of fully differentiating from all siblings.

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 description implies usage context by giving examples like 'tags, aliases' and mentions the behavior of creating the field if absent. However, it does not explicitly state when to use this tool versus alternatives (e.g., add_tag, update_frontmatter) or provide exclusions. The usage guidance is therefore only implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/diegorv/another-bloated-obsidian-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server