Skip to main content
Glama

clearGeoCache

Remove stored geolocation data from the cache to ensure accurate location updates and optimize system performance.

Instructions

Clear the geolocation cache

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the clearGeoCache tool. It calls geoCache.clear() to clear the geolocation cache and returns a confirmation message.
    handler: async () => { geoCache.clear(); return { content: [{ type: 'text', text: JSON.stringify({ message: 'Geolocation cache cleared' }, null, 2) }] }; }
  • Input schema for the clearGeoCache tool, which requires no parameters.
    inputSchema: { type: 'object', properties: {} },
  • src/index.ts:27-33 (registration)
    Spreads geoTools (which includes clearGeoCache) into the allTools object, which serves as the central registry for all MCP tools used in listing and execution handlers.
    const allTools: ToolKit = { ...encodingTools, ...geoTools, ...generatorTools, ...dateTimeTools, ...securityTools };

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/MissionSquad/mcp-helper-tools'

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