Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TLDR_BINNoPath to the tldr CLI binary if not in PATH

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
tldr_treeA

Show file tree of a project directory. Use instead of ls/find.

tldr_structureB

Show code structure (classes, functions, imports) for a project. Use instead of reading files to understand structure.

tldr_contextA

Get LLM-ready context for a function/class. Use INSTEAD of reading large files. Returns only relevant code.

tldr_searchB

Search files for a pattern. Faster than grep for structural searches.

tldr_impactA

Find all callers of a function (reverse call graph). Use to understand what breaks if you change a function.

tldr_callsA

Build cross-file call graph starting from a function.

tldr_semanticA

Semantic code search using natural language. Use for conceptual searches like 'authentication logic' or 'payment handling'.

tldr_archB

Detect architectural layers from call patterns. Shows high-level architecture of the project.

tldr_warmA

Pre-build call graph cache for faster queries. Run once per project before using other tldr tools.

tldr_extractA

Extract full file analysis (classes, functions, methods, imports). Use to deeply understand a single file.

tldr_cfgB

Control flow graph for a function. Shows branches, loops, and execution paths.

tldr_dfgB

Data flow graph for a function. Shows how data moves through variables and expressions.

tldr_sliceA

Program slice: find all lines that affect a specific line. Use to understand what influences a value or statement.

tldr_deadC

Find unreachable (dead) code in a project. Useful for cleanup and refactoring.

tldr_importsC

Parse imports from a source file. Shows all dependencies of a file.

tldr_importersB

Find all files that import a module (reverse import lookup). Use to understand module usage across the project.

tldr_change_impactA

Find tests affected by changed files. Use before committing to know what to test.

tldr_diagnosticsC

Get type-check and lint diagnostics for a file or project. Use to find errors without running the code.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/BenMousaAmine/mcp-tldr'

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