Skip to main content
Glama
scipq-mcp
by gdressino

annotated

Read-onlyIdempotent

Find classes, methods, fields and parameters carrying a given annotation type, returning each declaration plus the annotation line with its attribute values.

Instructions

Classes, methods, fields and parameters carrying an annotation, with the annotation's line (which holds its attribute values).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items
scopeNoOnly results in this package (prefix or glob) or, with '/', source path glob
offsetNoItems to skip
annotationYesAnnotation type, e.g. `Deprecated`, `Entity`, `org.junit.jupiter.api.Test`
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.4/5.0
Behavior3/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is clear. The description adds useful output context by saying the annotation's line with attribute values is included, but it does not describe ordering, matching semantics, or pagination behavior. With annotations covering the safety profile, this is adequate but not rich.

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?

The definition is a single compact sentence that front-loads the result type and then explains the annotation-line detail. Every phrase contributes information, with no redundant or filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only query tool with fully described parameters and strong annotations, the description covers what is returned and why the annotation's line matters. It does not explain annotation matching semantics, such as exact versus simple-name matching, but the schema examples mitigate that gap.

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%, and all five parameters, including the required annotation and optional limit, scope, offset, and project_root, are documented in the schema itself. The description adds no parameter-specific syntax or matching semantics beyond what the schema already provides, so the baseline score is appropriate.

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 clearly identifies the resource: classes, methods, fields, and parameters that carry a given annotation. It also states that results include the annotation's line with its attribute values. It does not explicitly distinguish itself from siblings like references or find_symbols, but the concept is specific enough that an agent can tell what it does.

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?

The description gives no explicit when-to-use or when-not-to-use guidance, and it does not name alternatives. Usage is only implied by the resource it returns, so the agent must infer the appropriate context for calling it.

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