Skip to main content
Glama

web_faq

Read-only

FAQ / Q&A extractor — Fetch a web page and return its FAQ or Q&A as clean question/answer pairs ready for RAG, support bots or comparison: reads schema.org FAQPage and QAPage JSON-LD (accepted or top-voted answer, other-answer count, votes), then falls back to details/summary accordions, then to headings that end in a question mark with the text under them. Answers are plain text with line breaks kept. Optional q= keyword filter (all words must match), limit= (1-200, default 50), maxAnswer= characters per answer (default 1200). Reports which source was used. 404 (not charged) when no FAQ content is found. Pass url. Price: $0.004 USDC (Base, via x402).

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": {
      "url": "<url>"
    },
    "name": "web_faq"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps://www.eventbrite.com/d/ny--new-york/events/

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the exact three-tier extraction cascade, the answer text formatting (plain text, line breaks preserved), that the response reports which source was used, the 404-not-charged behavior on no content, and the $0.004 USDC x402 payment requirement. These are non-obvious operational facts an agent cannot get from readOnlyHint/openWorldHint.

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?

Single dense block that front-loads what is returned and then the fallback order, with parameter and pricing details trailing. Nearly every sentence carries information, though the run-on em-dash chain makes the extraction cascade slightly harder to scan than a short ordered list would.

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 one-required-parameter read tool with no output schema, it covers extraction order, output text format, the source-attribution field, failure mode, and cost — enough to call it correctly. The exact response field names beyond "question/answer pairs" are not enumerated, a minor gap.

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?

The description carries real semantics the schema does not: q= requires all words to match, limit= is bounded 1-200 with default 50, and maxAnswer= defaults to 1200 characters. Notably these optional parameters are absent from the input schema entirely, so the description is the only place they are documented — helpful, though the schema/description mismatch could confuse a strict caller.

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?

States a specific verb and resource — fetch a page and return its FAQ/Q&A as question/answer pairs — and names the concrete extraction strategies (schema.org FAQPage/QAPage JSON-LD, details/summary accordions, question-mark headings). It is clearly distinguishable from generic extractors like web_extract, but it never names a sibling (e.g. ai_faq) to sharpen 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?

Use case is implied through downstream consumers ("ready for RAG, support bots or comparison") and the fallback cascade suggests when it will succeed. However, there is no explicit when-to-use vs. when-not guidance and no alternative tool named, so the agent must infer that this is the deterministic, non-LLM FAQ path versus ai_faq.

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