Skip to main content
Glama

vault_query

Read-onlyIdempotent

Read content from a vault project by specifying a project slug, section, or custom file path, with optional metadata and line limit.

Instructions

Read content from a vault project — use instead of direct filesystem access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesProject slug (directory under 10_projects/), or '_meta' for 00_meta/.
sectionNoShortcut name (context, tasks, roadmap, lessons). Ignored if path is set.context
pathNoRelative path to a specific .md file within the project. Overrides section.
max_linesNoMaximum lines to return. 0 = unlimited.
include_metadataNoPrepend a structured metadata line from YAML frontmatter.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, covering safety and idempotency. The description adds no extra behavioral traits beyond the obvious read operation, so it meets the baseline without additional depth.

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 a single, front-loaded sentence that efficiently conveys the tool's purpose and use case, with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of a comprehensive input schema (100% coverage, output schema true) and clear annotations, the brief description sufficiently completes the tool's definition for an agent to use it correctly.

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?

The input schema provides 100% coverage with descriptions for all 5 parameters. The tool description adds no additional meaning beyond what the schema already provides, so a baseline score of 3 is appropriate.

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 'Read content from a vault project', specifying a unique verb and resource. It also distinguishes from 'direct filesystem access', making its purpose distinct from siblings like vault_write or vault_search.

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?

The description advises using this tool instead of direct filesystem access, providing clear context. However, it does not explicitly mention when not to use it or alternative vault tools, such as vault_search for searching content.

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/mlorentedev/hive'

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