Skip to main content
Glama
TOOLS.md1.64 kB
# Tool Reference This document describes each tool, parameters (shape), and typical usage. (Identical to what was provided in chat.) ## calc.eval (alias: calc_eval) - input: { expr: string, precision?: number } - output: { ok: boolean, result?: string, error?: string } ## web.search (alias: web_search) - input: { q: string, max?: number, lang?: string, site?: string, engines?: string[], k?: number, limit?: number } - output: SearchResult[] ## web.fetch (alias: web_fetch) - input: { url: string, timeout?: number, max_bytes?: number, headers?: Record<string,string> } - output: { finalUrl, status, contentType, bodyText|null, bytesB64|null, fetchedAt } ## web.read (alias: web_read) - input: { url: string, html?: string } - output: { title, byline, lang, text, wordCount, links[], meta } ## doc.find (alias: doc_find) - input: { q: string, top?: number, limit?: number } - output: { path, score, snippet }[] ## doc.read (alias: doc_read) - input: { path: string } - output: { path, text } ## index.build (alias: index_build) - input: { root?: string } - output: { ok: true, indexed: number } ## sch.search (alias: sch_search) - input: { q: string, top?: number, limit?: number } - output: mixed array of arXiv/Crossref/Wikipedia records ## sch.get (alias: sch_get) - input: { doi?: string, arxivId?: string, url?: string } - output: metadata record ## wiki.search (alias: wiki_search) - input: { q: string, lang?: string } - output: { title, url, snippet, source: 'wikipedia' }[] ## wiki.get (alias: wiki_get) - input: { title: string, lang?: string } - output: { title, url, abstract, source: 'wikipedia', updatedAt }

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