Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_children_url_traffic_info

Retrieve traffic data for child URLs under a specific parent page in Bing Webmaster Tools to analyze page performance and user engagement patterns.

Instructions

Get traffic information for child URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
parent_urlYes
limitNo

Implementation Reference

  • Registration of the 'get_children_url_traffic_info' tool using the @mcp.tool decorator.
    @mcp.tool( name="get_children_url_traffic_info", description="Get traffic information for child URLs.", )
  • The handler function implements the tool logic by making a POST request to the Bing Webmaster Tools API endpoint 'GetChildrenUrlTrafficInfo' with siteUrl, parentUrl, and limit parameters, then ensures the response type is 'ChildUrlTrafficInfo'.
    async def get_children_url_traffic_info( site_url: Annotated[str, "The URL of the site"], parent_url: Annotated[str, "The parent URL"], limit: Annotated[int, "Maximum number of results"] = 100, ) -> List[Dict[str, Any]]: """ Get traffic information for child URLs. Args: site_url: The URL of the site parent_url: The parent URL limit: Maximum number of results (default: 100) Returns: Traffic information for child URLs """ async with api: traffic = await api._make_request( "GetChildrenUrlTrafficInfo", "POST", {"siteUrl": site_url, "parentUrl": parent_url, "limit": limit}, ) return api._ensure_type_field(traffic, "ChildUrlTrafficInfo")

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