Skip to main content
Glama
rsp2k
by rsp2k

db_update_kafka_topic

Update Kafka topic configuration to change partition count, replication factor, and retention times or sizes for a managed database.

Instructions

Update a Kafka topic configuration.

Args: database_id: The Kafka database ID or label topic_name: The topic name to update partitions: New number of partitions replication: New replication factor retention_hours: New retention time in hours retention_bytes: New retention size in bytes

Returns: Updated topic information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
partitionsNo
topic_nameYes
database_idYes
replicationNo
retention_bytesNo
retention_hoursNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

B3.2/5.0
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. It only says 'Update' and 'Returns updated topic information'; it does not describe that partition/replication changes may be risky, irreversible, require permissions, or fail for already-existing topics. This is a significant gap for a mutation tool.

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 purpose line followed by a well-structured Args/Returns list. There is no fluff or irrelevant prose, and the format is easily scannable.

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?

With 6 parameters, no annotations, and an output schema, the description is moderately complete. It covers all parameters and declares a return value, but it omits important contextual behavior such as whether optional fields mean 'no change', limitations on partition/replication updates, and how to connect this to the larger Kafka topic workflow. It is enough to make a call, but not enough to choose or reason about the tool.

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?

Schema description coverage is 0%, so the parameter documentation in the description is important. It does name each parameter and adds semantic meaning: database_id is ID or label, retention parameters include units, and fields are prefixed with 'New' indicating they replace the current value. It also does not explain null/omission behavior, which keeps it slightly below perfect.

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 ('Update a Kafka topic configuration') with a specific resource type, and the tool name plus sibling set make it easy to distinguish from create, get, list, or delete variants. However, it does not explicitly contrast with siblings or state that it is only for modifying existing topics, so it falls just short of full differentiation.

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?

There is no usage guidance. The description gives no 'when to use vs. alternatives', no prerequisites such as 'topic must already exist', and no exclusions. The only cue is the word 'update' in the name, which is not substantive guidance.

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

Deploy Server

Other Tools