Skip to main content
Glama

SpendPreflight

Free x402 Lint

lint_endpoint

Free x402 Lint by SpendPreflight. Includes a free passive Security Check summary; optional full report with fixes is $0.10, no automatic payment. Checks a public HTTPS endpoint with an unpaid GET: v1/v2 challenge shape, payTo/asset/network syntax, price, Bazaar metadata and browser CORS headers. Returns a heuristic Listing Guard riskScore (0–100 or unknown), fixes and a public seven-day report link. Positive scores include optional paid Listing Guard and monitoring links; no paid call is made. Scores are not safety or Bazaar acceptance guarantees. No payment or credentials; GET cannot validate a POST-only endpoint or paid delivery. Do not submit private URLs. CI Action: https://github.com/spendpreflight/x402-lint-action; report badge: /v1/lint/reports/{id}/badge.svg reads only the existing seven-day snapshot, never runs a check.

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations: discloses the pricing model, that no payment or credentials are transmitted, what the heuristic riskScore means, and explicit caveats that scores are not safety or Bazaar-acceptance guarantees. Minor tension: annotations set readOnlyHint=false while the description frames the call as a passive, unpaid, non-mutating GET; openWorldHint=true does explain the external reach, so this reads as conservative annotation rather than a real conflict.

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?

Front-loaded with branding ('Free x402 Lint by SpendPreflight') and then packed with pricing, caveats, a CI Action URL, and a badge path that most agents will never need. The useful routing and constraint sentences are there, but they are buried among promotion and infrastructure detail.

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 no output schema, the description still enumerates the return payload (riskScore 0–100 or unknown, fixes, seven-day report link) and the failure modes it cannot cover. What is missing is only shape-level detail, such as field names or how 'unknown' is distinguished, which is a modest gap for a one-parameter diagnostic tool.

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 coverage is 0% for the single url parameter, so the description has to carry the meaning, and it does: the argument must be a public HTTPS endpoint and must not be a private URL. That constraint, plus the schema's embedded example, is enough to fill the parameter's semantics even without a formal field description.

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?

States a specific verb and resource (lints a public HTTPS endpoint via an unpaid GET) and enumerates exactly what is inspected: v1/v2 challenge shape, payTo/asset/network syntax, price, Bazaar metadata, CORS headers. That scope is distinct from siblings like check_endpoint or security_check, so an agent can route without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operating conditions: free passive check by default, optional $0.10 full report but 'no automatic payment', and 'no paid call is made', which tells the agent the free path is the default. It also states exclusions ('GET cannot validate a POST-only endpoint or paid delivery') and a privacy rule ('Do not submit private URLs'), though it never names a sibling tool or the situation that would select one.

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