Skip to main content
Glama

search_sounds

Search myinstants.com for meme sounds and sound effects to play through your speakers, enhancing interactions with reactive audio.

Instructions

Search myinstants.com for sound buttons.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query

Implementation Reference

  • The handler function for the 'search_sounds' tool, which takes a query, calls the 'search' helper, and returns the formatted text results.
    async ({ query }) => {
      const results = await search(query);
      if (!results.length) return { content: [{ type: "text", text: `No sounds found for "${query}"` }] };
      return { content: [{ type: "text", text: results.slice(0, 20).map((r, i) => `${i + 1}. ${r.name} → \`${r.slug}\``).join("\n") }] };
    }
  • server.js:309-318 (registration)
    Tool registration for 'search_sounds' using the MCP server instance.
    server.tool(
      "search_sounds",
      "Search myinstants.com for sound buttons.",
      { query: z.string().describe("Search query") },
      async ({ query }) => {
        const results = await search(query);
        if (!results.length) return { content: [{ type: "text", text: `No sounds found for "${query}"` }] };
        return { content: [{ type: "text", text: results.slice(0, 20).map((r, i) => `${i + 1}. ${r.name} → \`${r.slug}\``).join("\n") }] };
      }
    );
  • The 'search' helper function that performs the web request to search for sounds.
    async function search(query) {
      return parseResults(await httpGet(`${BASE}/en/search/?name=${encodeURIComponent(query)}`));
    }
Install Server

Other 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/austenstone/myinstants-mcp'

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