{"$schema":"https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json","version":"1.0","protocolVersion":"2025-11-25","serverInfo":{"name":"com.botthru/drive-thru","title":"BotThru","version":"0.2.0"},"description":"BotThru 0.2.0 reads public pages, extracts their metadata and structure, checks URLs and remote MCP servers, calculates and converts units, looks up DNS and registration data, converts times and dates, lists holidays and fiat rates, and embeds or reranks text. Agents with only a web fetch can GET /r/https://example.com, /calc/, /time/, /dns/, and /fx/. POST /v1/ask, A2A message/send, and POST /v1/message:send run a tool when the request is clear. Unclear text gets the skill list, not a guessed answer. No auth. No streaming and no push. Limit one connection with ?tools=read_url,calculate. Unknown names are ignored.","websiteUrl":"https://botthru.com","documentationUrl":"https://botthru.com/llms.txt","transport":{"type":"streamable-http","endpoint":"https://botthru.com/mcp"},"capabilities":{"tools":{"listChanged":false},"prompts":{"listChanged":false}},"authentication":{"required":false,"schemes":[]},"tools":[{"name":"read_url","description":"Read a public http(s) URL as markdown. Uses text/markdown when the server sends it, otherwise Workers AI toMarkdown with images off (no neurons), then a local HTML stripper. Respects robots.txt for BotThruFetcher. Does not cache or store the page.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http or https URL. No private addresses, no credentials."},"max_chars":{"type":"integer","description":"Maximum characters of markdown. Default 20000, maximum 100000."}},"required":["url"],"additionalProperties":false}},{"name":"calculate","description":"Arithmetic, scientific functions, percentages, and unit conversion. No network and no eval. expression is at most 500 characters. precision is 1 to 34 significant digits, default 15. An unknown symbol returns the supported unit list.","inputSchema":{"type":"object","properties":{"expression":{"type":"string","description":"Math expression or '<number> <unit> to <unit>'. At most 500 characters."},"precision":{"type":"integer","description":"Significant digits from 1 to 34. Default 15."}},"required":["expression"],"additionalProperties":false}},{"name":"extract_page_data","description":"Fetch one public HTML page and return title, meta, Open Graph, JSON-LD, links, headings, feeds, and tables. Same SSRF guard and per-network limit as read_url. Cached 10 minutes by final URL. Does not store the page.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http or https URL. No private addresses, no credentials."},"include":{"type":"string","description":"Comma-separated: meta, opengraph, jsonld, links, headings, tables, feeds. Default is all except tables."},"max_links":{"type":"integer","description":"1 to 200. Default 100."},"max_tables":{"type":"integer","description":"1 to 5. Default 5."}},"required":["url"],"additionalProperties":false}},{"name":"site_discovery","description":"Fetch a site's agent-facing files (robots.txt, llms.txt, sitemap, well-known MCP and agent cards, OpenAPI, security.txt) and say what was found. Does not change the site.","inputSchema":{"type":"object","properties":{"domain_or_url":{"type":"string","description":"Domain or http(s) URL, for example example.com."}},"required":["domain_or_url"],"additionalProperties":false}},{"name":"check_url","description":"Request a public URL and report status, final URL, latency, content type, size, TLS, and a few response headers. Does not follow into private networks.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http or https URL. No private addresses, no credentials."}},"required":["url"],"additionalProperties":false}},{"name":"check_mcp_server","description":"Connect to a remote streamable-HTTP MCP server: initialize, notifications/initialized, and tools/list. Also lists prompts or resources when advertised. Never calls the remote server's tools.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Remote MCP endpoint, for example https://example.com/mcp."}},"required":["url"],"additionalProperties":false}},{"name":"dns_lookup","description":"Look up a hostname via Cloudflare DNS (A, AAAA, CNAME, MX, TXT, NS, CAA, SOA). type email_auth returns MX, SPF, DMARC, and the DNSSEC AD flag. Does not connect to the name.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Hostname. No scheme or path."},"type":{"type":"string","description":"A, AAAA, CNAME, MX, TXT, NS, CAA, SOA, or email_auth. Default A."}},"required":["name"],"additionalProperties":false}},{"name":"rdap_lookup","description":"Registration data for a domain (IANA bootstrap, then the registry RDAP server), or an IP or ASN via rdap.org with RIPEstat as fallback. Returns registrar, dates, status, and nameservers or the network name, country, and holder. No contact emails or street addresses.","inputSchema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain name, for example example.com."},"ip":{"type":"string","description":"IPv4 or IPv6 address."},"asn":{"type":"string","description":"ASN, for example AS13335."},"query":{"type":"string","description":"A domain, IP, or ASN when the kind is not given separately."}},"additionalProperties":false}},{"name":"time_convert","description":"Convert a civil time from one IANA time zone to another using Intl. Does not call the network.","inputSchema":{"type":"object","properties":{"time":{"type":"string","description":"YYYY-MM-DDTHH:mm in from_tz, or an ISO timestamp."},"from_tz":{"type":"string","description":"IANA time zone the time is in."},"to_tz":{"type":"string","description":"IANA time zone to convert to."}},"required":["time","from_tz","to_tz"],"additionalProperties":false}},{"name":"date_math","description":"Add or subtract days, hours, or business days (Monday to Friday, holidays not skipped), or diff two dates. Intl and UTC calendar dates only.","inputSchema":{"type":"object","properties":{"date":{"type":"string","description":"YYYY-MM-DD or an ISO timestamp."},"add_days":{"type":"number"},"add_hours":{"type":"number"},"add_business_days":{"type":"number"},"subtract_days":{"type":"number"},"subtract_hours":{"type":"number"},"subtract_business_days":{"type":"number"},"diff":{"type":"string","description":"Second date. Returns days, hours, and business days between them."}},"required":["date"],"additionalProperties":false}},{"name":"holidays","description":"Public holidays for a country and year from date.nager.at. Cached for 24 hours. Returns date, name, and local name.","inputSchema":{"type":"object","properties":{"country_code":{"type":"string","description":"ISO country code, for example US, or a common country name."},"year":{"type":"integer","description":"Calendar year. Defaults to the current UTC year."}},"required":["country_code"],"additionalProperties":false}},{"name":"exchange_rate","description":"Fiat exchange rate from Frankfurter (ECB). No crypto. Cached for 1 hour. amount is converted locally.","inputSchema":{"type":"object","properties":{"from":{"type":"string","description":"3-letter fiat code, for example USD."},"to":{"type":"string","description":"3-letter fiat code, for example EUR."},"amount":{"type":"number","description":"Amount in from. Default 1."},"date":{"type":"string","description":"YYYY-MM-DD. Omit for the latest rate."}},"required":["from","to"],"additionalProperties":false}},{"name":"embed","description":"Embed up to 32 strings (8000 characters each) with Workers AI. Default model @cf/baai/bge-m3. Also @cf/google/embeddinggemma-300m. Stops with budget_exhausted before it can use the neurons reserved for /v1/ask.","inputSchema":{"type":"object","properties":{"texts":{"type":"array","items":{"type":"string"},"description":"1 to 32 strings."},"model":{"type":"string","description":"Optional. @cf/baai/bge-m3 or @cf/google/embeddinggemma-300m."}},"required":["texts"],"additionalProperties":false}},{"name":"rerank","description":"Score up to 32 documents against a query with @cf/baai/bge-reranker-base. Returns indexes and scores, not a rewritten answer. Same daily neuron guard as embed.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"The question, max 8000 characters."},"documents":{"type":"array","items":{"type":"string"},"description":"1 to 32 documents."}},"required":["query","documents"],"additionalProperties":false}},{"name":"fetch_page","description":"Alias of read_url. Same markdown result, including title, final URL, status, approx_tokens, and any Content-Signal header.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http or https URL. No private addresses, no credentials."},"max_chars":{"type":"integer","description":"Maximum characters of text. Default 20000, maximum 100000."}},"required":["url"],"additionalProperties":false}},{"name":"ask","description":"Order window. need is required. status is answered only when a BotThru tool ran, routed when Workers AI wrote a pointer and the task was not done, unsupported when the need was only logged. Do not send secrets or personal data.","inputSchema":{"type":"object","properties":{"need":{"type":"string","description":"What you need. Do not include secrets or personal data."},"agent":{"type":"string","description":"Optional name of the calling agent."}},"required":["need"],"additionalProperties":false}},{"name":"time","description":"Current UTC time, plus the same instant in an IANA time zone. Defaults to UTC.","inputSchema":{"type":"object","properties":{"timezone":{"type":"string","description":"IANA time zone, for example America/New_York. Omit for UTC."}},"additionalProperties":false}},{"name":"uuid","description":"One random UUID (crypto.randomUUID).","inputSchema":{"type":"object","properties":{},"additionalProperties":false}},{"name":"echo","description":"Headers, country, and bot classification of this HTTP request. Cookie and authorization values are redacted.","inputSchema":{"type":"object","properties":{},"additionalProperties":false}},{"name":"whoami","description":"Which bot BotThru thinks is calling, and why.","inputSchema":{"type":"object","properties":{},"additionalProperties":false}}]}