Skip to main content
Glama
gavinsomers

obsidian-mcp-context

by gavinsomers

get_vault_entity_context

Retrieve structured, data-mart backed context for any typed entity in your Obsidian vault. Provide entity type and name to get relevant rows.

Instructions

Return generic dbt mart-backed context for any typed entity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum rows to return. Capped at 200.
entityYesExact entity name, such as Project Atlas.
vault_pathYesPath to the Obsidian vault.
duckdb_pathNoOptional DuckDB warehouse path. Defaults to DUCKDB_PATH or /warehouse/obsidian.duckdb when present.
entity_typeYesEntity type, such as project, person, company, risk, or decision.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description carries full burden. It only states it returns context but does not disclose what context includes, side effects (likely read-only), performance characteristics, or authentication requirements.

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?

The description is a single sentence that conveys the core purpose without fluff. It is concise but could benefit from additional detail without being verbose.

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?

Given the output schema exists, return values are covered, but the tool has 5 parameters and many siblings. The description lacks information on parameter relationships, constraints, and when to prefer this generic tool over specific ones.

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 coverage is 100%, so parameters are already described in schema (e.g., exact entity name, vault path). The description adds no additional meaning beyond the schema, meeting the baseline expectation.

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 tool returns context for typed entities and specifies it is dbt mart-backed. It distinguishes from siblings like get_vault_entity_timeline (timeline) and get_vault_note_context (note-specific).

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?

No guidance on when to use this generic context tool versus sibling tools like get_vault_note_context or get_vault_project_context. No when-not-to-use conditions or alternatives mentioned.

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

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