Skip to main content
Glama

google_finance

Destructive

当用户需要查询 Google Finance 股票、指数、基金、市场行情、金融资产或证券相关搜索结果时触发。

Input Schema

NameRequiredDescriptionDefault
qYes该参数定义您想要搜索的查询内容。可以是股票、指数、共同基金、货币或期货。调用方必须提供非空值,不使用默认值。
hlNo该参数定义 Google 职位搜索要使用的语言。它是一个两位数的语言代码,例如 en 代表英语,es 代表西班牙语,fr 代表法语。
jsonNo该参数定义采集结果的输出格式。可选择 JSON、HTML(支持下载)格式,默认为 JSON;1 返回 JSON,2 返回 JSON+HTML,3 返回 HTML,4 返回 Light JSON。1
windowNo该参数用于设置图表的时间范围。可设置为 1D - 1 天(默认),5D - 5 天,1M - 1 个月,6M - 6 个月,YTD - 年初至今,1Y - 1 年,5Y - 5 年,MAX - 最大值。1D
no_cacheNo默认情况下,5 分钟内缓存相同参数的搜索结果。将 no_cache 设为 true 可跳过缓存,设为 false(默认)则使用缓存结果。缓存搜索免费,且不计入搜索统计。false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior1/5

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

The description implies a read-only retrieval of search results ('查询...搜索结果'), while the annotations declare readOnlyHint=false and destructiveHint=true. That is a direct conflict in the safety profile an agent would act on. Even setting the conflict aside, the description adds no behavioral context (caching, billing, rate limits, output shape) beyond what the schema already states.

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

Conciseness4/5

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

A single front-loaded sentence with no padding. It is appropriately terse for a search-scraper tool, though it errs toward under-specification rather than rich structure.

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?

With 100% schema coverage and no output schema, the description's main remaining job is to convey what comes back (scraped Google Finance data, format governed by the json parameter) and how it differs from sibling search tools. It covers only the trigger, leaving return semantics and sibling routing to inference.

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 100%, so the schema already documents all five parameters (q, hl, json, window, no_cache) in detail. The description adds nothing beyond the domain keywords, so the 3 baseline for schema-covered parameters applies.

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 names a specific domain and resource set (Google Finance stocks, indices, funds, market quotes, financial assets, securities), so an agent can tell it apart from generic siblings like google_search or google_news. It is framed as a trigger condition rather than an action statement, but the verb+resource ('查询 ... 搜索结果') is still recoverable.

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

Usage Guidelines3/5

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

It gives an explicit trigger ('当用户需要查询...时触发'), which is real usage context, but offers no exclusions or alternatives — nothing tells the agent when google_search, google_news, or a product scraper would be a better pick. Usage is implied by the finance keyword list alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources