Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

search_symbols

Read-onlyIdempotent

Locate functions, classes, interfaces, types, and constants across a codebase by name, kind, directory, or language; returns matching file and line details.

Instructions

Find functions, classes, interfaces, types, and constants across the codebase. Supports 40+ languages. Returns symbol name, kind, file, and line number.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_symbols"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoType of symbol to find (default: all)
nameNoSymbol name to search for (partial match)
languageNoFilter by language, e.g. "python", "typescript", "java"
directoryNoSubdirectory to search within
max_filesNoMax files to scan (default: 200, increase for large codebases)

Output Schema

NameRequiredDescriptionDefault
totalYes
symbolsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that: 40+ language coverage and the exact result fields. It does not mention performance characteristics such as the default 200-file scan cap or what happens when the cap is hit.

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?

Three short sentences, front-loaded with the core action and with no filler. The final sentence restating the return fields is partly redundant given the output schema exists, which is the only wasted 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?

With an output schema present and full parameter coverage, the description needs only to convey purpose and scope, which it does. The remaining gap is sibling differentiation against search_code and semantic_search, which matters for a search tool in a crowded search family.

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 the schema already documents kind, name, language, directory, and max_files including defaults. The description adds only marginal value, indirectly reinforcing the language filter via "40+ languages" and the directory scope via "across the codebase"; the baseline of 3 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?

Uses a specific verb ("Find") and enumerates the resource kinds (functions, classes, interfaces, types, constants) plus the language breadth and returned fields. It is unambiguous what the tool does, but it never distinguishes itself from the sibling search_code or semantic_search, so an agent cannot tell from the description alone which search to pick.

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 or when-not-to-use guidance. The description never names an alternative (search_code, semantic_search) or states the condition that selects this symbol-oriented search over a general code search, leaving the choice entirely to inference.

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