Skip to main content
Glama

syms_list

Extract top-level symbols like functions, classes, types, and constants from source files. Optionally filter by kind or scan directories recursively.

Instructions

Extract top-level symbols (functions, classes, types, constants) from source files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindsNoOptional symbol kind filter (e.g. class, function, constant)
pathsYesFile or directory paths
recursiveNoScan directories recursively
Behavior3/5

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

With no annotations, the description carries full burden. It states 'top-level' and lists symbol kinds, but lacks details on output format, recursion behavior (beyond parameter name), or any side effects. It is adequate but not thorough.

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 12-word sentence that is completely front-loaded with the essential action. No filler or redundancy.

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?

Given no output schema and no annotations, the description is too minimal. It omits details about the return value format, whether symbols are fully qualified, and how recursion interacts with directory paths. More information is needed for complete understanding.

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 100%, so baseline is 3. The description adds context ('top-level' and example symbol types) that complements the schema but does not significantly enhance understanding of parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('extract') and resource ('top-level symbols from source files') and lists examples (functions, classes, types, constants). This clearly distinguishes it from sibling tools like syms_graph or syms_search.

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?

No guidance is provided on when to use this tool over alternatives (e.g., syms_search for searching symbols). There is no mention of use cases, prerequisites, or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jordan-Horner/symbols'

If you have feedback or need assistance with the MCP directory API, please join our Discord server