Skip to main content
Glama
aywengo

MCP Kafka Schema Reg

bulk_configuration_update

Update security policies, retention settings, and access controls across multiple schemas or contexts using a single tool, with optional dry-run functionality for testing.

Instructions

Update configuration settings across multiple schemas or contexts.

Supports security policies, retention settings, and access controls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
config_typeNosecurity
dry_runNo
patternNo
settingsNo
target_typeNoschemas

Implementation Reference

  • Handler logic for the 'bulk_configuration_update' tool. Dispatches to the BulkOperationsWizard's start_wizard method with BulkOperationType.CONFIGURATION.
    elif tool_name == "bulk_configuration_update":
        # Direct configuration update
        return await wizard.start_wizard(BulkOperationType.CONFIGURATION)
  • Input schema definition for the 'bulk_configuration_update' tool, including parameters like config_type, target_type, pattern, settings, and dry_run.
    Tool(
        name="bulk_configuration_update",
        description=(
            "Update configuration settings across multiple schemas or contexts. "
            "Supports security policies, retention settings, and access controls."
        ),
        inputSchema={
            "type": "object",
            "properties": {
                "config_type": {
                    "type": "string",
                    "enum": ["security", "retention", "mode", "compliance"],
                    "description": "Type of configuration to update",
                },
                "target_type": {
                    "type": "string",
                    "enum": ["schemas", "contexts", "global"],
                    "description": "What to apply configuration to",
                },
                "pattern": {"type": "string", "description": "Pattern to match targets (for schemas/contexts)"},
                "settings": {"type": "object", "description": "Configuration settings to apply"},
                "dry_run": {"type": "boolean", "default": True, "description": "Preview changes without applying"},
            },
            "required": ["config_type", "target_type"],
        },
    )
  • Registration of the 'bulk_configuration_update' tool in the create_bulk_operations_tools function by appending a Tool instance to the tools list.
    tools.append(
        Tool(
            name="bulk_configuration_update",
            description=(
                "Update configuration settings across multiple schemas or contexts. "
                "Supports security policies, retention settings, and access controls."
            ),
            inputSchema={
                "type": "object",
                "properties": {
                    "config_type": {
                        "type": "string",
                        "enum": ["security", "retention", "mode", "compliance"],
                        "description": "Type of configuration to update",
                    },
                    "target_type": {
                        "type": "string",
                        "enum": ["schemas", "contexts", "global"],
                        "description": "What to apply configuration to",
                    },
                    "pattern": {"type": "string", "description": "Pattern to match targets (for schemas/contexts)"},
                    "settings": {"type": "object", "description": "Configuration settings to apply"},
                    "dry_run": {"type": "boolean", "default": True, "description": "Preview changes without applying"},
                },
                "required": ["config_type", "target_type"],
            },
        )
    )
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. While it indicates this is an update operation (implying mutation), it doesn't describe critical behaviors: whether changes are reversible, what permissions are required, potential side effects, error handling, or response format. The mention of 'security policies, retention settings, and access controls' hints at sensitive operations but lacks explicit warnings or constraints.

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

Conciseness4/5

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

The description is appropriately concise with two sentences that are front-loaded: the first states the core purpose, and the second adds supporting detail. There's no wasted verbiage, and it efficiently communicates the tool's scope and supported areas. However, it could be slightly more structured by explicitly separating purpose from usage notes.

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

Completeness2/5

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

Given the complexity of a bulk update tool with 5 parameters, 0% schema coverage, no annotations, and no output schema, the description is incomplete. It lacks details on behavioral traits, parameter meanings, error conditions, and output expectations. For a tool that likely involves significant system changes, this level of documentation is inadequate and leaves critical gaps for an AI agent.

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

Parameters2/5

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

With 0% schema description coverage and 5 parameters, the description adds minimal value beyond the schema. It implies parameters related to 'config_type' (e.g., security policies) and 'target_type' (e.g., schemas or contexts), but doesn't explain what 'pattern', 'settings', or 'dry_run' mean in this context. The description fails to compensate for the lack of schema documentation, leaving most parameters semantically unclear.

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 tool's purpose: 'Update configuration settings across multiple schemas or contexts.' It specifies the verb ('update'), resource ('configuration settings'), and scope ('across multiple schemas or contexts'), which is specific and actionable. However, it doesn't explicitly differentiate from sibling tools like 'bulk_schema_update' or 'update_global_config', which appear related but have different scopes.

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. It mentions supported areas ('security policies, retention settings, and access controls'), but this is more about functionality than usage context. There's no mention of prerequisites, when-not-to-use scenarios, or comparisons to sibling tools like 'bulk_schema_update' or 'update_global_config'.

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