Skip to main content
Glama
rsp2k
by rsp2k

db_create_kafka_topic

Create a Kafka topic on a Vultr Kafka database using the database ID and topic name. Configure partitions, replication, and retention limits for the new topic.

Instructions

Create a Kafka topic (Kafka databases only).

Args: database_id: The Kafka database ID or label name: Topic name partitions: Number of partitions replication: Replication factor retention_hours: Retention time in hours retention_bytes: Retention size in bytes

Returns: Created topic information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
partitionsNo
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

A4/5.0
Behavior3/5

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

No annotations are present, so the description carries the disclosure burden. It clearly labels the operation as creating a resource and notes the return value, which is adequate. However, it does not mention likely failure modes, such as the topic already existing, required permissions, or whether any side effects occur beyond adding the topic to the Kafka database.

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 compact and well-structured: one purpose sentence followed by a clean Args list and a Returns line. It front-loads the core meaning and avoids unnecessary prose, schema type repetition, or filler. Every section serves a clear purpose.

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

Completeness4/5

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

Given six parameters, no annotations, and an existing output schema, the description covers all parameter semantics, states the Kafka-only constraint, and notes the return value. It leaves out default-value discussion, validation ranges, and error behavior, but those are partially covered by the schema and do not prevent an agent from making a correct call.

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 description compensates by listing all six parameters with brief meanings. It adds useful context beyond the raw schema, particularly that database_id accepts a Kafka database ID or label and that retention values are in hours and bytes. Some entries are near-tautological ('partitions: Number of partitions'), but the parameter list is sufficient to map arguments to their roles.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'Create a Kafka topic,' and immediately qualifies the scope with '(Kafka databases only).' This clearly distinguishes it from generic db_create and other database sub-resource creators like db_create_user or db_create_read_replica without requiring the agent to inspect the schema.

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

Usage Guidelines3/5

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

The 'Kafka databases only' parenthetical provides a clear exclusion, warning agents not to use this tool for non-Kafka databases. However, it does not explicitly contrast this tool with related Kafka topic siblings such as db_list_kafka_topics, db_get_kafka_topic, db_update_kafka_topic, or db_delete_kafka_topic. When to prefer this over those alternatives is implied rather than stated.

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