get_content_submission_quota
Retrieve content submission quota details for a website from Bing Webmaster Tools to manage URL submission limits.
Instructions
Get content submission quota information.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:934-948 (handler)The handler function that executes the tool logic: makes an API request to GetContentSubmissionQuota and processes the response.async def get_content_submission_quota( site_url: Annotated[str, "The URL of the site"] ) -> Dict[str, Any]: """ Get content submission quota information. Args: site_url: The URL of the site Returns: Content submission quota details """ async with api: quota = await api._make_request(f"GetContentSubmissionQuota?siteUrl={site_url}") return api._ensure_type_field(quota, "ContentSubmissionQuota")
- mcp_server_bwt/main.py:931-933 (registration)Tool registration using the @mcp.tool decorator with name and description.name="get_content_submission_quota", description="Get content submission quota information.", )
- mcp_server_bwt/main.py:934-936 (schema)Input schema defined by function parameter type annotation (site_url: str) and output type (Dict[str, Any]).async def get_content_submission_quota( site_url: Annotated[str, "The URL of the site"] ) -> Dict[str, Any]: