Skip to main content
Glama
scipq-mcp
by gdressino

source

Read-onlyIdempotent

Retrieves exact definition code and line numbers for Java symbols, including JDK and library symbols from their archives, so you can inspect only needed lines instead of whole files.

Instructions

The exact source of a definition (method, field, class) with line numbers, so you do not have to read the whole file; also for JDK and library symbols (from their sources jars).

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": "source"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesName or exact SCIP symbol (forms: see the server instructions)
max_linesNoMaximum source lines
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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, non-open-world behavior, so the safety profile is covered. The description adds genuinely useful context that results include line numbers and that non-project symbols come from sources jars, hinting at a possible failure/unavailability mode. It does not mention truncation behavior tied to max_lines or what happens when sources are missing.

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 front-loaded sentence with the core value proposition first and the JDK/library caveat second; no filler. The clause 'so you do not have to read the whole file' is slightly conversational but earns its place as a usage rationale.

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?

For a three-parameter read tool with full schema coverage and rich annotations, the description covers purpose, output shape (source plus line numbers), and external-symbol handling. Only the absence of expected failure/truncation behavior keeps it from being fully complete.

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 all three parameters (symbol, max_lines, project_root) are documented in the schema itself. The description adds only marginal meaning, mainly the hint that symbol may refer to external library/JDK symbols, without clarifying forms or the effect of max_lines. Baseline 3 applies.

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?

States a concrete outcome: fetching the exact source of a definition (method, field, class) with line numbers, plus an explicit extension to JDK/library symbols from sources jars. The verb 'source' is nominal but the phrasing makes retrieval unambiguous. It does not explicitly distinguish itself from the sibling 'definition' tool, which is the main clarity gap.

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?

Gives a clear use case ('so you do not have to read the whole file') and an additional applicable context (JDK and library symbols resolved from sources jars). There are no explicit when-not conditions or named alternatives such as 'definition', so it stops short of full routing guidance.

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