Skip to main content
Glama

find_trips

Search and discover custom 'trips' for web data extraction and research using the LSD MCP Server by entering a specific query.

Input Schema

NameRequiredDescriptionDefault
queryYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "query": { "type": "string" } }, "required": [ "query" ], "type": "object" }

Implementation Reference

  • The findTrips function implements the core tool logic: searches for relevant LSD trips using a query, registers dynamic tools from results, and returns the trips.
    export const findTrips = async (server: McpServer, query: string) => { const result = await runLSD(`SEARCH "${query.replaceAll("\"", "'")}"`); registerTools(server, result.map(toToolDefinition)); return result; };
  • src/trips.ts:38-48 (registration)
    Registers the 'find_trips' tool on the server, including input schema { query: z.string() } and a handler that invokes findTrips to execute the logic.
    server.tool("find_trips", { query: z.string() }, async ({ query }) => { const result = await findTrips(server, query); return { content: [ { type: "text", text: JSON.stringify(result), }, ], }; });
  • src/index.ts:16-16 (registration)
    Invokes applyTripsTool, which registers the 'find_trips' tool.
    applyTripsTool(server);

Other Tools

Related Tools

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/lsd-so/internetdata-mcp'

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