Skip to main content
Glama
mcp-dependency-explorer
by kozer

List TypeScript symbols

list_symbols

List TypeScript functions, classes, interfaces, and other symbols from a module, with filters for name and kind, to inspect module structure.

Instructions

List TypeScript symbols (functions, classes, interfaces, etc.) from a module

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": {
      "module": "<module>"
    },
    "name": "list_symbols"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
nameNoFilter by symbol name (substring)
rootNoProject root directory (defaults to cwd)
limitNo
moduleYesModule name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only states the listing action. It says nothing about whether the operation is read-only, how results are ordered or truncated by the 'limit' parameter, what happens with an unknown module, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the verb and resource come first and the kind enumeration is compact. Nothing could be removed without losing information.

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

Completeness2/5

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

This is a 5-parameter listing tool with no annotations and no output schema, so the description should explain the result shape, truncation/pagination behavior via 'limit', and how 'module' resolves relative to 'root'. None of that is present, leaving substantial gaps for correct invocation.

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 coverage is 60%, and the schema already documents the meaningful parts: 'name' as a substring filter, 'root' defaulting to cwd, 'limit' with default 100 and max 500, and the kind enum. The description adds no meaning beyond the schema aside from restating the module-scoping concept, which is a modest gap rather than a harmful one.

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 specific verb ('List') and resource ('TypeScript symbols') with an explicit scope ('from a module'), plus a parenthetical enumerating symbol kinds. It does not distinguish itself from siblings like get_symbol or search, but the operation itself is unambiguous.

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 guidance and no mention of alternatives such as get_symbol (for a single symbol) or search. The agent must infer from the verb alone that this is for enumerating symbols within one module rather than looking up a specific one.

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