Skip to main content
Glama
salitaba

Maven Decoder MCP Server

by salitaba

search_classes

Search Maven repository jars for Java classes by name, annotation, or package pattern.

Instructions

Search for Java classes across all jars in the repository

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination
limitNoMaximum results to return
annotationNoSearch for classes with specific annotation
class_nameNoClass name to search for (supports wildcards)
items_per_pageNoItems per page
package_patternNoPackage pattern to filter by

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

C2.9/5.0
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 of behavioral disclosure. It implies a read-only search operation but does not describe return values, output structure, potential breadth of the scan, or any side effects. The phrase 'across all jars' hints at a potentially broad operation, but the description does not elaborate.

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?

The description is a single clear sentence with no filler or repetition. It is concise and front-loaded, though slightly too sparse to fully support a six-parameter tool with no additional context.

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?

Given six optional parameters, no output schema, and no annotations, the description is incomplete for safe tool selection and invocation. It does not clarify the relationship between 'page'/'limit' and 'items_per_page', explain the result format, or distinguish when this tool should be preferred over related siblings.

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%, so the schema already documents each parameter. The tool description adds no additional semantic value beyond what the schema provides, which matches the baseline score 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 clearly states a specific action ('Search') and resource ('Java classes across all jars in the repository'), which is informative and distinct from most sibling tools like analyze_jar_structure or extract_class_info. However, it does not explicitly name or contrast any sibling, so full differentiation is left to inference.

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 guidance about when to use this tool versus alternatives such as search_maven_central or extract_class_info. The description states the scope but provides no exclusions, prerequisites, or selection criteria.

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