Skip to main content
Glama
scipq-mcp
by gdressino

tests

Read-onlyIdempotent

Find test classes that use a symbol directly or via callers and return a ready Gradle --tests or Maven -Dtest filter without running them.

Instructions

Test classes (in test compile tasks or src/test/) that use a symbol, directly or (transitive) through callers, with a ready filter: --tests for Gradle (./gradlew when present), -Dtest for Maven. It does not run them.

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

Input Schema

NameRequiredDescriptionDefault
depthNoCaller levels when transitive
symbolYesName or exact SCIP symbol (forms: see the server instructions)
transitiveNoAlso tests that reach it through callers (uses the index)
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, and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results are limited to test scopes and reported as build-tool filter strings rather than execution. It still says nothing about index freshness or result ordering, and transitivity's index dependency lives only in the schema.

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?

Roughly three sentences, front-loaded with the core definition and then the actionable filter output. Dense but no filler; the parentheticals carry real information rather than restating the name.

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?

With no output schema, the description does explain the salient return shape (test classes plus ready-to-run filters), which is the key gap-filler. It leaves unanswered what happens on projects with neither Gradle nor Maven, and how index staleness affects transitive results, which matters for a 4-parameter index-backed 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 symbol, transitive, depth, and project_root are already documented in structured form; baseline is 3. The description reinforces the transitive/callers meaning and the tool's default direct-only behavior, but adds no format or constraint detail the schema lacks.

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 verb and resource: test classes that use a symbol, scoped to test compile tasks or src/*test*/, with both direct and transitive-through-callers reach. The closing 'It does not run them' disambiguates from an execution tool, though it doesn't name a sibling (e.g. callers/references) as the non-test alternative.

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 clear context for use: find tests touching a symbol and hand back a runnable filter (--tests for Gradle, -Dtest for Maven, ./gradlew preference). It also rules out one misuse case by stating it does not run the tests, but offers no explicit when-to-prefer-sibling guidance.

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