get_url_submission_quota
Check URL submission quota and usage for Bing Webmaster Tools to manage indexing limits effectively.
Instructions
Get information about URL submission quota and usage.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:342-345 (registration)Tool registration decorator defining the name and description for get_url_submission_quota.@mcp.tool( name="get_url_submission_quota", description="Get information about URL submission quota and usage.", )
- mcp_server_bwt/main.py:346-361 (handler)The main handler function that makes the API request to Bing Webmaster Tools for URL submission quota and processes the response.async def get_url_submission_quota( site_url: Annotated[str, "The URL of the site"] ) -> Dict[str, Any]: """ Get information about URL submission quota and usage. Args: site_url: The URL of the site Returns: Quota information """ async with api: quota = await api._make_request(f"GetUrlSubmissionQuota?siteUrl={site_url}") return api._ensure_type_field(quota, "UrlSubmissionQuota")