Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

add_site

Add a website to Bing Webmaster Tools for monitoring and management. Submit your site URL to track performance and receive insights from Bing's search engine.

Instructions

Add a new site to Bing Webmaster Tools

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • The handler function for the 'add_site' tool, decorated with @mcp.tool for registration. It takes a site_url parameter, makes a POST request to the Bing Webmaster Tools 'AddSite' endpoint using the api helper, and returns a success message.
    @mcp.tool(name="add_site", description="Add a new site to Bing Webmaster Tools") async def add_site( site_url: Annotated[str, "The URL of the site to add"] ) -> Dict[str, str]: """ Add a new site to Bing Webmaster Tools. Args: site_url: The URL of the site to add Returns: Success message """ async with api: await api._make_request("AddSite", "POST", {"siteUrl": site_url}) return {"message": f"Site {site_url} added successfully"}
  • The @mcp.tool decorator registers the 'add_site' function as an MCP tool with the specified name and description.
    @mcp.tool(name="add_site", description="Add a new site to Bing Webmaster Tools")
  • Input schema defined by type hints: site_url as str (annotated), return type Dict[str, str].
    async def add_site( site_url: Annotated[str, "The URL of the site to add"] ) -> 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