Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

add_query_parameter

Add URL normalization parameters to Bing Webmaster Tools for consistent site indexing and tracking.

Instructions

Add URL normalization parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
parameterYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • Registration of the 'add_query_parameter' tool via the @mcp.tool decorator, specifying its name and description.
    @mcp.tool(name="add_query_parameter", description="Add URL normalization parameter.")
  • The handler function implements the tool logic by making a POST request to the Bing Webmaster API's AddQueryParameter endpoint with the provided site_url and parameter, returning a success message.
    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"}
  • Input schema defined via Annotated type hints for site_url (str) and parameter (str).
    site_url: Annotated[str, "The URL of the site"],
    parameter: Annotated[str, "The query parameter to normalize"],
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states 'Add URL normalization parameter,' which implies a mutation but doesn't clarify permissions, side effects (e.g., impact on URLs), rate limits, or what 'normalization' entails. This is inadequate for a tool that likely modifies site settings, leaving critical behavioral traits unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence with no wasted words. It's front-loaded and efficiently states the core action, though this brevity comes at the cost of clarity and completeness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's likely complexity (mutating site settings with 2 parameters), lack of annotations, 0% schema coverage, and no output schema details provided, the description is severely incomplete. It doesn't cover purpose, usage, parameters, or behavior adequately, making it insufficient for an agent to understand or invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning the input schema provides no descriptions for parameters 'site_url' and 'parameter.' The description adds no meaning beyond the generic 'URL normalization parameter,' failing to explain what these parameters represent (e.g., site_url as a target site, parameter as a query key/value) or their expected formats. This leaves both parameters entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Add URL normalization parameter' is vague and tautological—it essentially restates the tool name 'add_query_parameter' without specifying what 'URL normalization' means or what resource is being modified. It doesn't distinguish this tool from sibling tools like 'enable_disable_query_parameter' or 'remove_query_parameter', leaving the purpose unclear beyond a generic 'add' action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context (e.g., for site management), or exclusions, and fails to reference sibling tools like 'enable_disable_query_parameter' or 'remove_query_parameter' for comparison. This leaves the agent with no usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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