Skip to main content
Glama
MCP Kafka Schema Reg

MCP Kafka Schema Reg

List Contexts

list_contexts
Read-onlyIdempotent

Lists all available schema contexts in a Kafka Schema Registry so you can identify context names for schema management.

Instructions

List all available schema contexts.

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

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_contexts"
  }
}

Input Schema

NameRequiredDescriptionDefault
registryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.2.2
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / registry / title
      Removed value: -"Registry"
  2. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds genuinely useful context in the deprecation notice and performance caveat, but says nothing about scope, pagination, or what happens when no registry is supplied.

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?

Two short sentences, front-loaded with the action and followed by the migration note. Minimal waste, though the first sentence largely echoes the title.

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?

For a simple read-only list tool with no output schema, the deprecation guidance is the key missing piece and it is present. The undefined optional `registry` parameter and the unspecified result scope leave it only adequate rather than complete.

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?

Schema description coverage is 0% and the single `registry` parameter is never mentioned in the description. The reader cannot tell from the text whether omitting it falls back to a default registry or aggregates across all, which is exactly the ambiguity the description should resolve.

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 states a specific verb and resource ("List all available schema contexts"), which clarifies beyond the bare title "List Contexts" that these are schema contexts. It does not distinguish itself from siblings such as count_contexts or compare_contexts_across_registries, so it stops short of a 5.

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

Usage Guidelines4/5

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

It explicitly names a preferred alternative, the 'registry://{name}/contexts' resource, and gives the reason (better performance), plus flags itself as backward-compatibility only. This is clear routing guidance, though it addresses a resource rather than any sibling tool and gives no condition for when the deprecated tool is still necessary.

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