Skip to main content
Glama

security-preflight

Static agent manifest assessment

security_preflight

Run a $1 static Security Preflight and return a signed receipt.

Direct MCP requires the checkout caller and verified fixed-order session. The separate x402 HTTP rail retains its existing introductory quote policy. No deployed endpoint is fetched or tested. Importing the receipt into an Agent Market profile is a separate, explicit action.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>",
      "manifest": "<manifest>"
    },
    "name": "security_preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyNoOptional. The policy to check against.
agent_idYesId of the agent or server being checked.
manifestYesThe server's manifest: tools, schemas, declared permissions.
request_idNoOptional. Your id for this call. Repeat it to retry safely: the same request_id is never charged twice.
session_idNoThe verified checkout session id. Required for direct MCP calls.
payment_refNoOptional. A paid credit or payment reference, used only after the free daily calls. Leave it out to use the free tier or a seat.
sample_inputsNoOptional. Sample inputs to screen.
subject_profile_sha256NoOptional. SHA-256 of a subject profile, to bind into the receipt.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false, and destructiveHint=false; the description adds meaningful context on top: a $1 charge, a signed receipt artifact, and the fact that no live endpoint is contacted. The billing/session prerequisites and the note that receipt import is a separate explicit step are genuinely useful behaviors not captured by the annotations. Rate limits and what the receipt contains are left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action and price are front-loaded in the first sentence, which is good. However, 'The separate x402 HTTP rail retains its existing introductory quote policy' is opaque, jargon-dense, and of marginal use for deciding whether to invoke the tool, consuming a full sentence of the definition.

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?

With an output schema present, return values needn't be explained, and the 8 parameters are fully covered by the schema. The description covers pricing, the static (non-fetching) nature, session prerequisites, and the post-call import step, which is adequate for a tool of this complexity. Only the discrimination against sibling tools is under-specified.

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%, so every parameter including session_id, payment_ref, and subject_profile_sha256 is already documented in the schema. The description corroborates the session requirement ('verified fixed-order session') and the paid-credit concept but adds no new syntax or format detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 states a specific verb and resource: run a static Security Preflight on an agent manifest and return a signed receipt, reinforced by the title 'Static agent manifest assessment'. 'Static' and 'No deployed endpoint is fetched or tested' implicitly separate it from scan_source and screen_injection, but no sibling is named explicitly, so an agent must infer the boundary.

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?

It gives conditional context for how to call it (direct MCP needs the checkout caller and a verified fixed-order session; x402 rail has its own quote policy) and clarifies that importing the receipt into a profile is a separate action. What is missing is explicit when-to-use guidance relative to the sibling tools such as scan_source or screen_injection — the static/dynamic distinction is only implied.

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.