Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LSTH_STORAGENoStorage backend. Default is local disk (data/ folder). Set to 'minio' to enable MinIO storage.local

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
file_listD

Liệt kê file trong vùng dữ liệu cho phép.

file_searchA

Tìm file theo tên/đường dẫn, không phân biệt hoa thường và dấu tiếng Việt.

root: tên vùng (raw, work...), URI s3://lsth-raw/thư-mục/ hoặc thư mục local. Mọi từ trong query phải có trong đường dẫn, ví dụ 'S2749189 BOM' hoặc 'cong viec'. Chỉ tìm metadata, không tìm nội dung file. Tối đa scan_limit file được xét; truncated=true nghĩa là kết quả chưa đầy đủ.

file_treeA

Tìm trong cây thư mục MinIO/S3 hoặc local; trả tree JSON và tree_text dễ đọc.

root: tên vùng, URI s3://lsth-raw/thư-mục/ hoặc thư mục local. query: mã hàng, tên file/thư mục hoặc đuôi file; khớp mọi từ, không phân biệt dấu tiếng Việt và hoa thường. Ví dụ query='S2749189 BOM', root='s3://lsth-raw/'. Giữ nhánh cha của file khớp; bỏ query để hiện toàn cây. Không gồm thư mục rỗng. limit giới hạn số file; max_depth tính từ root, thư mục sâu hơn có collapsed=true. matched_count là số file khớp trong phần đã quét; scan_truncated=true nghĩa là chưa quét hết.

file_readB

Đọc bất kỳ file nào được hỗ trợ: xlsx, pdf, csv, json, docx, txt.

excel_sheetsA

Liệt kê sheet của một file Excel trước khi quyết định đọc sheet nào.

file_writeC

Ghi file chữ vào data/work hoặc data/out. Đi qua cổng quyền ghi.

excel_writeC

Xuất bảng ra Excel. Mặc định đóng dấu 'BẢN NHÁP DO MÁY DỰNG' ở dòng đầu.

json_writeD

Ghi JSON — định dạng trao đổi giữa các server theo hợp đồng F2.

csv_writeB

Xuất CSV (utf-8-sig, mở bằng Excel không vỡ dấu tiếng Việt).

identity_resolveD

F3 — đổi mã giữa các hệ: LS-style ↔ style khách ↔ UPC ↔ mã vật tư.

template_getB

F4 — lấy file khuôn đã duyệt cho một loại tài liệu.

techpack_parseC

S1 — bóc tech pack PDF ra thực thể Style.

bom_extractC

S1 — bóc BOM xlsx ra BomLine[] theo hợp đồng dữ liệu F2.

bom_diffA

S1 — so tech pack với BOM, báo mâu thuẫn chứ không tự chọn (nguyên tắc 3).

program_statusD

Bức tranh 17 thành phần: cái nào đã dựng, cái nào đang chờ lấp khoảng trống.

audit_tailC

Chương 11 — xem lệnh gọi gần nhất: ai gọi, lúc nào, đọc file nào, kết quả sao.

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/TranNhatPhi/MCP_server_LS'

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