Skip to main content
Glama
sorodriguezz

IRIS ObjectScript MCP Server

by sorodriguezz

search_objectscript

Find ObjectScript documentation and code examples from the local cache to help developers implement solutions quickly.

Instructions

Search for ObjectScript documentation and examples (solo en caché local)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesSearch query

Implementation Reference

  • Handler logic for the search_objectscript tool: extracts the query parameter, validates it, calls searchInCache, and returns formatted text results.
    case "search_objectscript": { const query = args?.q as string; if (!query) { throw new Error("Query is required"); } const results = await searchInCache(query); return { content: [ { type: "text", text: `Resultados de búsqueda para "${query}":\n\n${results}`, }, ], }; }
  • Tool definition including name, description, and input schema (JSON Schema) for the search_objectscript tool.
    export const SEARCH_OBJECTSCRIPT: Tool = { name: "search_objectscript", description: "Search for ObjectScript documentation and examples (solo en caché local)", inputSchema: { type: "object", properties: { q: { type: "string", description: "Search query", minLength: 2, }, }, required: ["q"], }, };
  • Registers the SEARCH_OBJECTSCRIPT tool in the coreTools function that returns the list of available tools.
    export const coreTools = async () => { return { tools: [SMART_SEARCH, SEARCH_OBJECTSCRIPT, OPEN_BY_KEY, OPEN_CLASS], }; };

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/sorodriguezz/iris-mcp'

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