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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It mentions the tool is deprecated but doesn't disclose critical behavioral traits like authentication requirements, error handling, rate limits, or whether it performs destructive operations (e.g., DELETE method). The description only covers basic input/output, leaving significant gaps for a generic API tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with the deprecation warning, followed by clear sections for Args and Returns. Every sentence adds value: the deprecation notice, the alternative recommendation, and parameter explanations. No wasted words, making it efficient for an agent to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (generic API execution with 3 parameters), no annotations, and an output schema exists (specifying str return), the description is partially complete. It covers purpose, usage guidelines, and basic parameter semantics but lacks behavioral context (e.g., auth, errors) and detailed parameter guidance, making it adequate but with clear gaps for safe and effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds meaning by explaining 'endpoint_url' as the API endpoint URL, 'method' as HTTP methods with examples, and 'params' as query parameters or JSON body in string form. However, it doesn't clarify format details (e.g., URL encoding, JSON structure) or constraints, partially compensating but not fully bridging the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states this is a 'generic endpoint execution tool' that makes API calls, specifying it takes an endpoint URL, HTTP method, and parameters. It distinguishes itself from siblings by mentioning 'execute_yaizu_api()' as the recommended alternative for new code. However, it doesn't specify what type of API it interacts with (e.g., REST, internal), making it slightly less specific than a perfect 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance: it's deprecated and should not be used for new code, with 'execute_yaizu_api()' named as the alternative. It also implies usage context by stating it's kept for compatibility, helping the agent understand when to avoid this tool versus when it might be necessary for legacy systems.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

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