Skip to main content
Glama

preflight_check

Checks agent status and policy to determine if a specified action is allowed. Returns CLEARED or NOT CLEARED.

Instructions

Combined agent-status + policy-allowed check; returns CLEARED / NOT CLEARED summary.

Fail-open: a per-check exception is recorded as a warning, not a blocker.

Args:
    agent_id: The agent ID to check
    action_type: The action to check (e.g. "data:read", "api:call")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes
action_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses fail-open behavior (warning vs blocker), which is good. However, it does not mention authentication needs, side effects, or whether the check is purely read-only. More context would improve transparency.

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 brief and well-structured: a one-sentence purpose, a note on fail-open behavior, then a list of arguments. No unnecessary words; each sentence adds value.

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 basic purpose, behavioral exception handling, and parameter meanings. Given the presence of an output schema (not shown), the description needn't detail return values, but could mention what 'summary' entails. It is adequate but not thorough.

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 has 0% description coverage, so the description must compensate. The Args section provides minimal but adequate descriptions for both `agent_id` and `action_type`, including an example for `action_type`. This adds value beyond the schema's bare titles.

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 it is a combined agent-status and policy-allowed check that returns a CLEARED/NOT CLEARED summary. This distinguishes it from sibling `check_policy` which likely only checks policy.

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 description implies usage before performing an action, noting fail-open behavior. However, it does not explicitly state when to use this tool vs `check_policy` or other siblings, nor does it provide when-not-to-use guidance.

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/jagmarques/asqav-mcp'

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