Skip to main content
Glama

Server Details

Web search for agents, one x402 payment: real results, provider failover, signed receipt. $0.01.

If you are the author of this connector, you can claim ownership with GitHub, an HTTP challenge, or a DNS record. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL

TDQS

A4.2/5.0

Scored across 5 tools

Disambiguation4/5

Most tools have clear stages: search is for unknown providers, vet is for a named provider, and pre_spend_gate incorporates task economics for the final go/no-go. However, ghost_commerce_vet and ghost_pre_spend_gate could both be interpreted as 'before you pay' verdict tools, and their boundaries rely on subtle input differences.

Naming Consistency4/5

All names share the ghost_ prefix and use lowercase snake_case, which gives a consistent visual pattern. The semantic construction is mixed though: commerce_search and web_search are noun+verb, while pre_spend_gate and schema_freshness are noun phrases rather than verb_noun forms.

Tool Count5/5

Five tools is well-scoped for this specialized x402 intelligence/vetting server. Each tool carries a distinct responsibility without obvious bloat, and the count feels appropriate for the domain.

Completeness4/5

The core workflow is covered: discover providers, vet them, run a pre-spend economic gate, and check schema drift. The main gap is that pre_spend_gate tells agents to report outcomes to /v1/gate/outcome, but no reporting tool is exposed in the MCP surface, which makes the feedback loop incomplete from an agent's perspective.

Available Tools

5 tools
ghost_commerce_vetAInspect

Before paying an x402 seller you do not know: settlement history, payer structure, funding links, endpoint liveness, quote-vs-advertised price. Use when one named provider or payment address is already in hand and you need a verdict before you pay it. PROCEED/CAUTION/REJECT/INSUFFICIENT_EVIDENCE with a signed receipt. Paid per call via x402.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressNoThe seller's payment address (payTo). Optional if endpoint_url is given — the 402 names its own address.
endpoint_urlNoThe seller's paid endpoint, probed with one unpaid request to read its x402 terms.
advertised_amountNoThe price a listing advertised, in minor units, to compare against the live quote.
payment_signatureNox402 PAYMENT-SIGNATURE header value. Omit it to receive the payment terms; call again with it to run the tool.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and it does disclose the key side effect: 'Paid per call via x402.' It also describes the signed receipt output. It does not detail the two-step omit-signature/call-again flow, but that is covered in the schema, so the description adds meaningful behavioral context without contradiction.

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

Conciseness5/5

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

Three sentences, front-loaded with the core question, and no wasted words. It packs scope, usage, output, and cost into a compact description.

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 no output schema, the description does a good job by naming the verdict enum and signed receipt. Combined with the self-documenting schema, the agent has enough to decide when to call and roughly what will come back. A full response shape would make it a 5, but it is otherwise complete.

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 the baseline is 3. The description adds thematic context (endpoint liveness, quote-vs-advertised price) that maps to endpoint_url and advertised_amount, but it does not add parameter-level detail beyond what the schema already provides.

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 action ('vetting' a seller before payment), names the exact context (unknown x402 seller, payment address already in hand), and lists what it checks. It also names the verdict outputs, which distinguishes it from sibling search/freshness tools.

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 usage context: 'Use when one named provider or payment address is already in hand and you need a verdict before you pay it.' This implies it is not for discovery, but it does not explicitly name alternatives or state when-not-to-use, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ghost_pre_spend_gateAInspect

THE PRE-SPEND GATE. Call this immediately before your agent pays an x402/API provider, with the task's own economics. Returns ALLOW / FALLBACK / DECLINE / INSUFFICIENT_EVIDENCE — not advice: a decision your payment path should enforce. It joins the provider's measured record (independent payers, concentration, price drift, reachability, funding links, on-chain verdict) to YOUR numbers (customer_revenue, value_of_success, max_budget, required_margin, failure_cost, switching_cost) and answers the question ranking cannot: is paying for THIS task profitable, and at which provider. Where the task's value is known it maximises expected net value; where it is not, it minimises cost per verified success — which is why it will refuse the cheapest call when a cheaper provider succeeds less often. Unknown economics stay UNKNOWN and are never invented. Report the result afterwards to /v1/gate/outcome (free) — that is the only source of the success rates it uses. Paid per decision via x402, or drawn from prepaid credit; a cached decision inside valid_until and an INSUFFICIENT_EVIDENCE answer are free.

