web-bridge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEB_BRIDGE_CHROME | No | Path to the Chrome or Edge executable. Auto-detected when not set. | |
| WEB_BRIDGE_CDP_PORT | No | Port for the browser's debugging (CDP) connection, which listens only on 127.0.0.1. | 9333 |
| WEB_BRIDGE_HEADLESS | No | Off by default. Set to "1" to hide the browser window; you then can't log in or click bot checks. | off |
| WEB_BRIDGE_HOST_CAP | No | Maximum downloads per site per hour. | 20 |
| WEB_BRIDGE_TOTAL_CAP | No | Maximum total downloads per hour. | 60 |
| WEB_BRIDGE_DOWNLOAD_DIR | No | Directory where downloaded PDFs are saved. | ~/Downloads/web-bridge |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| web_readA | Read a web page as clean Markdown from the user's own machine. Use when WebFetch fails or returns too little (403, bot check, JavaScript-only page, paywall the user can pass with their institution) and for academic publisher, journal-metric (JCR, Scopus, SCImago) and DergiPark pages. mode=auto tries plain HTTP first and falls back to the user's bridge Chrome (their cookies and institutional logins); publisher sites go straight to the browser. Accepts a URL or a DOI. Returns citation metadata (DOI, journal, PDF link) when present. Call without url to read the bridge tab as it is now (after web_open or clicks). Long pages come in chunks: use offset, or Read the saved file. extract="full" keeps tables and search results that article mode drops. |
| web_downloadA | Download one article PDF (or another file) using the user's machine and bridge Chrome session, including open-access PDFs that block bots and articles the user can access through their institution. Accepts a direct file URL, an article landing page or a DOI; finds citation_pdf_url or the PDF link itself and verifies the file really is a PDF. One article per call, only articles the user actually needs: publisher licences forbid bulk downloading, and there is an hourly cap. Never use for pirate libraries. Saves to the default download folder (see web_status) unless dir is given. |
| web_openA | Bring the bridge Chrome window to the front (optionally at a URL) so the USER can log in (university SSO, OpenAthens, Shibboleth, publisher or Clarivate account) or pass a bot check. The bridge never types passwords and never solves CAPTCHAs. After calling, tell the user what to do in that window and wait for them to confirm. |
| web_snapshotA | Visible text plus a numbered list of links, buttons and inputs in the bridge tab. Use for interactive sites (JCR, Web of Science, Scopus, search forms) together with web_click and web_type. Refs change after every navigation. |
| web_clickA | Click the element with the given ref from the last web_snapshot. Returns a fresh snapshot, or the saved path if the click started a download. |
| web_typeA | Type text into the input with the given ref (search boxes, filters). submit=true presses Enter. Refuses password fields. Returns a fresh snapshot. |
| paper_infoA | Everything that is openly available about one paper, even when the full text is paywalled or the publisher site blocks bots: Crossref-verified metadata, the abstract and keywords from the publisher page (through the bridge browser), with the abstract filled in from OpenAlex, Semantic Scholar or Europe PMC when the page fails, plus any legal open-access copies. Accepts a DOI or an article URL. Use it before web_download, and whenever the full text is not needed. |
| journal_guideA | Find and read a journal's author guidelines (Guide for Authors, Submission guidelines, Instructions for authors, DergiPark "Yazım kuralları"): word limits, structure, reference style, templates, APC and policies. Give an ISSN, a title or the journal page URL. Uses known publisher URL patterns (Elsevier, Springer, MDPI, Taylor & Francis, Wiley, SAGE, Frontiers, OUP, DergiPark) and otherwise the matching link on the journal page. Returns the guide as Markdown in chunks; continue with web_read(url, offset). |
| journal_metricsA | Look up a journal by ISSN (best) or title and collect what can be read without a subscription: OpenAlex citation stats, Web of Science index from the Master Journal List (SCIE/SSCI/AHCI/ESCI), and the Impact Factor, JCR quartile and CiteScore lines printed on the publisher's own journal page. Use it for questions about impact factor, WoS/JCR quartile or indexing. Report every number with its source and year; never present an SJR or OpenAlex figure as the JCR impact factor or quartile. |
| web_statusA | Show whether the bridge Chrome is running, the profile and download folders, and recent download counts. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
The set splits cleanly into browser primitives (web_open, web_snapshot, web_click, web_type, web_read, web_download, web_status) and academic lookups (paper_info, journal_guide, journal_metrics), and the descriptions state the boundaries explicitly (snapshot = interactive refs, read = Markdown, open = user login). The only soft edges are paper_info vs web_read and journal_guide vs web_read, since both can fetch an article/journal page, but the metadata-vs-full-text distinction is spelled out. An agent can select correctly with the descriptions given.
Everything is snake_case with a predictable verb_noun or noun_noun shape, so it reads uniformly. The only deviation is a two-tier scheme: generic primitives are prefixed web_* while the three academic helpers are unprefixed, which slightly breaks the pattern even though it signals domain grouping.
Ten tools is well within the healthy range, and none look redundant: five primitives cover the interaction loop, three cover the academic research workflow, and two cover session/file setup. Each tool has an evident job that no sibling performs.
The surface covers a full browse-and-retrieve lifecycle: open/login, snapshot, click, type, read, download, status, plus paper metadata, journal guidelines and metrics. Minor gaps remain around tab/navigation management (back, close, multi-tab), scrolling, and selecting dropdown options other than via clicking, which agents can mostly work around but are real dead ends on complex forms.