Skip to main content
Glama
ClawyPro

Clawy MCP Server

by ClawyPro

tmap_poi

Search for Korean points of interest using TMap to find specific locations with Korean address details. Supports keyword searches and geographic coordinates.

Instructions

Search Korean points of interest via TMap. Good for finding specific locations with Korean address details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchKeywordYesSearch keyword (Korean supported)
centerLonNoCenter longitude for search
centerLatNoCenter latitude for search
pageNoPage number (default 1)
countNoResults per page (default 20)

Implementation Reference

  • Registration of the 'tmap_poi' tool including its description, input schema, and associated API endpoint.
    {
      name: "tmap_poi",
      description: "Search Korean points of interest via TMap. Good for finding specific locations with Korean address details.",
      inputSchema: z.object({
        searchKeyword: z.string().describe("Search keyword (Korean supported)"),
        centerLon: z.string().optional().describe("Center longitude for search"),
        centerLat: z.string().optional().describe("Center latitude for search"),
        page: z.number().optional().describe("Page number (default 1)"),
        count: z.number().optional().describe("Results per page (default 20)"),
      }),
      endpoint: "/v1/tmap/poi",
    },
  • The handler logic for all MCP tools, including 'tmap_poi', which dynamically executes the tool by calling the configured gateway endpoint.
    // Register all tools
    for (const tool of allTools) {
      server.tool(
        tool.name,
        tool.description,
        tool.inputSchema.shape,
        async (params) => {
          const method = tool.method || "POST";
          const result = await gatewayRequest(method, tool.endpoint, params as Record<string, unknown>);
    
          if (result.error) {
            return {
              content: [{ type: "text" as const, text: `Error (${result.status}): ${result.error}` }],
              isError: true,
            };
          }
    
          const text = typeof result.data === "string"
            ? result.data
            : JSON.stringify(result.data, null, 2);
    
          return {
            content: [{ type: "text" as const, text }],
          };
        },
      );
    }

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/ClawyPro/clawy-mcp-server'

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