Skip to main content
Glama

SqueezeOS — Institutional AI Market Intelligence

Aftersearch Verify Serp

aftersearch_verify_serp

Verify pasted SERP or AI-answer text, or one caller-provided public URL, against retrieved sources. Use this when an agent needs a confirm, contradict, or missing verdict with cited sources before quoting or paying for evidence. Returns the verdict plus sources with URLs, retrieval timestamps, and content hashes; on unreachable sources returns a structured error (source_unavailable) instead of a verdict. Creates one immutable job record per call (a side effect); may fetch the single caller-provided URL and never spends. For example, paste an AI answer claiming a token launch date to check it against live sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serp_text_or_urlYesPasted SERP/AI text or one public URL to verify (1-60000 chars). No Google scraping is performed; only caller-supplied text or the single provided URL is used.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNoWhether the upstream HTTP status is 2xx; not settlement proof.
bodyNoUnmodified upstream JSON, or bounded response text. Consult that capability's live schema.
errorNo
chargedNoPresent on local/transport failures; these do not establish an upstream charge.
messageNo
auto_spentNo
status_codeNoObserved upstream HTTP status, or null when no response was obtained.
substitutedNo
content_typeNo
payment_requiredNoObserved PAYMENT-REQUIRED header; a challenge does not prove payment.
payment_responseNoObserved PAYMENT-RESPONSE header. Assess it together with accepted delivery.
caller_supplied_authorizationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / serp_text_or_url / description
      Previous value: -"Pasted SERP/AI text or one public URL to verify (1-8000 chars). No Google scraping is performed; only caller-supplied text or the single provided URL is used."New value: +"Pasted SERP/AI text or one public URL to verify (1-60000 chars). No Google scraping is performed; only caller-supplied text or the single provided URL is used."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "anyOf": [
      +    {
      +      "required": [
      +        "ok",
      +        "status_code"
      +      ]
      +    },
      +    {
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "description": "Canonical REST response envelope, or a local/transport rejection. Upstream data remains in body and is defined by the live capability schema.",
      +  "properties": {
      +    "auto_spent": {
      +      "const": false
      +    },
      +    "body": {
      +      "description": "Unmodified upstream JSON, or bounded response text. Consult that capability's live schema."
      +    },
      +    "caller_supplied_authorization": {
      +      "type": "boolean"
      +    },
      +    "charged": {
      +      "const": false,
      +      "description": "Present on local/transport failures; these do not establish an upstream charge."
      +    },
      +    "content_type": {
      +      "type": "string"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "Whether the upstream HTTP status is 2xx; not settlement proof.",
      +      "type": "boolean"
      +    },
      +    "payment_required": {
      +      "description": "Observed PAYMENT-REQUIRED header; a challenge does not prove payment.",
      +      "type": "string"
      +    },
      +    "payment_response": {
      +      "description": "Observed PAYMENT-RESPONSE header. Assess it together with accepted delivery.",
      +      "type": "string"
      +    },
      +    "status_code": {
      +      "description": "Observed upstream HTTP status, or null when no response was obtained.",
      +      "maximum": 599,
      +      "minimum": 100,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "substituted": {
      +      "const": false
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / serp_text_or_url / description
      Added value: +"Pasted SERP/AI text or one public URL to verify (1-8000 chars). No Google scraping is performed; only caller-supplied text or the single provided URL is used."
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=false, openWorld=true. The description adds context the annotations cannot: an immutable job record is created per call (explaining the non-readOnly hint), the tool never spends, it may fetch only the single caller-provided URL, and unreachable sources yield a structured source_unavailable error instead of a verdict.

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?

Front-loads the verb and resource, then layers side effect, cost, and error behavior; every sentence carries information. It is slightly dense — four stacked clauses plus an example — but nothing is padded.

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?

Even though an output schema exists (so return values need not be described), it still names the verdict and source fields, and it covers the mutation side effect, the zero-cost guarantee, the URL-fetch scope, and the error path. An agent has everything needed to call it correctly and interpret the result.

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?

Only one parameter exists and schema description coverage is 100%, so the schema already documents length bounds and the 'no Google scraping' constraint. The description restates the same input modes ('pasted SERP or AI-answer text, or one caller-provided public URL') without adding new syntax or format guidance, so the baseline 3 applies.

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 (verify) and resource (pasted SERP/AI-answer text or one caller-provided public URL) and names the outcome (confirm/contradict/missing verdict with cited sources). It implicitly but clearly distinguishes itself from the paid-evidence siblings by contrasting with 'before quoting or paying for evidence' and 'never spends'.

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?

Explicitly states when to use it: 'when an agent needs a confirm, contradict, or missing verdict with cited sources before quoting or paying for evidence,' and adds a concrete example (checking a token launch date claim). It does not name the sibling tools (e.g., aftersearch_quote) as alternatives, so the routing is implied by cost rather than stated.

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