Skip to main content
Glama

Vault Ask

vault_ask
Read-onlyIdempotent

Ask a natural-language question and receive a source-cited synthesized answer from your vault, or relevant sections when synthesis is not configured.

Instructions

Ask a natural-language question; get a source-cited synthesized answer (semantic retrieval / RAG) or relevant vault sections when no synthesis model is configured.

OPTIONAL — disabled by default. Requires the [semantic] extra plus an embeddings backend (HIVE_EMBED_BASE_URL); until then it returns a short how-to-enable message and never errors. Set HIVE_SYNTH_MODEL to enable LLM synthesis on top of retrieval. For keyword / regex lookups use vault_search instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionNoThe natural-language question to answer. Use `question`, not `query` or `prompt`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.41.1

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly and idempotent annotations, the description discloses meaningful behavior: it returns a how-to-enable message when not configured, never errors, and changes behavior when HIVE_SYNTH_MODEL is set. This gives the agent accurate expectations for unconfigured environments.

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 front-loaded with the core purpose and then efficiently covers fallback behavior, configuration prerequisites, and the sibling alternative. Every sentence serves a distinct purpose without redundancy.

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 output schema exists and the tool has optional synthesis behavior, the description fully covers prerequisites, degraded mode, configuration, and when to use a sibling tool. An agent has everything needed to decide whether and how to call it.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value by emphasizing use of the `question` parameter over `query` or `prompt`, which helps agents avoid common naming mistakes.

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 uses a specific verb ('Ask') and resource ('vault') with a concrete output ('source-cited synthesized answer' or 'relevant vault sections'). It clearly distinguishes itself from sibling vault_search by framing this as natural-language / semantic retrieval versus keyword / regex lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description states exactly when to use the tool (natural-language questions, semantic retrieval/RAG) and explicitly says to use vault_search instead for keyword/regex lookups. It also covers the disabled-by-default state, prerequisites, and configuration needed for synthesis.

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