Skip to main content
Glama
node-status.js648 B
import logger from "../core/logger.js"; import { presearchService } from "../services/presearchService.js"; export const nodeStatusTool = { name: "presearch_node_status", description: "Check the status of a Presearch node", inputSchema: { type: "object", properties: { node_key: { type: "string", description: "Public key of the node" }, }, required: ["node_key"], }, execute: async (args) => { const status = await presearchService.getNodeStatus(args.node_key); return { content: [ { type: "text", text: JSON.stringify(status, null, 2), }, ], }; }, };

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/NosytLabs/presearch-search-api-mcp'

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