Skip to main content
Glama
aywengo

MCP Kafka Schema Reg

get_subject_mode

Retrieve the operational mode for a specific subject in MCP Kafka Schema Reg. Useful for backward compatibility; consider using the 'subject://{name}/{context}/{subject}/mode' resource for improved performance.

Instructions

Get the operational mode for a specific subject.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextNo
registryNo
subjectYes

Implementation Reference

  • Output schema definition for the get_subject_mode tool, referencing MODE_SCHEMA which defines the mode structure.
    "get_mode": MODE_SCHEMA,
    "update_mode": MODE_SCHEMA,
    "get_subject_mode": MODE_SCHEMA,
    "update_subject_mode": MODE_SCHEMA,
  • Operation metadata for get_subject_mode indicating it is a quick synchronous operation.
    "get_subject_mode": {
        "duration": OperationDuration.QUICK,
        "pattern": AsyncPattern.DIRECT,
    },
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. It mentions backward compatibility and performance considerations, which is useful context, but doesn't disclose critical behavioral traits like whether this is a read-only operation, what permissions are required, error handling, or what the output looks like. For a tool with no annotations, this leaves significant gaps.

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 appropriately sized and front-loaded: the first sentence states the purpose, and the second provides critical usage guidance. Every sentence earns its place with no wasted words, making it highly efficient.

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?

Given the tool's complexity (3 parameters, no output schema, no annotations), the description is incomplete. It covers purpose and usage alternatives well but lacks parameter explanations, behavioral details, and output information. It's adequate for basic understanding but has clear gaps for effective tool invocation.

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%, so the description must compensate. It doesn't explain any of the three parameters (subject, context, registry) beyond what's implied in the alternative resource path. No parameter meanings, formats, or examples are provided, failing to address the coverage gap.

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 tool's purpose with 'Get the operational mode for a specific subject,' which is a specific verb+resource combination. However, it doesn't differentiate from sibling tools like 'get_mode' or 'update_subject_mode,' which appear related to mode operations, so it doesn't fully distinguish from alternatives.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance by stating 'Consider using the 'subject://{name}/{context}/{subject}/mode' resource instead for better performance,' which clearly advises when not to use this tool and offers a named alternative. This is a strong example of when-not-to-use guidance.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aywengo/kafka-schema-reg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server