Skip to main content
Glama
obsidian-surface

obsidian-surface

by sespinosa

tag

List all Obsidian vault labels or retrieve usage counts for a specific label to audit and organize notes.

Instructions

Manage tags in the vault.

Actions:

  • info: Get usage info for a tag (tag required, with or without #)

  • list: List all tags in the vault (no params)

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": {
      "action": "<action>"
    },
    "name": "tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoTag name (for info, with or without #)
actionYesAction to perform

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?

With no annotations, the description carries the full burden, and it does disclose the action-conditional parameter requirement and the '#' tolerance for tag names. However, it never states that both actions are read-only, what 'usage info' actually contains, or what happens on an unknown/unmatched tag, leaving meaningful behavioral gaps for an unannotated tool.

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 one-line purpose followed by a two-item action list is well front-loaded and easy to scan, with no filler. It is slightly over-terse for its gaps, but nothing in it is wasted.

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 simple (2 params, one enum, no output schema, no annotations), so heavy documentation is not required, and the action mapping is covered. Still missing: the nature of the 'usage info' payload and the behavior for a tag that does not exist, which an agent would need to call this confidently without an output schema.

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%, so both parameters (including the '#'-optional convention) are already documented in the schema, establishing a baseline of 3. The description adds modest value by tying 'tag' to the 'info' action specifically, but repeats the '#' detail the schema already states.

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 and resource ('Manage tags in the vault') and then enumerates both actions with plain-language meanings ('Get usage info for a tag', 'List all tags in the vault'). An agent can tell this is the tag-centric utility rather than a note/search tool, though it never explicitly disambiguates from siblings like 'search' or 'property'.

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 implied by the per-action notes ('tag required' for info, 'no params' for list), which is enough to pick the right action. There is no explicit when-to-use framing, no statement of when to prefer a sibling tool (e.g. searching by tag vs. listing tags), and no mention of prerequisites.

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