Skip to main content
Glama
JingHao-Leon

mcp-stock-quote

by JingHao-Leon

get_current_weather

Get current weather for any city, including temperature, humidity, conditions, and wind speed, using Open-Meteo without an API key.

Instructions

查询指定城市的当前天气(温度、湿度、天气现象、风速),数据源 Open-Meteo,无需 API key。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityYes城市名,中英文均可,如 "北京"、"Shanghai"、"Tokyo"
Install Server

TDQS

A4/5.0
Behavior3/5

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

无注解信息,描述自行说明了数据源为 Open-Meteo 且无需 API key,填补了认证和来源信息。但未说明城市不存在时的行为、数据时效性、异常处理或响应格式,行为披露仍不完整。

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?

单句描述,信息密度高,先说明核心功能,再列返回要素、数据源和鉴权要求,没有冗余内容。

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

Completeness4/5

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

对于只有一个参数且无输出 schema 的简单查询工具,描述已覆盖返回内容、数据源和鉴权要求,足以让代理理解如何调用。缺少输出结构示例和失败语义,但尚不构成严重缺口。

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 覆盖率为 100%,city 参数的中英文示例和最小长度已足够。描述未额外补充参数格式或约束,因此维持基线 3。

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

Purpose5/5

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

描述明确使用动词“查询”和资源“指定城市的当前天气”,并列出返回的具体要素(温度、湿度、天气现象、风速),与股票、RSS、文件字数等兄弟工具完全区分。

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

Usage Guidelines4/5

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

描述清楚说明该工具用于获取指定城市的实时天气,使用场景明确;同列兄弟工具均属其他领域,无需额外排除说明。但未显式提及“需要天气信息时使用”或何时不使用。

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

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/JingHao-Leon/mcp-server-template'

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