Skip to main content
Glama

get_global_config

Retrieve global configuration settings for Kafka Schema Registry. Designed for backward compatibility, use 'registry://{name}/config' for improved performance.

Instructions

Get global configuration settings.

NOTE: This tool is maintained for backward compatibility. Consider using the 'registry://{name}/config' resource instead for better performance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextNo
registryNo

Implementation Reference

  • Core handler logic that fetches global configuration from Schema Registry API (/config or /contexts/{context}/config). Used by MCP tools.
    def get_global_config(self, context: Optional[str] = None) -> Dict[str, Any]: """Get global configuration settings.""" try: url = self.build_context_url("/config", context) response = self.session.get(url, auth=self.auth, headers=self.standard_headers) response.raise_for_status() result = response.json() result["registry"] = self.config.name return result except Exception as e: return {"error": str(e)}
  • JSON Schema (CONFIG_SCHEMA) defining the output structure for get_global_config tool, including compatibility level and metadata.
    CONFIG_SCHEMA = { "type": "object", "properties": { "compatibility": { "type": "string", "enum": [ "BACKWARD", "FORWARD", "FULL", "NONE", "BACKWARD_TRANSITIVE", "FORWARD_TRANSITIVE", "FULL_TRANSITIVE", ], "description": "Compatibility level", }, "registry": { "type": "string", "description": "Registry name (multi-registry mode)", }, **METADATA_FIELDS, }, "required": ["compatibility"], "additionalProperties": True, }
  • Registration of output schema for get_global_config tool in master TOOL_OUTPUT_SCHEMAS registry.
    "get_global_config": CONFIG_SCHEMA,
  • Operation metadata registration classifying get_global_config as quick/direct (no async task queue).
    "get_global_config": { "duration": OperationDuration.QUICK, "pattern": AsyncPattern.DIRECT, },

Other Tools

Related Tools

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/aywengo/kafka-schema-reg-mcp'

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