Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Page2AI reads web pages as clean Markdown. Use page_to_markdown when a task needs the text of a web page (documentation, an article, a README, a reference page), or Markdown from HTML you already have, e.g. from a browser tool. A long page comes back in parts with a list of its sections to jump to; when a site refuses the server, the result says what to try next.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
page_to_markdownA

Fetch a web page URL and convert it to clean Markdown optimized for LLM context. Preserves headings, code blocks (with language hints), links, and tables; keeps the main content and drops navigation, headers, footers, and sidebars. It fetches without cookies and runs no page scripts, so a page behind a sign-in or one rendered only by JavaScript comes back as its login page or with no content. For those, pass the page HTML you already have from a browser tool as html (with its url, relative links resolve and nothing is fetched), or ask the user to turn on Agent Bridge in the Page2AI browser extension 1.6.0 or later (if its popup has no Agent Bridge switch, that install is an older store version and the extension must be updated first): while it is connected, url pages open in the user's own browser with its cookies and scripts, and a page the extension declines is fetched by the server, with a note saying why. It requests only the URL given, as a browser opens a page, so docs sites return the page itself, not a Markdown copy of it; a URL that names a Markdown or text file (a raw GitHub README.md, an llms.txt) comes back as written. A long page comes back in parts (max_length, start_index), the first part listing the page's sections; pass query to get only the sections relevant to a question (BM25 ranking, no API call). A page the server cannot read comes back with the next step to take. Discovers tab groups statically and emits each panel as a ### Tab: {label} section instead of concatenating (prevents Python+TypeScript examples merging into one broken block). Zero external API calls: pages are parsed locally (linkedom) or in the user's browser.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.6/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of selecting the wrong one. Its purpose — fetch a page and emit clean Markdown — is stated explicitly and is not diluted by any sibling tool.

Naming Consistency5/5

The single name `page_to_markdown` is lowercase snake_case and self-describing in a source-to-format style. With one tool there is no convention mixing to penalize.

Tool Count4/5

One tool is genuinely sufficient for a narrow conversion service, and the surface area is absorbed by parameters (url, html, max_length, start_index, query) rather than extra tools. It is still thin — no batch or multi-URL variant — but not mismatched to the stated scope.

Completeness4/5

The tool covers the main lifecycle: live fetch, pre-supplied HTML fallback for auth/JS pages, long-page pagination, and query-scoped extraction. Gaps are minor, such as no batch/multi-URL conversion or a raw-HTML retrieval mode, both of which agents can work around by calling it repeatedly.

Maintenance

ActivityActive
ResponsivenessOutdated data