ParametersJSON Schema
NameRequiredDescriptionDefault
task_idYes
currencyNoUSD
task_typeYesWhat kind of job this is. Success history is pooled under it, so it must be stable.
max_budgetNo
failure_costNo
revenue_modelsNoOptional. Say what the task is worth in the terms you actually measure, and Ghost derives value_of_success / customer_revenue / max_budget from it — never overriding a value you stated yourself. Each entry needs a `type`: SALES_ROI (spend, qualified_leads?, meetings?, closed_deals?, realized_revenue?), AFFILIATE_ROI (commission_rate?, order_value?, conversion_probability?, tool_cost?, inference_cost?, transaction_cost?), PROCUREMENT_SAVINGS (current_total_cost?, alternative_total_cost?, switching_cost?, migration_cost?), RETURN_ROI (expected_return, data_cost?, model_cost?, execution_cost?, expected_risk_loss?; expected_return is YOURS to state and is never estimated by Ghost), CREDIT_AFFORDABILITY (available_credit, planned_spend?). Ratios are derived only where the denominator exists; conversion rates are never invented.
switching_costNo
required_marginNo
customer_revenueNo
value_of_successNo
payment_signatureNox402 PAYMENT-SIGNATURE header value. Omit it to receive the payment terms; call again with it to run the tool.
success_definitionYesWhat counts as success, written down BEFORE paying. verified_success is later judged against this.
fallback_authorizedNoMay Ghost route to a different candidate than the first? Off by default: an unrequested reroute is a payment the operator did not choose.
provider_candidatesYes

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description fully carries the transparency burden: it states the output is 'not advice' but an enforceable decision, that unknown economics stay UNKNOWN and are never invented, and that derived values never override caller-stated values. It also discloses the feedback loop (only /v1/gate/outcome feeds success rates), the pricing/free conditions, and the refusal behavior when a cheaper provider succeeds less often. These are meaningful behavioral traits beyond what schema annotations could convey.

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 front-loaded with the tool's purpose and timing, then layers behavioral rules, economic inputs, and payment mechanics. It is a long, dense single paragraph with some stylistic repetition (e.g., 'never invented' appears in both description and schema), but nearly every sentence adds substantive guidance. The length is largely justified by the tool's complexity.

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

Completeness5/5

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

Given 14 parameters, no annotations, and no output schema, the description covers the full workflow: when to call, what verdicts to expect, what inputs matter, how pricing/free cases work, and what to do afterwards. Combined with the rich input schema, an agent has enough context to invoke the tool correctly and interpret the high-level result categories. The per-verdict handling is left to the payment path, which the description explicitly states.

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 description coverage is only 36%, so the description needs to compensate, and it does meaningfully. It names the caller's economic inputs (customer_revenue, value_of_success, max_budget, required_margin, failure_cost, switching_cost), explains revenue_models derivation rules per type, and clarifies that RETURNS_ROI's expected_return is caller-owned. It also advises preferring the LIVE 402 amount for provider_candidates. Some parameters such as task_id and currency are left entirely to the schema, so the compensation is strong but not complete.

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 opens with a precise, action-oriented role: 'Call this immediately before your agent pays an x402/API provider' and names the exact return verdicts (ALLOW / FALLBACK / DECLINE / INSUFFICIENT_EVIDENCE). It explicitly distinguishes itself from advice and from ranking, making its unique function clear. The sibling tools are unrelated (commerce search/vet/schema freshness), so there is no ambiguity in the tool's domain.

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

Usage Guidelines5/5

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

The description gives an explicit temporal instruction ('immediately before your agent pays') and a follow-up protocol ('Report the result afterwards to /v1/gate/outcome'). It also explains the payment flow: omit payment_signature to receive terms, call again with it to run, paid per decision or prepaid, and free for cached decisions or INSUFFICIENT_EVIDENCE. This is enough to route an agent through the correct sequence without additional inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

ghost_schema_freshnessAInspect

Has this published JSON Schema or OpenAPI document changed since a fingerprint you hold? The schema-drift recheck of the pre-spend policy: run it when a provider's published contract may have moved before you pay it again. Paid per call via x402; DSSE-signed receipt.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesPublic URL of a JSON Schema or OpenAPI document
known_fingerprintNoThe fingerprint from a previous check. Empty means first observation.
payment_signatureNox402 PAYMENT-SIGNATURE header value. Omit it to receive the payment terms; call again with it to run the tool.

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden, and it discloses important operational facts: it is paid per call via x402, it is a 'pre-spend' recheck, and it returns a DSSE-signed receipt. It does not detail failure modes or side effects, but the read-only 'check' framing plus billing behavior is strong.

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

Conciseness5/5

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

The description is compact and front-loaded, with the core question in the first sentence and the usage trigger and billing behavior in the following sentences. Every sentence earns its place and there is no redundant filler.

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?

It covers purpose, usage, and payment behavior well, but there is no output schema and the description never explains what the response contains, such as whether it returns a new fingerprint, a changed/unchanged indicator, or the signed receipt. That is a meaningful gap for an agent invoking a paid tool.

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 description coverage is 100%, so the schema already documents url, known_fingerprint, and payment_signature. The description adds contextual flavor about a held fingerprint and payment, but does not materially go beyond the parameter descriptions already present.

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 clearly identifies a specific resource ('published JSON Schema or OpenAPI document') and a specific operation ('changed since a fingerprint you hold'), so an agent can tell this is a freshness/recheck tool. It does not explicitly differentiate itself from the sibling tools, but their names and this tool's schema-focused wording make confusion unlikely.

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?

It gives an explicit trigger: run when a provider's published contract may have moved before paying again. It does not list exclusions or alternatives, but the stated usage context is clear enough to guide selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool update
    • Addedghost_web_search
  2. 1 tool update
    • Addedghost_pre_spend_gate
  3. 3 tool updates
    • First observedghost_commerce_search
    • First observedghost_commerce_vet
    • First observedghost_schema_freshness

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Web search API for AI agents. Returns structured results with title, URL, and snippet; pay-per-call via x402 micropayments.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Pay-per-call web search for AI agents, settled in USDC on Base via the x402 protocol. No API key or subscription required; users fund a wallet and get a web_search tool.
    5 npm
    1
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources