Skip to main content
Glama
scipq-mcp
by gdressino

definition

Read-onlyIdempotent

Finds where a Java symbol is declared and returns its kind, signature, Javadoc, overrides or extensions, plus JDK/library source version; Lombok members point to their generators.

Instructions

Where a symbol is defined, with kind, signature, javadoc and what it overrides or extends (like goToDefinition + hover). Lombok members point at what generates them. JDK and library symbols come from the JDK's src.zip and the -sources.jar files in the Gradle/Maven caches, saying which version.

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": {
      "symbol": "<symbol>"
    },
    "name": "definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesName or exact SCIP symbol (forms: see the server instructions)
project_rootNoCheckout or worktree to query (any directory in it); default: where the server started

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world semantics, yet the description still adds real value: it discloses the provenance of results (JDK src.zip and -sources.jar in Gradle/Maven caches) and that version information accompanies them. It does not say what happens when a symbol is unresolved or ambiguous, which is the main remaining gap for a lookup tool.

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?

Dense and front-loaded: the core result shape comes first, then the special cases (Lombok) and data provenance. The closing clause 'saying which version' is slightly awkward but carries useful information, so there is no real waste.

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

Completeness4/5

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

With no output schema, the description must describe results, and it does so concretely (location, kind, signature, javadoc, overrides), which is enough for an agent to know what it will get back. Missing only failure/ambiguity behavior for a two-parameter read 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 coverage is 100%, so both parameters are fully documented in the schema, including the default project_root and the symbol form pointer to server instructions. The description adds no further meaning about the symbol string or project_root scoping, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Where a symbol is defined') and immediately enumerates the payload: kind, signature, javadoc, and override/extends relations. The parenthetical '(like goToDefinition + hover)' pins the concept precisely enough to separate it from siblings like source, find_symbols, or outline.

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?

The goToDefinition+hover analogy gives a clear mental model of when this tool is the right pick, and the note that Lombok members point at their generator sets expectations for a tricky case. It stops short of naming an alternative (e.g., use source for the full body, find_symbols to resolve an unknown name), so the agent must infer exclusions.

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