Skip to main content
Glama

list_pdfs

Locate PDF files in directories using glob patterns to filter by filename, returning file details for processing with PDF reading tools.

Instructions

Find PDF files in a directory. Use name_pattern for glob filtering (e.g., 'report'). Returns name, path, pages for each PDF. Use the returned 'path' directly with read_pdf.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
working_directoryNoWorking directory to search (relative or absolute path, default: current directory).
recursiveNoWhether to include subdirectories
max_depthNoMaximum recursion depth (default: 2)
name_patternNoGlob pattern for filename filtering (e.g., '*report*', 'doc_202?.pdf')

Tool Definition Quality

Score is being calculated. Check back soon.

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/PyJudge/pdf4vllm-mcp'

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