Skip to main content
Glama

Preflight before work

vault_preflight
Read-onlyIdempotent

Returns one deterministic nextAction plus ranked related projects, open or accepted handoffs, shared vision, and collision warnings for a topic or task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoTopic or task description (e.g. salida unifi, hermes telegram)
formatNojson (default) or markdown
platformNoAI platform name, such as Grok, Hermes, Claude Code, Codex, or ChatGPT
projectIdNoOptional current project external ID
workingDirectoryNoOptional working directory for collision detection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The description adds meaningful behavioral detail beyond the annotations: the tool deterministically produces a single nextAction and provides collision warnings. The read-only side is already covered by annotations, so the description adds value without contradicting them.

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 immediately states the primary output (deterministic nextAction) and then enumerates the supporting data. No filler or redundancy.

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?

The description covers the main return contents, and the schema documents all five parameters, but there is no guidance on when this preflight should be invoked relative to sibling tools, nor any note on how the output should drive subsequent actions.

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?

All parameters are already documented in the schema (100% coverage), and the description does not add extra semantic context about how 'query', 'platform', or 'projectId' affect the result. It neither repeats nor significantly extends the schema, so a baseline 3 is appropriate.

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 a specific action ('Returns a deterministic nextAction') and lists concrete returned data (related projects, handoffs, shared vision, collision warnings), making the tool's purpose clear. It does not explicitly differentiate it from sibling tools like vault_get_context, so it stops short of 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 Guidelines3/5

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

The title 'Preflight before work' and the phrase 'for a topic or task' imply the intended use case, but there is no explicit guidance on when to choose this over siblings such as vault_get_context or vault_search_projects.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.