Skip to main content
Glama
scipq-mcp
by gdressino

typed

Read-onlyIdempotent

Find all usages of a Java type by category—fields, parameters, return types, local variables, resources, supertypes, method bodies, initializers, imports—and optionally include subtypes.

Instructions

Where a type is used, by kind: fields, parameters, return types, local variables, try-with-resources, supertype clauses, method bodies (new, casts, static calls) and imports.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items
scopeNoOnly results in this package (prefix or glob) or, with '/', source path glob
offsetNoItems to skip
symbolYesA type, e.g. `EntityManager`, `Account`
subtypesNoAlso uses of its subtypes (project and library ones, e.g. ConcurrentHashMap for Map)
modifiersNoOnly uses whose declaration has all these modifiers, e.g. ['static'] with categories=['field']
categoriesNoOnly these kinds of use: field, parameter, return type, local variable, resource (try-with-resources), supertype, method body, initializer, import, other
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

C2.8/5.0
Behavior2/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=false, so the safety profile is fully supplied elsewhere. The description adds only the parenthetical that method-body usages include new/casts/static calls; it says nothing about index prerequisites, result limits/pagination behavior, or whether project_root defaults affect coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence and front-loads the core idea ('Where a type is used, by kind'), which is good. But most of the sentence is a re-listing of the `categories` enum values, so a large share of the words duplicate structured data rather than earning their place.

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?

For an 8-parameter code-intelligence query tool with no output schema, the description should at least say what results look like conceptually and how it relates to sibling reference/supertype tools. With annotations and schema covering safety and parameters, the remaining gaps are the routing guidance that only the description could supply – and it is absent.

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 explains symbol, categories, subtypes, modifiers, scope, limit/offset and project_root in detail. The description merely echoes the categories list and adds one gloss (new, casts, static calls) beyond the enum – marginal added meaning, which is the baseline 3 when the schema does the heavy lifting.

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 states a specific operation – locating where a *type* (not an arbitrary symbol) is used, broken down by usage kind – and enumerates the kinds, with a useful gloss that method-body uses include object creation, casts and static calls. It never distinguishes itself from likely-overlapping siblings such as `references` or `implementations`, so an agent must infer the boundary from the name alone.

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 when-to-use guidance at all: no statement of when this beats `references`, `callers` or `implementations`, no mention that an index likely must exist (hence the `setup`/`index_status` siblings), and no exclusions or prerequisites. Usage selection is left entirely to inference.

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