Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

add_query_parameter

Add URL normalization parameters to site URLs for Bing Webmaster Tools to manage query strings and improve indexing accuracy.

Instructions

Add URL normalization parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
parameterYes

Implementation Reference

  • The handler function decorated with @mcp.tool, defining the schema via Annotated parameters and implementing the tool logic by calling the API's AddQueryParameter endpoint.
    @mcp.tool(name="add_query_parameter", description="Add URL normalization parameter.") async def add_query_parameter( site_url: Annotated[str, "The URL of the site"], parameter: Annotated[str, "The query parameter to normalize"], ) -> Dict[str, str]: """ Add URL normalization parameter. Args: site_url: The URL of the site parameter: The query parameter to normalize Returns: Success message """ async with api: await api._make_request( "AddQueryParameter", "POST", {"siteUrl": site_url, "parameter": parameter} ) return {"message": f"Query parameter {parameter} added successfully"}
  • The @mcp.tool decorator registers the add_query_parameter tool with MCP.
    @mcp.tool(name="add_query_parameter", description="Add URL normalization parameter.")
  • Input schema defined by function parameters with Annotated types and descriptions; output is Dict[str, str].
    async def add_query_parameter( site_url: Annotated[str, "The URL of the site"], parameter: Annotated[str, "The query parameter to normalize"], ) -> 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