get_connected_pages
Retrieve pages linking to your website to analyze backlink profiles and monitor referral traffic sources.
Instructions
Get list of connected pages that link to your site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:1299-1302 (registration)Registers the get_connected_pages tool using the @mcp.tool decorator.@mcp.tool( name="get_connected_pages", description="Get list of connected pages that link to your site.", )
- mcp_server_bwt/main.py:1303-1318 (handler)The handler function that implements the logic for get_connected_pages by calling the Bing Webmaster API.async def get_connected_pages( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get list of connected pages that link to your site. Args: site_url: The URL of the site Returns: List of connected pages """ async with api: pages = await api._make_request(f"GetConnectedPages?siteUrl={site_url}") return api._ensure_type_field(pages, "ConnectedPage")