Skip to main content
Glama
aywengo

MCP Kafka Schema Reg

get_default_registry

Retrieve the current default registry in the MCP Kafka Schema Registry server for managing Kafka schema configurations efficiently.

Instructions

Get the current default registry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • JSON Schema definition for the 'get_default_registry' tool output, including default_registry name, info, available registries, and metadata.
    GET_DEFAULT_REGISTRY_SCHEMA = {
        "type": "object",
        "properties": {
            "default_registry": {
                "type": ["string", "null"],
                "description": "Name of the current default registry",
            },
            "info": {
                "type": ["object", "null"],
                "description": "Detailed information about the default registry (when available)",
                "additionalProperties": True,
            },
            "available_registries": {
                "type": "array",
                "items": {"type": "string"},
                "description": "List of configured registries (multi-registry mode)",
            },
            **METADATA_FIELDS,
        },
        "required": ["default_registry"],
        "additionalProperties": True,
    }
  • The 'get_default_registry' tool is registered in TOOL_OUTPUT_SCHEMAS mapping its name to the output schema (GET_DEFAULT_REGISTRY_SCHEMA or error). This is used for structured output validation.
    "get_default_registry": {
        "oneOf": [
            GET_DEFAULT_REGISTRY_SCHEMA,
            ERROR_RESPONSE_SCHEMA,
        ]
    },
  • Operation metadata for 'get_default_registry' tool indicating it is a quick, direct (non-async) operation.
    "get_default_registry": {
        "duration": OperationDuration.QUICK,
        "pattern": AsyncPattern.DIRECT,
    },
  • Helper logic in list_registries_tool that retrieves and includes the default_registry using registry_manager.get_default_registry().
    default_registry = registry_manager.get_default_registry()
    if default_registry:
        result["default_registry"] = default_registry
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states the tool retrieves the 'current default registry', implying a read-only operation, but doesn't disclose behavioral details like whether this requires authentication, what format the registry information is returned in, or if there are any rate limits. For a tool with zero annotation coverage, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence that directly states the tool's purpose without any fluff. It is front-loaded and efficiently communicates the core functionality in minimal words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no parameters and no output schema, the description is minimally adequate but lacks depth. It doesn't explain what the 'default registry' entails or what information is returned, leaving gaps in understanding the tool's behavior and output. However, the simplicity of the tool (0 params) mitigates some completeness concerns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and the input schema has 100% description coverage (though empty). The description doesn't need to explain parameters, so it appropriately avoids unnecessary details. A baseline of 4 is given since no parameters exist to document.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get') and the resource ('current default registry'), making the purpose immediately understandable. However, it doesn't differentiate this from sibling tools like 'get_registry_info' or 'list_registries', which might provide related but different information about registries.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. With many sibling tools related to registries (e.g., 'get_registry_info', 'list_registries', 'compare_registries'), there is no indication of when this specific tool is appropriate or what distinguishes it from others.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

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