Skip to main content
Glama
isiahw1

mcp-server-bing-webmaster

get_keyword_data

Retrieve keyword performance data from Bing Webmaster Tools to analyze search queries and optimize website content for better visibility.

Instructions

Get detailed data for a specific keyword/query.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
site_urlYes
queryYes

Implementation Reference

  • Registers the get_keyword_data tool with MCP, defining its name, description, and input schema using Annotated types.
    @mcp.tool( name="get_keyword_data", description="Get detailed data for a specific keyword/query.", )
  • Implements the core logic of the get_keyword_data tool by making an API request to retrieve keyword data and ensuring proper typing.
    async def get_keyword_data( site_url: Annotated[str, "The URL of the site"], query: Annotated[str, "The keyword/query to analyze"], ) -> Dict[str, Any]: """ Get detailed data for a specific keyword/query. Args: site_url: The URL of the site query: The keyword/query to analyze Returns: Keyword performance data """ async with api: data = await api._make_request(f"GetKeyword?siteUrl={site_url}&query={query}") return api._ensure_type_field(data, "KeywordData")

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