Skip to main content
Glama

Agent Decision Preflight

agent-decision-preflight
Idempotent

Before an autonomous coding agent installs or adopts software, return a bounded GO, WARN, or BLOCK decision with evidence and a portable SALT19 verification receipt. Price: $0.50 via x402. Generate one _salt19_operation_id per intended purchase, preserve it across retries, and add _x402_payment_signature after satisfying the challenge. A stable _salt19_operation_id is required and makes semantic retries at-most-once. _salt19_operation_id is recommended but optional for standard x402 compatibility.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesInput parameter "target" for the agent-decision-preflight tool.
constraintsNoInput parameter "constraints" for the agent-decision-preflight tool.
decision_typeYesInput parameter "decision_type" for the agent-decision-preflight tool.
_salt19_handoff_idNoOptional SALT19 authorization handoff correlation. Preserve the same value across challenge, local signing, and paid retry.
_salt19_operation_idNoOptional but recommended semantic purchase identifier. Generate once per intended purchase and preserve it across challenge, payment, timeout recovery, and retries for the strongest at-most-once contract. Standard x402 clients may omit it.
_x402_payment_signatureNoOptional x402 PAYMENT-SIGNATURE proof. Omit on the first call to receive the payment challenge; include after satisfying that challenge.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNoCanonical SALT19 tool identifier when the result is tool-specific.
statusNoSALT19 execution, payment, availability, or verification state.
responseNoTool-specific structured response payload when execution completes.
operation_idNoClient-controlled semantic purchase identifier when applicable.

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?

Beyond the annotations, the description discloses $0.50 pricing, the x402 payment-challenge flow, and the at-most-once retry semantics tied to a stable operation id. It also makes clear that _x402_payment_signature must be added only after satisfying the challenge. It stops short of detailing failure/timeout behavior, but it adds meaningful non-obvious context.

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 compact and front-loads the core purpose before moving to payment and retry instructions. There is no filler, though the back-to-back 'required' and 'optional' statements about _salt19_operation_id are confusing and could be tightened.

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

Completeness4/5

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

Given the rich input schema, the parameter-level descriptions, and the presence of an output schema, an agent has enough information to invoke the tool and complete the x402 flow. The main remaining gap is sibling selection: the description does not explain how this paid preflight relates to the free fact-finding or other go/no-go tools.

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?

Schema coverage is 100%, and the schema's own parameter descriptions already explain the SALT19 handoff, operation-id reuse, and challenge/signature flow. The prose largely restates that guidance and adds little for `target` or `constraints`; the 'required... optional' wording around _salt19_operation_id actually muddies the contract.

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 first sentence names a precise action and outcome: returning a bounded GO/WARN/BLOCK decision with evidence and a SALT19 receipt before an agent installs or adopts software. It clearly conveys this is a decision preflight rather than a generic facts lookup. However, it does not explicitly compare against the many sibling go/no-go tools, so differentiation relies mainly on the SALT19/payment details.

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 gives a clear triggering context ('Before an autonomous coding agent installs or adopts software') and implies a paid decision flow, but it never says when NOT to use it or which alternatives to prefer. With dozens of siblings such as dependency-go-no-go, repo-adoption-go-no-go, and github-repo-preflight, an agent receives no direct routing guidance beyond reading schemas.

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.

Resources