Skip to main content
Glama
scipq-mcp
by gdressino

find_symbols

Read-onlyIdempotent

Locate Java definitions by exact or partial symbol name and return path, line, kind, symbol, and signature for code navigation.

Instructions

Definitions in the project by name or part of a name (like workspace/symbol). Each row: path:line kind exact symbol — signature.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName or part of it, e.g. `Account`, `Account#setState`, `setState`, `Blanqueo`
limitNoMax items
matchNoauto: exact name, else names containing it. prefix/contains/camel (humps: `getUA` → getUserAccount) ignore case and apply to the last name; owner names before it must matchauto
offsetNoItems to skip
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.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered. The description adds genuinely new behavior: it discloses the output row layout (path:line, kind, exact symbol, signature), which is valuable given there is no output schema. It says nothing about result ordering or how the default project scope behaves, keeping it below a 5.

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

Conciseness5/5

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

Two compact sentences, with the core purpose front-loaded and the result-format detail second. No filler words, no restatement of the tool name or of anything in the annotations. Every clause carries information an agent cannot get from the structured fields.

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?

For a five-parameter search tool with rich schema documentation and no output schema, the description covers purpose and result shape but leaves real gaps: ordering of results, whether matches span multiple projects or are limited to the resolved project_root, and what happens when a partial name matches many symbols. Those omissions matter for a discovery tool where the agent must plan around result volume.

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%, and the schema already documents name, match modes, limit, offset and project_root in detail, including enum semantics and the camel-hump rule. The description's only param-adjacent content ('name or part of a name') restates what the schema says, adding no format or edge-case meaning. Baseline 3 applies 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?

States the resource (project definitions) and the search basis (exact name or partial name), plus an LSP analogue (workspace/symbol) that pins down intent immediately. It also describes the shape of each result row, so an agent knows what it will get. It does not distinguish itself from close siblings like definition or references, which keeps it from a 5.

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 'like workspace/symbol' analogy implies the typical use case (locating a symbol's declaration when you don't know the exact path), and the name/partial-name phrasing implies discovery-style lookup. However, there is no explicit statement of when to prefer this over definition, references, implementations, or outline, and no exclusions. Usage is inferable but not spelled out.

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