Skip to main content
Glama
zizzfizzix

Bing Webmaster Tools MCP Server

by zizzfizzix

get_fetched_urls

Retrieve submitted URLs and their indexing status from Bing Webmaster Tools to monitor crawl progress and identify issues.

Instructions

Get a list of URLs that have been submitted for fetching.

Args: site_url: The URL of the site

Returns: List[FetchedUrl]: List of fetched URLs and their status

Raises: BingWebmasterError: If fetched URLs cannot be retrieved

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selfYes
site_urlYes

Implementation Reference

  • Core handler logic for the get_fetched_urls MCP tool. Dynamically created wrapper decorated with @mcp.tool(), which executes the underlying submission service's get_fetched_urls method within the service context manager.
    @mcp.tool() @wraps(original_method) async def wrapper(*args: Any, **kwargs: Any) -> Any: # Filter out any 'self' arguments that might be passed by the MCP client kwargs = {k: v for k, v in kwargs.items() if k != "self"} async with service as s: service_obj = getattr(s, service_attr) # Get the method from the instance method = getattr(service_obj, method_name) # Call the method directly - it's already bound to the instance return await method(*args, **kwargs)
  • Registers the get_fetched_urls tool by invoking wrap_service_method with the submission service and method name, creating the MCP tool.
    get_fetched_urls = wrap_service_method( # noqa: F841 mcp, service, "submission", "get_fetched_urls" )
  • Triggers registration of all Bing Webmaster tools, including get_fetched_urls, by calling add_bing_webmaster_tools.
    add_bing_webmaster_tools(mcp, bing_service)
  • Attaches the SubmissionService instance (which defines the underlying get_fetched_urls method) to the BingWebmasterService for access by tool wrappers.
    self.submission = submission.SubmissionService(self.client)

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/zizzfizzix/mcp-server-bwt'

If you have feedback or need assistance with the MCP directory API, please join our Discord server