Skip to main content
Glama

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. Changed8 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Id of the agent or server being checked."
    • addedInput schema / properties / manifest / description
      Added value: +"The server's manifest: tools, schemas, declared permissions."
    • addedInput schema / properties / payment_ref / description
      Added value: +"Optional. A paid credit or payment reference, used only after the free daily calls. Leave it out to use the free tier or a seat."
    • addedInput schema / properties / policy / description
      Added value: +"Optional. The policy to check against."
    • addedInput schema / properties / request_id / description
      Added value: +"Optional. Your id for this call. Repeat it to retry safely: the same request_id is never charged twice."
    • addedInput schema / properties / sample_inputs / description
      Added value: +"Optional. Sample inputs to screen."
    • addedInput schema / properties / session_id / description
      Added value: +"The verified checkout session id. Required for direct MCP calls."
    • addedInput schema / properties / subject_profile_sha256 / description
      Added value: +"Optional. SHA-256 of a subject profile, to bind into the receipt."
  2. Changed1 schema field changed
    • addedInput schema / properties / session_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Session Id"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The description adds behavior the annotations cannot express: a $1 charge, a signed receipt as output, and the fact that no endpoint is contacted (consistent with openWorldHint=false and with readOnlyHint=false, since it bills and issues a receipt). It also flags that importing the receipt into an Agent Market profile is a separate explicit action, which correctly bounds the tool's side effects.

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 is front-loaded well, but the sentence about the separate x402 HTTP rail 'retaining its existing introductory quote policy' is internally focused and contributes little to tool selection. Several sentences are terse to the point of ambiguity rather than being crisp.

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?

For a paid, 8-parameter tool with nested objects, the description covers cost, no-network behavior, session prerequisite, and side-effect boundaries, and an output schema exists so return values need no prose. The remaining gap is clearer relationship to the sibling scan/screen tools and to free-tier versus paid invocation.

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 all eight parameters are already documented, and the description's session note largely restates the schema's 'Required for direct MCP calls'. It adds a little meaning around payment context and receipt binding, but nothing about policy, sample_inputs, or the retry semantics beyond what the schema already says.

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 opening sentence gives a specific verb, resource, and result: 'Run a $1 static Security Preflight and return a signed receipt.' The word 'static' plus 'No deployed endpoint is fetched or tested' distinguishes it from a live scan, though it never names a sibling such as scan_source or screen_injection to make the routing explicit.

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 states a real precondition ('Direct MCP requires the checkout caller and verified fixed-order session') and rules out live testing, which is useful when-not guidance. However, it never says when to choose this over the sibling assessment/scan tools, and the x402 rail sentence reads as context about a different channel rather than actionable selection guidance.

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.