Skip to main content
Glama

Maven Central

Search By Coords

search_by_coords
Read-onlyIdempotent

Structured lookup by Maven coordinates. Provide any combination of groupId / artifactId / version.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "group_id": "org.springframework.boot",
      "artifact_id": "spring-boot-starter-web"
    },
    "name": "search_by_coords"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNo1-200 (default 20)
startNo0-based offset
versionNoversion
group_idNogroupId, e.g. "org.springframework"
artifact_idNoartifactId, e.g. "spring-core"

Output Schema

NameRequiredDescriptionDefault
responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / artifact_id / description
      Previous value: -"artifactId — e.g. \"spring-core\""New value: +"artifactId, e.g. \"spring-core\""
    • changedInput schema / properties / group_id / description
      Previous value: -"groupId — e.g. \"org.springframework\""New value: +"groupId, e.g. \"org.springframework\""
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "artifact_id": "spring-boot-starter-web",
      +    "group_id": "org.springframework.boot"
      +  },
      +  {
      +    "artifact_id": "junit",
      +    "group_id": "junit",
      +    "version": "4.13.2"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "response": {
      +      "properties": {
      +        "docs": {
      +          "description": "Array of matching Maven artifacts",
      +          "items": {
      +            "properties": {
      +              "a": {
      +                "description": "artifactId",
      +                "type": "string"
      +              },
      +              "g": {
      +                "description": "groupId",
      +                "type": "string"
      +              },
      +              "latestVersion": {
      +                "description": "Latest version of this artifact",
      +                "type": "string"
      +              },
      +              "tags": {
      +                "description": "Associated tags",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "timestamp": {
      +                "description": "Publication timestamp (milliseconds)",
      +                "type": "number"
      +              },
      +              "v": {
      +                "description": "version",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "numFound": {
      +          "description": "Total number of matching artifacts",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description's one genuine addition is "any combination", which tells the agent partial or empty coordinate sets are accepted and thus enables broad scans. It does not disclose match semantics (exact vs prefix), result ordering, or what an empty query returns.

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, zero filler, with the core operation stated first and the accepted inputs second. Nothing is redundant, though the terseness borders on under-specification for a 5-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, so return values need no explanation, and all five parameters are fully described in the schema with a 100% coverage rate. The annotations cover the safety profile, leaving only minor gaps such as match semantics and result ordering.

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 group_id, artifact_id, version, start and rows each documented in the schema itself, so the baseline is 3. The description only restates the three coordinate fields and adds no format, casing, wildcard or pagination guidance beyond what the schema already provides.

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?

"Structured lookup by Maven coordinates" names a specific verb (lookup) and resource (Maven artifacts keyed by groupId/artifactId/version), which is clearly distinct from a free-text search. It stops short of naming or contrasting the closest siblings such as maven_central_search or maven_central_list_versions, so the agent must infer the boundary.

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

Usage Guidelines3/5

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

The word "Structured" plus the coordinate list implies the tool is for exact coordinate lookups rather than keyword discovery, which is a usable but implicit routing signal. There is no explicit when-not guidance, no mention of prerequisites, and no named alternative for keyword or version-list lookups.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.