Skip to main content
Glama

update_base

Edit Obsidian .base files to add or replace named views, set filters, define formulas, and assign property display names for clearer database views.

Instructions

Edit a .base file: add/replace a view (by name), set filters, add formulas or property display names.

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": {
      "file": "<file>"
    },
    "name": "update_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYes
viewNo
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
filtersNo
formulasNo
propertiesNo
remove_viewNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish this is a non-read-only, non-destructive, non-idempotent mutation, so the safety profile is covered. The description adds real context with "replace a view (by name)," signaling that an existing same-named view is overwritten rather than duplicated. It omits other behavior an agent would want: whether existing content is preserved, that views can also be removed, and whether the operation is atomic on the file.

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?

One front-loaded sentence that leads with the verb and resource, then lists operations. No redundant restatement of the name and no filler.

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?

For a 7-parameter mutation with a nested view object, an untyped `filters` property, and no output schema, the single sentence is thin. It never addresses the required `file` parameter, the `remove_view` operation entirely absent from the description, or what shape `filters` accepts, leaving key gaps for a reasonably complex editing tool.

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 only 14% (essentially just the vault parameter), so the description carries most of the burden. It does add meaning beyond the schema by explaining that views are matched by name and that properties carry display names, which maps to `view.name` and `properties.displayName`. However, `file`, `remove_view`, the empty `filters` schema, and the sort/limit/order fields of the nested view object get no explanation at all.

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 names both the verb ("Edit") and the resource ("a .base file"), then enumerates the concrete mutations: add/replace a view, set filters, add formulas, set property display names. That clearly separates it from create_base and read_base. It stops short of an explicit sibling contrast, so it isn't a 5.

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 statement of when to reach for this tool versus create_base or read_base, and no prerequisites such as whether the .base file must already exist or what permissions/handling apply if it doesn't. The listed capabilities imply editing usage, but nothing is stated about alternatives or when-not-to-use.

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