Skip to main content
Glama

google_finance

Read-onlyIdempotent

输入关键词,拿到 Google Finance 的股票、指数、基金、市场行情、金融资产与证券相关搜索结果

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "json": "<json>",
      "q": "<q>"
    },
    "name": "google_finance"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • removedInput schema / properties / hl / default
      Removed value: -""
    • changedInput schema / properties / hl / description
      Previous value: -"该参数定义 Google 职位搜索要使用的语言。它是一个两位数的语言代码,例如 en 代表英语,es 代表西班牙语,fr 代表法语。"New value: +"语言代码:该参数定义 Google 财经搜索要使用的语言。它是一个两位数的语言代码。(例如,【en】 代表英语,【es】 代表西班牙语,【fr】 代表法语)。"
    • addedInput schema / properties / hl / enum
      Added value: +[
      +  "af",
      +  "ak",
      +  "ws",
      +  "am",
      +  "ar",
      +  "hy",
      +  "az",
      +  "ceb",
      +  "eu",
      +  "be",
      +  "bem",
      +  "bn",
      +  "bh",
      +  "xx-bork",
      +  "bs",
      +  "br",
      +  "bg",
      +  "bt",
      +  "km",
      +  "ca",
      +  "chr",
      +  "ny",
      +  "zh-cn",
      +  "zh-tw",
      +  "co",
      +  "hr",
      +  "cs",
      +  "da",
      +  "nl",
      +  "xx-elmer",
      +  "en",
      +  "eo",
      +  "et",
      +  "ee",
      +  "fo",
      +  "tl",
      +  "fi",
      +  "fr",
      +  "fy",
      +  "gaa",
      +  "gl",
      +  "ka",
      +  "de",
      +  "el",
      +  "kl",
      +  "gn",
      +  "gu",
      +  "xx-hacker",
      +  "ht",
      +  "ha",
      +  "haw",
      +  "iw",
      +  "he",
      +  "hi",
      +  "hu",
      +  "is",
      +  "ig",
      +  "id",
      +  "ia",
      +  "ga",
      +  "it",
      +  "ja",
      +  "jw",
      +  "kn",
      +  "kk",
      +  "rw",
      +  "rn",
      +  "xx-klingon",
      +  "kg",
      +  "ko",
      +  "kri",
      +  "ku",
      +  "ckb",
      +  "ky",
      +  "lo",
      +  "la",
      +  "lv",
      +  "ln",
      +  "lt",
      +  "loz",
      +  "lg",
      +  "ach",
      +  "mk",
      +  "mg",
      +  "ms",
      +  "ml",
      +  "mt",
      +  "mv",
      +  "mi",
      +  "mr",
      +  "mfe",
      +  "mo",
      +  "mn",
      +  "sr-me",
      +  "my",
      +  "ne",
      +  "pcm",
      +  "nso",
      +  "no",
      +  "nn",
      +  "oc",
      +  "or",
      +  "om",
      +  "ps",
      +  "fa",
      +  "xx-pirate",
      +  "pl",
      +  "pt",
      +  "pt-br",
      +  "pt-pt",
      +  "pa",
      +  "qu",
      +  "ro",
      +  "rm",
      +  "nyn",
      +  "ru",
      +  "gd",
      +  "sr",
      +  "sh",
      +  "st",
      +  "tn",
      +  "crs",
      +  "sn",
      +  "sd",
      +  "si",
      +  "sk",
      +  "sl",
      +  "so",
      +  "es",
      +  "es-419",
      +  "su",
      +  "sw",
      +  "sv",
      +  "tg",
      +  "ta",
      +  "tt",
      +  "te",
      +  "th",
      +  "ti",
      +  "to",
      +  "lua",
      +  "tum",
      +  "tr",
      +  "tk",
      +  "tw",
      +  "ug",
      +  "uk",
      +  "ur",
      +  "uz",
      +  "vu",
      +  "vi",
      +  "cy",
      +  "wo",
      +  "xh",
      +  "yi",
      +  "yo",
      +  "zu"
      +]
    • addedInput schema / properties / hl / enumNames
      Added value: +[
      +  "南非荷兰语-af",
      +  "阿坎语-ak",
      +  "萨摩亚-ws",
      +  "阿姆哈拉语-am",
      +  "阿拉伯语-ar",
      +  "亚美尼亚语-hy",
      +  "阿塞拜疆语-az",
      +  "宿务语-ceb",
      +  "巴斯克语-eu",
      +  "白俄罗斯语-be",
      +  "本巴语-bem",
      +  "孟加拉语-bn",
      +  "比哈里语-bh",
      +  "博克语(瑞典厨师)-xx-bork",
      +  "波斯尼亚语-bs",
      +  "布列塔尼语-br",
      +  "保加利亚语-bg",
      +  "不丹语-bt",
      +  "高棉语-km",
      +  "加泰罗尼亚语-ca",
      +  "切罗基语-chr",
      +  "齐切瓦语-ny",
      +  "中文(简体)-zh-cn",
      +  "中文(繁体)-zh-tw",
      +  "科西嘉语-co",
      +  "克罗地亚语-hr",
      +  "捷克语-cs",
      +  "丹麦语-da",
      +  "荷兰语-nl",
      +  "埃尔默·福德语-xx-elmer",
      +  "英语-en",
      +  "世界语-eo",
      +  "爱沙尼亚语-et",
      +  "埃维语-ee",
      +  "法罗语-fo",
      +  "菲律宾语-tl",
      +  "芬兰语-fi",
      +  "法语-fr",
      +  "弗里西语-fy",
      +  "加语-gaa",
      +  "加利西亚语-gl",
      +  "格鲁吉亚语-ka",
      +  "德语-de",
      +  "希腊语-el",
      +  "格陵兰语-kl",
      +  "瓜拉尼语-gn",
      +  "古吉拉特语-gu",
      +  "黑客语-xx-hacker",
      +  "海地克里奥尔语-ht",
      +  "豪萨语-ha",
      +  "夏威夷语-haw",
      +  "希伯来语-iw",
      +  "希伯来语-he",
      +  "印地语-hi",
      +  "匈牙利语-hu",
      +  "冰岛语-is",
      +  "伊博语-ig",
      +  "印度尼西亚语-id",
      +  "国际语-ia",
      +  "爱尔兰语-ga",
      +  "意大利语-it",
      +  "日语-ja",
      +  "爪哇语-jw",
      +  "卡纳达语-kn",
      +  "哈萨克语-kk",
      +  "卢旺达语-rw",
      +  "基隆迪语-rn",
      +  "克林贡语-xx-klingon",
      +  "刚果语-kg",
      +  "韩语-ko",
      +  "克里奥尔语(塞拉利昂)-kri",
      +  "库尔德语-ku",
      +  "库尔德语(索拉尼)-ckb",
      +  "吉尔吉斯语-ky",
      +  "老挝语-lo",
      +  "拉丁语-la",
      +  "拉脱维亚语-lv",
      +  "林加拉语-ln",
      +  "立陶宛语-lt",
      +  "洛齐语-loz",
      +  "卢干达语-lg",
      +  "卢奥语-ach",
      +  "马其顿语-mk",
      +  "马尔加什语-mg",
      +  "马来语-ms",
      +  "马拉雅拉姆语-ml",
      +  "马耳他语-mt",
      +  "马尔代夫-mv",
      +  "毛利语-mi",
      +  "马拉地语-mr",
      +  "毛里求斯克里奥尔语-mfe",
      +  "摩尔多瓦语-mo",
      +  "蒙古语-mn",
      +  "黑山语-sr-me",
      +  "缅甸-my",
      +  "尼泊尔语-ne",
      +  "尼日利亚皮钦语-pcm",
      +  "北索托语-nso",
      +  "挪威语-no",
      +  "挪威语(新挪威语)-nn",
      +  "奥克语-oc",
      +  "奥里亚语-or",
      +  "奥罗莫语-om",
      +  "普什图语-ps",
      +  "波斯语-fa",
      +  "海盗语-xx-pirate",
      +  "波兰语-pl",
      +  "葡萄牙语-pt",
      +  "葡萄牙语(巴西)-pt-br",
      +  "葡萄牙语(葡萄牙)-pt-pt",
      +  "旁遮普语-pa",
      +  "克丘亚语-qu",
      +  "罗马尼亚语-ro",
      +  "罗曼什语-rm",
      +  "卢尼亚基塔拉语-nyn",
      +  "俄语-ru",
      +  "苏格兰盖尔语-gd",
      +  "塞尔维亚语-sr",
      +  "塞尔维亚-克罗地亚语-sh",
      +  "塞索托语-st",
      +  "茨瓦纳语-tn",
      +  "塞舌尔克里奥尔语-crs",
      +  "绍纳语-sn",
      +  "信德语-sd",
      +  "僧伽罗语-si",
      +  "斯洛伐克语-sk",
      +  "斯洛文尼亚语-sl",
      +  "索马里语-so",
      +  "西班牙语-es",
      +  "西班牙语(拉丁美洲)-es-419",
      +  "巽他语-su",
      +  "斯瓦希里语-sw",
      +  "瑞典语-sv",
      +  "塔吉克语-tg",
      +  "泰米尔语-ta",
      +  "鞑靼语-tt",
      +  "泰卢固语-te",
      +  "泰语-th",
      +  "提格利尼亚语-ti",
      +  "汤加-to",
      +  "卢巴语-lua",
      +  "通布卡语-tum",
      +  "土耳其语-tr",
      +  "土库曼语-tk",
      +  "契维语-tw",
      +  "维吾尔语-ug",
      +  "乌克兰语-uk",
      +  "乌尔都语-ur",
      +  "乌兹别克语-uz",
      +  "瓦努阿图-vu",
      +  "越南语-vi",
      +  "威尔士语-cy",
      +  "沃洛夫语-wo",
      +  "科萨语-xh",
      +  "意第绪语-yi",
      +  "约鲁巴语-yo",
      +  "祖鲁语-zu"
      +]
    • removedInput schema / properties / json / default
      Removed value: -"1"
    • changedInput schema / properties / json / description
      Previous value: -"该参数定义采集结果的输出格式。可选择 JSON、HTML(支持下载)格式,默认为 JSON;1 返回 JSON,2 返回 JSON+HTML,3 返回 HTML,4 返回 Light JSON。"New value: +"输出格式:该参数定义了采集结果的输出格式。可选择【JSON】、【HTML】(支持下载)格式,默认为【JSON】。【json】=【1】返回【JSON】格式数据,【json】=【2】返回【JSON】+【HTML】格式数据,【json】=【3】返回【HTML】格式数据;可选值:JSON(1)、JSON+HTML(2)、HTML(3)"
    • addedInput schema / properties / json / enum
      Added value: +[
      +  "1",
      +  "2",
      +  "3"
      +]
    • addedInput schema / properties / json / enumNames
      Added value: +[
      +  "JSON",
      +  "JSON+HTML",
      +  "HTML"
      +]
    • removedInput schema / properties / no_cache / default
      Removed value: -"false"
    • changedInput schema / properties / no_cache / description
      Previous value: -"默认情况下,5 分钟内缓存相同参数的搜索结果。将 no_cache 设为 true 可跳过缓存,设为 false(默认)则使用缓存结果。缓存搜索免费,且不计入搜索统计。"New value: +"禁用缓存:默认情况下,【5】分钟内缓存相同参数的搜索结果。将【no_cache】设为【true】可跳过缓存,设为【false】(默认)则使用缓存结果。缓存搜索免费,且不计入您的搜索统计;可选值:开启(true)、关闭(false)"
    • addedInput schema / properties / no_cache / enum
      Added value: +[
      +  "true",
      +  "false"
      +]
    • addedInput schema / properties / no_cache / enumNames
      Added value: +[
      +  "开启",
      +  "关闭"
      +]
    • changedInput schema / properties / q / description
      Previous value: -"该参数定义您想要搜索的查询内容。可以是股票、指数、共同基金、货币或期货。调用方必须提供非空值,不使用默认值。"New value: +"搜索查询:该参数定义您想要搜索的查询内容。可以是股票、指数、共同基金、货币或期货。"
    • removedInput schema / properties / q / minLength
      Removed value: -1
    • changedInput schema / properties / window / description
      Previous value: -"该参数用于设置图表的时间范围。可设置为 1D - 1 天(默认),5D - 5 天,1M - 1 个月,6M - 6 个月,YTD - 年初至今,1Y - 1 年,5Y - 5 年,MAX - 最大值。"New value: +"时间范围:该参数用于设置图表的时间范围。可设置为:【1D】 - 【1】天(默认),【5D】 - 【5】天,【1M】 - 【1】个月,【6M】 - 【6】个月,【YTD】 - 年初至今,【1Y】 - 【1】年,【5Y】 - 【5】年,【MAX】 - 最大值;可选值:1天(1D)、5天(5D)、1个月(1M)、6个月(6M)、年初至今(YTD)、1年(1Y)、5年(5Y)、最大(MAX)"
    • addedInput schema / properties / window / enum
      Added value: +[
      +  "1D",
      +  "5D",
      +  "1M",
      +  "6M",
      +  "YTD",
      +  "1Y",
      +  "5Y",
      +  "MAX"
      +]
    • addedInput schema / properties / window / enumNames
      Added value: +[
      +  "1天",
      +  "5天",
      +  "1个月",
      +  "6个月",
      +  "年初至今",
      +  "1年",
      +  "5年",
      +  "最大"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "q"
      -]New value: +[
      +  "json",
      +  "q"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds that the tool spans several asset classes (股票、指数、基金、行情), but it says nothing about the caching behavior tied to no_cache, the effect of window on chart data, or what comes back in each output format.

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 filler or repetition. It is efficient, though the terseness leaves it closer to under-specified than to richly concise.

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 5 parameters, four of them enums, and no output schema, the description should say more about what the results contain (quotes, chart series over window, HTML output). Annotations and the schema cover safety and parameters, but the return-side behavior and the guidance on when to use this tool are thin for a search tool of this breadth.

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% with detailed enum labels for hl, json, window, and no_cache, so the schema carries parameter meaning. The description only covers the q concept ('输入关键词') and adds nothing about language, time range, output format, or cache bypass, which is the correct baseline of 3.

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 gives a specific verb ('输入关键词,拿到…搜索结果') and a specific resource domain (Google Finance 股票、指数、基金、市场行情、金融资产与证券), which clearly separates it from general siblings like google_search or google_shopping. It stops short of naming an alternative, but the finance scope alone is identifiable.

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

Usage Guidelines2/5

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

It only describes the mechanical act of entering keywords and getting results. There is no when-to-use guidance, no statement of when not to use it (for example, versus google_search or google_news), and no mention of which parameters to reach for.

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