Skip to main content
Glama
scipq-mcp
by gdressino

callees

Read-onlyIdempotent

Find methods and constructors called from a Java symbol's definition, with line numbers and optional fields/types, to trace outgoing code dependencies.

Instructions

Methods and constructors referenced from the body of a definition (like outgoingCalls), with the lines; optionally fields and types too.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items
offsetNoItems to skip
symbolYesName or exact SCIP symbol (forms: see the server instructions)
project_rootNoCheckout or worktree to query (any directory in it); default: where the server started
include_typesNoAlso types mentioned in the body
include_fieldsNoAlso fields read or written in the body

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 that results carry source lines and that field/type inclusion is opt-in, but says nothing about resolution failures, cross-project behavior, or result ordering.

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?

One front-loaded sentence with no filler; the parenthetical alias and the semicolon-clause about optional fields/types are efficient. It is dense but not padded.

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 rich annotations, a fully documented six-parameter schema, and no output schema, the mechanical requirements are met. What is missing is the relational context an agent needs to choose this over `callers` or `references`, which matters for a graph-traversal tool in a large sibling set.

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 the schema already documents all six parameters, which sets the baseline at 3. The description adds only marginal meaning by confirming that `include_types` and `include_fields` widen the body scan and that output rows include line numbers.

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 names a specific resource and direction: "Methods and constructors referenced from the body of a definition," with the alias "like outgoingCalls" giving a concrete mental model. It is clearly a different thing from `callers`, but it never says so explicitly, leaving the inverse relationship for the agent to infer.

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 and no named alternative. Given siblings like `callers`, `references`, `deps`, and `path`, the description should have stated that this is the outgoing-call inverse of `callers`; the alias "outgoingCalls" is the only hint.

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