Skip to main content
Glama

clear_project_context

Reset to organization-level scope by clearing the current project context in Azure DevOps.

Instructions

Clears the project context, reverting to organization-level scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function that implements the tool logic by clearing the project_context attribute on the client instance and returning a success message.
    def clear_project_context(self): self.project_context = None return {"message": "Project context cleared."}
  • The tool registration in the server's tools list, including name, description, and empty input schema since no parameters are required.
    types.Tool( name="clear_project_context", description="Clears the project context, reverting to organization-level scope.", inputSchema={ "type": "object", "properties": {}, "additionalProperties": False } ),
  • The dispatch handler in the server's _execute_tool method that routes the tool call to the client's clear_project_context method.
    elif name == "clear_project_context": return self.client.clear_project_context()
  • The input schema definition for the tool, specifying an empty object with no properties required.
    inputSchema={ "type": "object", "properties": {}, "additionalProperties": False }

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/xrmghost/mcp-azure-devops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server