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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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]]:
Behavior2/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 states the tool 'Get[s] traffic information,' implying a read-only operation, but doesn't specify permissions, rate limits, data formats, or any side effects. For a tool with zero annotation coverage, this leaves significant gaps in understanding its behavior.

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, efficient sentence with no wasted words. It's front-loaded with the core purpose, making it easy to scan. Every part earns its place by conveying essential information without redundancy.

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

Completeness3/5

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

Given the tool's moderate complexity (2 required parameters) and the presence of an output schema, the description is minimally adequate. However, with no annotations and 0% schema coverage, it lacks details on behavior and parameters. The output schema likely handles return values, but the description doesn't provide enough context for safe or effective use.

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

Parameters2/5

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

Schema description coverage is 0%, so the schema provides no parameter details. The description mentions 'specific URLs' but doesn't explain the parameters 'site_url' and 'urls' or their relationships. It adds minimal meaning beyond the schema, failing to compensate for the coverage gap, though it hints at the scope.

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

Purpose3/5

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

The description states the tool's purpose as 'Get traffic information for specific URLs,' which clearly indicates a retrieval action ('Get') on a resource ('traffic information') with a scope ('for specific URLs'). However, it doesn't differentiate from siblings like 'get_url_info' or 'get_children_url_traffic_info,' making it somewhat vague in context. It avoids tautology by not merely restating the name.

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

Usage Guidelines2/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. With many sibling tools like 'get_url_info' and 'get_children_url_traffic_info,' there's no indication of context, prerequisites, or exclusions. Usage is implied only by the general purpose, lacking explicit instructions.

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