Skip to main content
Glama
MCP Kafka Schema Reg

MCP Kafka Schema Reg

Get Subjects By Schema Id

get_subjects_by_schema_id
Read-onlyIdempotent

Retrieve the subjects and versions associated with a Kafka Schema Registry schema ID to identify where a schema is used.

Instructions

Get subjects and versions associated with a schema ID.

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": {
      "schema_id": "<schema_id>"
    },
    "name": "get_subjects_by_schema_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
registryNoOptional registry name (ignored in single-registry mode)
schema_idYesThe globally unique schema ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.2.2
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / registry / description
      Added value: +"Optional registry name (ignored in single-registry mode)"
    • removedInput schema / properties / registry / title
      Removed value: -"Registry"
    • addedInput schema / properties / schema_id / description
      Added value: +"The globally unique schema ID"
    • removedInput schema / properties / schema_id / title
      Removed value: -"Schema Id"
  2. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is settled, lowering the bar. The description adds the useful fact that the result includes subject/version pairs rather than just subject names, but says nothing about whether the list can be empty, how versions are represented, or any paging behavior.

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?

A single efficiently worded sentence with the resource and the lookup key front-loaded and zero filler. It is arguably too terse rather than redundant, but nothing in it wastes space.

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 only two well-documented parameters and no output schema, the description needs to carry the return-shape burden, and it does so only minimally by naming 'subjects and versions'. It does not explain what a version entry looks like or how this differs from related listing tools, leaving a modest gap for a lookup tool.

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

Parameters3/5

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

Schema description coverage is 100%, with 'schema_id' documented as 'The globally unique schema ID' and 'registry' flagged as ignored in single-registry mode, so the schema does the heavy lifting. The description contributes no additional parameter meaning, which matches the baseline of 3.

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 subjects and versions') plus the lookup key ('associated with a schema ID'), which frames this as a reverse lookup from schema ID to subjects. That is distinct enough from get_schema_by_id or get_schema_versions that an agent can pick it without opening the schema, though no sibling is named to make the contrast explicit.

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 when-to-use guidance, no prerequisites, and no mention of when-not to use it or which sibling to prefer. The agent must infer from the verb that this is for 'which subjects reference this schema ID' queries.

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