Skip to main content
Glama

neurocode_symbol

Look up classes, functions, or methods in the Code Property Graph without reading files, returning exact file paths, line ranges, callers, and callees.

Instructions

Instantly lookup classes, functions, or methods in the Code Property Graph without reading files. Returns exact file path, lines, callers, and callees in <2 ms.

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

Input Schema

NameRequiredDescriptionDefault
symbolYesName of function, class, or method to lookup
repo_pathNoPath to repository root (default '.').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does disclose the return payload (path, lines, callers, callees) and a performance characteristic (<2 ms), which is genuinely useful context. It omits whether the operation is read-only (only implied by 'lookup'), whether matching is exact or fuzzy, how duplicate symbol names are resolved, and how the repo_path scope affects results.

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?

Two short sentences with zero filler; the capability and the payoff (no file reads, sub-millisecond) are front-loaded. Nothing is repeated from the schema or wasted.

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 simple two-parameter read tool with no output schema, the description covers what it does and what it returns, which is the critical information. It falls slightly short on edge behavior (no-match vs multiple-match results) and on how broadly repo_path scopes the search.

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 both parameters are already documented in the schema and the baseline of 3 applies. The description adds no meaning beyond the schema, such as whether 'symbol' must be fully qualified or whether it matches nested/method-level names.

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 verb (lookup) and resource (classes, functions, methods) and states the mechanism (Code Property Graph rather than reading files). It does not distinguish itself from siblings such as neurocode_map, neurocode_slice, or neurocode_trace, which likely also expose symbol-level structure, so the agent cannot rule those out from this text alone.

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?

Implied usage guidance is present: 'without reading files' tells the agent to prefer this over opening files for symbol location. There is no explicit when-not condition, no mention of what happens for ambiguous or missing symbols, and no routing to an alternative tool when this lookup is the wrong fit.

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