Skip to main content
Glama

read_base

Read-onlyIdempotent

Read a .base file to inspect its filters, formulas, properties, and views parsed from YAML; call app_base_query to retrieve result rows from the running app.

Instructions

Read a .base file: filters, formulas, properties and views (parsed from YAML). Use app_base_query to get its result rows from the running app.

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": "read_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNo
fileYes
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavior: the return is a YAML-parsed configuration structure, not evaluated data, and live evaluation lives in a different tool. It omits failure behavior for malformed or non-base files.

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?

Two tightly written clauses: the first front-loads what the tool returns, the second routes the agent to the alternative. There is no filler, restatement of the tool name, or hedging.

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?

For a simple three-parameter read with annotations and no output schema, the description covers purpose and the key alternative adequately, and the enumeration of returned sections partially substitutes for a missing output schema. However, two of three parameters remain unexplained anywhere, so an agent still guesses at `raw` and at the accepted `file` path form.

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

Parameters2/5

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

Schema description coverage is only 33%; only the `vault` parameter is documented in the schema. The description adds no meaning for `file` (path format, relative vs. absolute, extension expectations) or `raw` (presumably bypassing YAML parsing), which are precisely the ambiguous ones. With low coverage the description should compensate, and it does not.

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 uses a specific verb and resource ("Read a .base file") and enumerates exactly what is returned: filters, formulas, properties and views. It also clarifies the representation ("parsed from YAML"), which separates it from a plain text read. It does not distinguish itself from generic readers like read_note that could also open the same file, keeping it just below 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 Guidelines4/5

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

It names a concrete alternative — app_base_query — and states the condition that selects it: when you want result rows from the running app rather than the file's configuration. That is an explicit when-to-use-rather-than signal. It stops short of stating exclusions, such as what to do if the file is not a valid base or when you only need raw text.

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