Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_url_traffic_info

Retrieve traffic analytics for specific URLs from Bing Webmaster Tools to monitor performance and optimize web presence.

Instructions

Get traffic information for specific URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
urlsYes

Implementation Reference

  • The handler function for the 'get_url_traffic_info' tool. It takes a site_url and list of urls, makes an API request to 'GetUrlTrafficInfo' with the parameters, and returns the processed traffic information.
    async def get_url_traffic_info( site_url: Annotated[str, "The URL of the site"], urls: List[str] ) -> List[Dict[str, Any]]: """ Get traffic information for specific URLs. Args: site_url: The URL of the site urls: List of URLs to get traffic info for Returns: Traffic information for each URL """ async with api: traffic_info = await api._make_request( "GetUrlTrafficInfo", "POST", {"siteUrl": site_url, "urls": urls} ) return api._ensure_type_field(traffic_info, "UrlTrafficInfo")
  • MCP decorator that registers the 'get_url_traffic_info' tool with its name and description.
    @mcp.tool( name="get_url_traffic_info", description="Get traffic information for specific URLs.", )
  • Input schema defined by type annotations: site_url (str), urls (List[str]); Output: List[Dict[str, Any]]. Uses Annotated for descriptions.
    async def get_url_traffic_info( site_url: Annotated[str, "The URL of the site"], urls: List[str] ) -> List[Dict[str, Any]]:

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