Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GPM_API_URLNoURL GPMLogin API v3, vd http://127.0.0.1:19995 hoặc http://192.168.1.50:19995 (LAN). Mặc định: tự dò.
GPM_CDP_HOSTNoGhi đè host khi kết nối CDP qua mạng LAN / SSH tunnel. Mặc định: theo host của GPM_API_URL.
GPM_PORT_FILENoĐường dẫn tuỳ chỉnh tới tệp api_port.dat của GPMLogin.%LOCALAPPDATA%\Programs\GPMLogin\api_port.dat

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
gpm_statusA

Kiểm tra trạng thái kết nối GPMLogin Local API v3 (base URL, nguồn cấu hình port, số lượng profile/group và các phiên trình duyệt CDP đang kết nối).

gpm_list_groupsB

Lấy danh sách tất cả nhóm (groups) trong GPMLogin.

gpm_list_profilesA

Liệt kê các profile trong GPMLogin theo bộ lọc group_id, từ khoá search, thứ tự sắp xếp và phân trang. Mật khẩu trong raw_proxy được ẩn mặc định.

gpm_get_profileB

Lấy thông tin chi tiết của một profile GPMLogin theo profile_id.

gpm_create_profileC

Tạo profile trình duyệt mới trong GPMLogin (API v3).

gpm_update_profileC

Cập nhật thông tin một profile GPMLogin (tên, group_id, proxy, ghi chú, startup_urls, user_agent, màu).

gpm_delete_profileA

Xoá một profile GPMLogin. Cảnh báo: hành động không thể hoàn tác. mode=1 chỉ xoá khỏi DB, mode=2 (mặc định) xoá cả DB và thư mục dữ liệu trên đĩa.

gpm_start_profileA

Khởi chạy trình duyệt của một profile GPMLogin. Mặc định tự động kết nối Playwright CDP để dùng ngay các tool gpm_browser_*.

gpm_close_profileB

Đóng trình duyệt của một profile GPMLogin đang chạy và dọn phiên CDP tương ứng.

gpm_connect_cdpB

Kết nối Playwright CDP tới một profile GPMLogin đã được mở sẵn bằng địa chỉ remote_debugging_address (vd "127.0.0.1:54321").

gpm_browser_tabsB

Quản lý các tab trong trình duyệt GPM: list (liệt kê), new (mở tab mới), switch (chuyển tab), close (đóng tab).

gpm_browser_navigateB

Điều hướng tab hiện tại tới một URL, hoặc quay lại (back), tiến tới (forward), tải lại (reload).

gpm_browser_snapshotA

Đọc nhanh nội dung chữ của trang hiện tại và liệt kê các phần tử tương tác (link, button, input, select) kèm selector gợi ý để click/điền form chính xác.

gpm_browser_clickB

Click vào phần tử theo CSS/Playwright selector (vd "button.submit", "text=Đăng nhập") hoặc theo tọa độ x, y.

gpm_browser_typeA

Điền văn bản vào ô input/textarea. Nếu đặt delay_ms > 0 sẽ gõ từng phím tự nhiên giống người thật.

gpm_browser_pressC

Nhấn phím hoặc tổ hợp phím (vd "Enter", "Tab", "Escape", "Control+A", "PageDown").

gpm_browser_selectC

Chọn một hoặc nhiều option trong thẻ theo value hoặc label.

gpm_browser_waitB

Chờ phần tử theo selector (visible/hidden/attached/detached), chờ URL chứa chuỗi, hoặc chờ một khoảng ms.

gpm_browser_screenshotA

Chụp ảnh màn hình tab hiện tại (viewport, toàn trang, hoặc 1 selector). Trả về trực tiếp ảnh PNG/JPEG cho AI xem và tuỳ chọn lưu ra tệp.

gpm_browser_evaluateC

Chạy đoạn mã JavaScript trong ngữ cảnh trang hiện tại và trả về giá trị JSON.

gpm_browser_cookiesB

Đọc (get), thêm/cập nhật (set), hoặc xoá (clear) cookies của profile trình duyệt đang kết nối.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 21 tools

Disambiguation4/5

Browser automation tools (navigate, click, type, select, wait, snapshot) each target a distinct action with clear boundaries. The only mild overlap is between gpm_start_profile and gpm_connect_cdp, since start_profile auto-connects CDP, but the descriptions distinguish the pre-opened versus fresh-launch cases.

Naming Consistency4/5

All tools share a gpm_ prefix and the gpm_browser_* namespace is fully consistent. The management tools use varied verb prefixes (start, close, list, get, create, update, delete) that are readable but not uniformly namespaced under a profile_ grouping.

Tool Count4/5

21 tools is on the heavier side but justified by serving two coherent domains: profile/group lifecycle management and browser automation. Each tool earns a distinct place, though the count sits near the upper reasonable bound.

Completeness4/5

Profile CRUD and browser interaction coverage is strong, covering navigation, form input, waits, snapshots, screenshots, JS evaluation, and cookies. Minor gaps exist: groups only support listing (no create/update/delete) and browser tools lack hover, drag, upload, or frame handling, but core workflows are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues