Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

submit_url_batch

Submit multiple URLs to Bing Webmaster Tools for indexing to improve search visibility and ensure content is discoverable.

Instructions

Submit multiple URLs for indexing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
urlsYes

Implementation Reference

  • Registration of the 'submit_url_batch' tool using the @mcp.tool decorator with name and description.
    @mcp.tool(name="submit_url_batch", description="Submit multiple URLs for indexing.")
  • The handler function for 'submit_url_batch' that takes site_url and list of urls, calls the Bing Webmaster API's SubmitUrlBatch endpoint, and returns a success message with the result.
    async def submit_url_batch( site_url: Annotated[str, "The URL of the site"], urls: List[str] ) -> Dict[str, Any]: """ Submit multiple URLs for indexing. Args: site_url: The URL of the site urls: List of URLs to submit Returns: Submission result """ async with api: result = await api._make_request( "SubmitUrlBatch", "POST", {"siteUrl": site_url, "urlList": urls} ) return {"message": f"Submitted {len(urls)} URLs", "result": result}

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