Skip to main content
Glama
adrienthebo
by adrienthebo

remove_tags_tool

Remove specific tags from Obsidian notes to clean up outdated labels, eliminate temporary markers, and maintain organized tag systems.

Instructions

Remove specific tags from a note's frontmatter.

When to use:

  • Cleaning up outdated tags

  • Removing temporary tags (like 'draft' or 'review')

  • Tag maintenance and reorganization

  • After completing tagged tasks

When NOT to use:

  • Removing all tags (use update_tags with empty list)

  • Replacing tags (use update_tags with merge=False)

Note: Only removes exact matches. To remove all subtags of a hierarchical tag, list them explicitly or use update_tags.

Returns: Updated tag list after removal, with count of removed tags

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the note
tagsYesTags to remove from the note (without # prefix). Removes exact matches only.
ctxNo
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: it specifies 'Only removes exact matches' (important constraint), explains hierarchical tag handling, and describes the return value (updated tag list with count). However, it doesn't mention potential errors (e.g., if note doesn't exist) or permission requirements.

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 well-structured with clear sections (purpose, when to use, when not to use, note, returns) and every sentence earns its place. It's front-loaded with the core purpose and efficiently communicates necessary information without redundancy.

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 mutation tool with no annotations and no output schema, the description provides good coverage: clear purpose, usage guidelines, behavioral constraints, and return value description. It could be more complete by addressing error cases or permission requirements, but it covers the essential context well given the complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 67% schema description coverage (2 of 3 parameters documented in schema), the description adds meaningful context: it clarifies that tags should be provided 'without # prefix' and that removal is 'exact matches only', which complements the schema's tag description. The 'ctx' parameter remains undocumented in both schema and description, but the description provides good coverage for the core parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Remove specific tags from a note's frontmatter') and distinguishes it from sibling tools like 'update_tags_tool' and 'add_tags_tool'. It specifies the exact resource (tags in note frontmatter) and scope (exact matches only).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit 'When to use' scenarios (cleaning up outdated tags, removing temporary tags, etc.) and 'When NOT to use' guidance with named alternatives (use update_tags for removing all tags or replacing tags). It clearly differentiates this tool from sibling update_tags_tool.

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/adrienthebo/obsidian-mcp'

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