Skip to main content
Glama
moma1992

Yaizu Smart City MCP Server

by moma1992

execute_api_endpoint

Execute API calls to Yaizu City's smart city services by specifying endpoints, HTTP methods, and parameters for data retrieval and interaction.

Instructions

【非推奨】汎用エンドポイント実行ツール(互換性のために保持) 新しいコードでは execute_yaizu_api() を使用してください。

Args: endpoint_url: APIエンドポイントのURL method: HTTPメソッド(GET, POST, PUT, DELETE) params: クエリパラメータまたはJSONボディ(JSON文字列形式)

Returns: str: APIレスポンス

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpoint_urlYes
methodNoGET
paramsNo

Implementation Reference

  • The handler function for 'execute_api_endpoint' tool, registered with @mcp.tool() decorator. It is marked as deprecated and redirects to 'execute_yaizu_api'. The function signature defines the input schema (endpoint_url: str, method: str='GET', params: Optional[str]=None).
    @mcp.tool() async def execute_api_endpoint(endpoint_url: str, method: str = "GET", params: Optional[str] = None) -> str: """ 【非推奨】汎用エンドポイント実行ツール(互換性のために保持) 新しいコードでは execute_yaizu_api() を使用してください。 Args: endpoint_url: APIエンドポイントのURL method: HTTPメソッド(GET, POST, PUT, DELETE) params: クエリパラメータまたはJSONボディ(JSON文字列形式) Returns: str: APIレスポンス """ return "⚠️ この機能は非推奨です。\n\n焼津市APIを使用する場合は、`execute_yaizu_api()` 関数を使用してください。\n\n例:\n```\nexecute_yaizu_api(\"Aed\", limit=10)\n```\n\nコマンド生成には `generate_api_command()` を使用してください。"

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/moma1992/smartcity-mcp'

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