Skip to main content
Glama
scipq-mcp
by gdressino

callers

Read-onlyIdempotent

Trace incoming calls to a Java symbol, grouped by enclosing method, with depth, paging, scope filtering, and optional override-aware results.

Instructions

Incoming calls / uses grouped by the enclosing method (like incomingCalls). Exact: only this symbol, not same-named members of other types. Calls in lambdas and anonymous classes count for the enclosing method; field initializers for the field; initializer blocks for the class. offset/limit page the direct callers.

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

Input Schema

NameRequiredDescriptionDefault
depthNoLevels of callers
limitNoMax items
scopeNoOnly results in this package (prefix or glob) or, with '/', source path glob
offsetNoItems to skip
symbolYesName or exact SCIP symbol (forms: see the server instructions)
max_nodesNoStop after this many callers in the whole tree
project_rootNoCheckout or worktree to query (any directory in it); default: where the server started
include_overriddenNoAlso calls to the methods this one overrides, which may dispatch here

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the safe read-only, idempotent, non-destructive profile, so the bar is lower. The description still contributes real behavioral detail: amiguity resolution for same-named members, and the non-obvious attribution rules (lambda/anonymous-class calls go to the enclosing method, field initializers to the field, initializer blocks to the class) that materially change what comes back.

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?

Very compact and front-loaded: purpose first, then precision caveats. It is telegraphic to the point of being cryptic in places (the parenthetical 'like incomingCalls' assumes prior knowledge), but no sentence is wasted.

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 8 parameters, no output schema, and grouped/aggregated results, the definition should say more about the result shape (how callers are grouped and what each group contains). Grouping behavior is covered, but the return structure and the depth-vs-pagination interaction are left unstated.

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 parameters like depth, scope, max_nodes, and include_overridden are already documented in structured form. The description only adds that offset/limit page the direct callers, which is mild extra meaning and arguably muddies the interaction with the multi-level depth parameter.

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 specific verb and resource: incoming calls/uses grouped by enclosing method, with a clarifying reference to the known 'incomingCalls' concept. It sharply defines scope ('only this symbol, not same-named members of other types'), but never names an alternative such as callees or references, so the agent must infer the contrast from the word 'incoming'.

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?

Usage is implied by the direction of the relationship (incoming, i.e. who calls me), and the exact-symbol constraint tells the agent when the result set is valid. There is no explicit when-to-use statement, no mention of when to prefer references or impact analysis instead, and no prerequisites for the symbol form beyond deferring to server instructions.

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