Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_related_keywords

Find keywords related to a search query for a website using Bing Webmaster Tools data to improve SEO and content strategy.

Instructions

Get keywords related to a specific query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
queryYes

Implementation Reference

  • The handler function that executes the get_related_keywords tool. It takes site_url and query parameters, calls the Bing Webmaster Tools API's GetRelatedKeywords endpoint, and returns a list of related keywords after ensuring type fields for MCP compatibility.
    async def get_related_keywords( site_url: Annotated[str, "The URL of the site"], query: Annotated[str, "The base keyword/query"], ) -> List[Dict[str, Any]]: """ Get keywords related to a specific query. Args: site_url: The URL of the site query: The base keyword/query Returns: List of related keywords """ async with api: keywords = await api._make_request( f"GetRelatedKeywords?siteUrl={site_url}&query={query}" ) return api._ensure_type_field(keywords, "RelatedKeyword")
  • Registers the get_related_keywords tool with the MCP server using the @mcp.tool decorator, providing the tool name and description.
    @mcp.tool( name="get_related_keywords", description="Get keywords related to a specific query." )

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