Skip to main content
Glama
MCP Kafka Schema Reg

MCP Kafka Schema Reg

Get Schema

get_schema
Read-onlyIdempotent

Retrieve a specific version of a Kafka Schema Registry schema by subject, with optional version, context, and registry parameters.

Instructions

Get a specific version of a schema.

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "subject": "<subject>"
    },
    "name": "get_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNo
subjectYes
versionNolatest
registryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.2.2
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context / title
      Removed value: -"Context"
    • removedInput schema / properties / registry / title
      Removed value: -"Registry"
    • removedInput schema / properties / subject / title
      Removed value: -"Subject"
    • removedInput schema / properties / version / title
      Removed value: -"Version"
  2. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/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 something annotations cannot express: the tool is legacy/maintained for compatibility and a faster resource path exists. It still says nothing about behavior on a missing subject/version or how 'latest' is resolved.

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 blocks with the core purpose front-loaded before the compatibility note; no filler. The 'NOTE:' framing is slightly verbose but the content itself earns its place.

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?

With four undocumented parameters, no output schema, and no error semantics, the definition is thin for a lookup tool that can fail on unknown subject, version, or registry. The migration pointer helps, but an agent still lacks the information needed to construct a correct call in multi-context/multi-registry setups.

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% across four parameters, so the schema carries no meaning at all. The description mentions none of them — not what 'context' scopes, what 'registry' selects, whether 'version' accepts a number, tag, or the default 'latest' — leaving the caller to guess entirely.

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 ('Get a specific version of a schema'), which is unambiguous about the operation. It does not differentiate from similarly named siblings such as get_schema_by_id or get_schema_versions; the only contrast offered is against a resource URI, not another tool.

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 gives a clear usage condition — the tool exists for backward compatibility — and an explicit preferred alternative ('schema://{name}/{context}/{subject}') with a reason (better performance). That is real routing guidance, though it stops short of saying when a caller should pick this over get_schema_versions or get_schema_by_id.

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