Skip to main content
Glama
zizzfizzix

Bing Webmaster Tools MCP Server

by zizzfizzix

get_feeds

Retrieve all sitemap feeds for a website using Bing Webmaster Tools API. Ideal for analyzing site structure, indexing status, and optimizing search engine visibility by accessing detailed feed information.

Instructions

Get all sitemap feeds for a site.

Args: site_url: The URL of the site

Returns: List[Feed]: List of feed information

Raises: BingWebmasterError: If feeds cannot be retrieved

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selfYes
site_urlYes

Implementation Reference

  • The dynamically generated handler function for the 'get_feeds' tool. Decorated with @mcp.tool(), it calls the underlying SubmissionService.get_feeds method via the BingWebmasterService instance.
    @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) # Copy signature and docstring wrapper.__signature__ = new_sig # type: ignore wrapper.__doc__ = original_method.__doc__
  • Registers the 'get_feeds' tool by invoking wrap_service_method with the appropriate service attribute ('submission') and method name ('get_feeds').
    get_feeds = wrap_service_method(mcp, service, "submission", "get_feeds") # noqa: F841
  • Invokes the tool registration function which includes the 'get_feeds' tool among all Bing Webmaster tools.
    add_bing_webmaster_tools(mcp, bing_service)
  • Initializes the 'submission' service attribute on BingWebmasterService, which provides the 'get_feeds' method implementation (proxied from external library).
    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