Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TAVILY_API_KEYNoOptional API key for Tavily
FLOW_LLM_API_KEYYesAPI key for FlowLLM
DASHSCOPE_API_KEYNoOptional API key for Dashscope
FLOW_LLM_BASE_URLNoBase URL for FlowLLM APIhttps://dashscope.aliyuncs.com/compatible-mode/v1
TUSHARE_API_TOKENNoOptional API token for Tushare
BAILIAN_MCP_API_KEYNoOptional API key for Bailian MCP

Tools

Functions exposed to the LLM to take actions

NameDescription
history_calculate

对于给定的A股股票代码(其他市场的股票请不要使用此工具),有现成的历史股价数据,其数据结构如下:

名称 类型 描述 ts_code str 股票代码 trade_date str 交易日期 open float 开盘价 high float 最高价 low float 最低价 close float 收盘价 pre_close float 昨收价 change float 涨跌额 pct_chg float 涨跌幅 vol float 成交量 (手) amount float 成交额 (千元)

你需要输入你想分析的股票代码以及你的问题。该工具将为你生成并执行相应的代码,并返回结果。 注意:

  1. 你无需编写任何代码——只需直接提问即可,例如:“过去一周涨了多少,有没有出现顶背离?”、“近期市场趋势如何?”、“MACD是否形成了金叉?”。

  2. 该工具只能基于上述数据结构中的数据回答问题,请勿提出需要超出该数据范围信息的问题。

crawl_url

Web content parsing tool: retrieves and formats web page content based on the provided URL.

extract_entities_code

Extract financial entities from the query, including types such as "stock", "bond", "fund", "cryptocurrency", "index", "commodity", "etf", etc. For entities like stocks or ETF funds, search for their corresponding codes. Finally, return the financial entities appearing in the query, including their types and codes.

execute_code

Execute python code can be used in scenarios such as analysis or calculation, and the final result can be printed using the print function.

execute_shell

A tool capable of executing shell commands can use pwd to check the current location, cd to navigate to a new directory, ls to view the contents of a directory, and execute scripts. Note that the starting directory is always the same each time the tool is invoked. If you need to perform multiple operations within a specific directory, you must include the full path in each command, for example: cd aa/bb && bash xxx.

dashscope_search

Use search keywords to retrieve relevant information from the internet. If you have multiple keywords, please call this tool separately for each one.

tavily_search

Use search keywords to retrieve relevant information from the internet.

mock_search

Use search keywords to retrieve relevant information from the internet. If you have multiple keywords, please call this tool separately for each one.

react_agent

A React agent that answers user queries.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/FlowLLM-AI/finance-mcp'

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