Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_query_parameters

Extract URL normalization parameters from Bing Webmaster Tools to analyze and optimize website query handling for search performance.

Instructions

Get URL normalization parameters. Note: May require special permissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes

Implementation Reference

  • The handler function for the 'get_query_parameters' tool. It takes a site_url, makes an API request to Bing Webmaster Tools to get query parameters for URL normalization, and returns the list of parameters.
    name="get_query_parameters", description="Get URL normalization parameters. Note: May require special permissions.", ) async def get_query_parameters( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get URL normalization parameters. Args: site_url: The URL of the site Returns: List of query parameters used for URL normalization """ async with api: params = await api._make_request(f"GetQueryParameters?siteUrl={site_url}") return api._ensure_type_field(params, "QueryParameter")
  • The @mcp.tool decorator registers the get_query_parameters tool with the MCP server, specifying its name and description.
    name="get_query_parameters", description="Get URL normalization parameters. Note: May require special permissions.", ) async def get_query_parameters(
  • The function signature defines the input schema (site_url: str) and output schema (List[Dict[str, Any]]) for the tool.
    site_url: Annotated[str, "The URL of the site"] ) -> 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