Skip to main content
Glama

search_place

Find specific business or location details by searching with a place name and geographic location.

Instructions

Search place details in a given location

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
placeYesName of place to search. Ex: The Lane Salon
locationYesPlace location. Ex: San Francisco, CA

Implementation Reference

  • Executes the search_place tool: extracts 'place' and 'location' from arguments, POSTs to Voyp API /places/place/search endpoint, returns JSON response or formatted error.
    } else if (request.params.name === "search_place") {
    
        // if (!isValidForecastArgs(request.params.arguments)) {
        //     throw new McpError(
        //         ErrorCode.InvalidParams,
        //         "Invalid forecast arguments"
        //     );
        // }
    
        const place = request.params.arguments?.place;
        const location = request.params.arguments?.location;
    
        try {
            const response = await this.axiosInstance.post<StartCallResponse>(API_CONFIG.ENDPOINTS.PLACE, {
                place,
                location
            });
    
            return {
                content: [{
                    type: "text",
                    text: JSON.stringify(response.data)
                }]
            };
        } catch (error) {
            if (axios.isAxiosError(error)) {
                return {
                    content: [{
                        type: "text",
                        text: `Voyp API error: ${error.response?.data.message ?? error.message}`
                    }],
                    isError: true,
                }
            }
            throw error;
        }
  • Input schema definition for search_place tool in the tools list response, specifying required 'place' and 'location' string parameters.
    {
        name: "search_place",
        description: "Search place details in a given location",
        inputSchema: {
            type: "object",
            properties: {
                place: {
                    type: "string",
                    description: "Name of place to search. Ex: The Lane Salon"
                },
                location: {
                    type: "string",
                    description: "Place location. Ex: San Francisco, CA"
                }
            },
            required: ["place", "location"]
        }
    },

Tool Definition Quality

Score is being calculated. Check back soon.

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/paulotaylor/voyp-mcp'

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