Skip to main content
Glama
scipq-mcp
by gdressino

supertypes

Read-onlyIdempotent

Finds parent types of a Java type or the methods a method overrides, listing direct relationships first, to support inheritance and override analysis.

Instructions

Supertypes of a type, or the methods a method overrides, direct ones first.

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

Input Schema

NameRequiredDescriptionDefault
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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world). The description adds one genuinely behavioral fact beyond that — results are ordered with direct supertypes first — but does not say whether transitive ancestors are included or what the response looks like.

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?

A single dense sentence with no filler, and the core resource is front-loaded. It is slightly elliptical ('direct ones first' without stating what is returned besides ordering), but nothing is 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?

For a two-parameter, read-only lookup with full schema coverage and no output schema, the definition is adequate but thin: it omits whether all ancestors or only direct parents are returned, and how interfaces versus classes are handled.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns above baseline by stating that the symbol may denote either a type or a method and that the returned relation changes accordingly, which the schema's 'Name or exact SCIP symbol' wording does not convey.

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?

Names a specific resource and scope: supertypes of a type, or the supers/methods a method overrides. The dual-mode phrasing lets an agent distinguish it from siblings like implementations or members, though the elliptical noun-phrase style (no verb) leaves it slightly clipped.

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 explicit when-to-use, when-not-to-use, or named alternative (e.g., implementations or family) despite several closely related siblings. The only usage signal is implicit: pass a type to get supertypes, pass a method to get overrides.

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