Skip to main content
Glama

get-search-history

Retrieve your search history from note.com to review past queries and track your research patterns.

Instructions

検索履歴を取得する

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that executes the tool logic: fetches search history from the `/v2/search_histories` API endpoint using noteApiRequest, formats the response, or handles errors.
    async () => { try { const data = await noteApiRequest(`/v2/search_histories`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "検索履歴取得"); } }
  • Registration of the 'get-search-history' tool on the MCP server, specifying the tool name, Japanese description, empty input schema (no parameters), and inline handler.
    server.tool( "get-search-history", "検索履歴を取得する", {}, async () => { try { const data = await noteApiRequest(`/v2/search_histories`, "GET"); return createSuccessResponse(data.data || data); } catch (error) { return handleApiError(error, "検索履歴取得"); } } );
  • Invocation of registerUserTools which includes the registration of get-search-history among other user tools.
    registerUserTools(server);

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/shimayuz/note-com-mcp'

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