gamai-preflight
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| preflight_textA | Score inbound text for prompt injection with gamai-guard (lexical + optional embedding cascade). Returns allow/review/block plus the guard rule that fired, under 10 ms and with no LLM call. |
| preflight_logA | Score an access log for agent-like inbound behaviour with gamai-tripwire (canaries, spec-derived paths, tool switching, key probing) for one file. Returns allow/review/block, the worst level and per-rule evidence. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
preflight_log and preflight_text are clearly distinguished by input type and detector: access-log/agent-behaviour scoring versus inbound text/prompt-injection scoring. An agent can select the right tool based on whether it has a log file or raw text.
Both tools follow the same preflight_<object> pattern, making the set predictable and easy to scan. There is no mixing of naming conventions.
Two tools is thin for a server, though the scope is deliberately narrow: two preflight checks for two input modalities. It is defensible but could benefit from at least one more operation such as batch scoring or a combined check.
The surface covers the two obvious preflight use cases: inspecting access logs for agent-like behaviour and inspecting text for prompt injection. Minor gaps exist, such as batch processing or a combined log-plus-text workflow, but core coverage is solid.