TOOL4LM
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SANDBOX_DIR | No | The directory for documents (default: ./sandbox) | ./sandbox |
| ENGINE_ORDER | No | Engine order, e.g. searxng,duckduckgo | |
| LANG_DEFAULT | No | Default language hint for web search | |
| REGION_DEFAULT | No | Default region hint for web search | |
| MAX_FETCH_BYTES | No | Maximum bytes to fetch from a page | |
| FETCH_TIMEOUT_MS | No | Page fetch timeout in milliseconds | |
| SEARXNG_ENDPOINTS | No | List of SearXNG /search endpoints, separated by commas |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| calc.evalB | Evaluate math expression (no external calls). |
| calc_evalD | Alias of calc.eval |
| web.searchB | Multi-engine web search (SearXNG + DuckDuckGo HTML). |
| web_searchD | Alias of web.search |
| web.fetchB | Fetch a URL with size/time limits and anti-SSRF. |
| web_fetchD | Alias of web.fetch |
| web.readA | Extract readable content from given HTML (or pass html from web.fetch). |
| web_readD | Alias of web.read |
| doc.findB | Search local documents within sandbox directory. Builds index if missing. |
| doc_findD | Alias of doc.find |
| doc.readA | Read a file from sandbox directory (text or pdf). |
| doc_readD | Alias of doc.read |
| index.buildC | Build MiniSearch index for documents in sandbox directory. |
| index_buildD | Alias of index.build |
| sch.searchA | Academic-first search (arXiv + Crossref + Wikipedia). |
| sch_searchD | Alias of sch.search |
| sch.getC | Get scholarly metadata by DOI/arXivId/URL. |
| sch_getD | Alias of sch.get |
| wiki.searchC | Wikipedia title search (public API). |
| wiki_searchD | Alias of wiki.search |
| wiki.getC | Wikipedia summary by title. |
| wiki_getD | Alias of wiki.get |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/khanhs-234/tool4lm'
If you have feedback or need assistance with the MCP directory API, please join our Discord server