Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Symbol Search

symbol_search
Read-onlyIdempotent

Locate definitions and references for functions, classes, types, or variables across a repository using language-aware heuristics. Read-only.

Instructions

Locate symbol definitions and references across the repository using language-aware heuristics. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
pathNoDirectory relative to the workspace root (default ".").
limitNoMaximum results per category (default 100).
symbolYesSymbol name to locate (function, class, type, variable).
languageNoRestrict to a single language (e.g. "TypeScript").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the trailing 'Read-only' is largely redundant. The one genuinely additive phrase is 'language-aware heuristics', which hints that matching is heuristic rather than guaranteed exact — useful for interpreting results, but it is not developed further (no note on ranking, truncation, or partial matches).

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?

Two short sentences with the operation front-loaded and no filler. The only wasted clause is 'Read-only.', which merely restates the annotations.

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 four-parameter read tool with no output schema, the description covers the what but not the result shape — it never explains that hits come back grouped into definitions and references, which is implied only obliquely by the schema's 'per category' wording. Adequate to invoke, but an agent cannot predict the response structure from the description.

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 path, limit, symbol and language are all documented inline, including the defaults and the per-category meaning of limit. The description adds no extra meaning about parameter interplay (e.g. whether language narrows the heuristic parser) beyond what the schema supplies, so the baseline 3 applies.

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 gives a concrete verb ('Locate') and a specific resource ('symbol definitions and references'), plus the scope ('across the repository'), which is enough to separate it from generic text searches. It stops short of naming any sibling such as repository_search, so differentiation still requires reading the schema.

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 guidance on when to choose this tool over repository_search or documentation_search, nor any exclusions or prerequisites. The agent must infer that definition/reference lookup is the appropriate trigger from the phrase 'symbol definitions and references' alone.

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

Deploy Server

Other Tools