Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

fetch_url

Request Bing to fetch and crawl a specific URL for indexing in search results. Submit URLs to ensure they appear in Bing search.

Instructions

Request Bing to fetch/crawl a specific URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
urlYes

Implementation Reference

  • The handler function decorated with @mcp.tool that implements the fetch_url tool by submitting a fetch request to the Bing Webmaster Tools API.
    @mcp.tool(name="fetch_url", description="Request Bing to fetch/crawl a specific URL.") async def fetch_url( site_url: Annotated[str, "The URL of the site"], url: Annotated[str, "The specific URL to fetch"], ) -> Dict[str, str]: """ Request Bing to fetch/crawl a specific URL. Args: site_url: The URL of the site url: The specific URL to fetch Returns: Success message """ async with api: await api._make_request("FetchUrl", "POST", {"siteUrl": site_url, "url": url}) return {"message": f"Fetch request for {url} submitted successfully"}
  • Registers the fetch_url tool with the MCP framework, specifying its name and description.
    @mcp.tool(name="fetch_url", description="Request Bing to fetch/crawl a specific URL.")
  • Defines the input schema using Annotated types for site_url and url parameters, and output type Dict[str, str].
    async def fetch_url( site_url: Annotated[str, "The URL of the site"], url: Annotated[str, "The specific URL to fetch"], ) -> Dict[str, str]:

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/isiahw1/mcp-server-bing-webmaster'

If you have feedback or need assistance with the MCP directory API, please join our Discord server