Skip to main content
Glama
Johnhyeon

StockLens

by Johnhyeon

export_us_to_excel

Export long-term US stock data to Excel files without row limits. Ideal for backtesting and analysis with unlimited historical data.

Instructions

US Excel export — 미국 주식 장기 데이터를 Excel 파일로 저장 (토큰 소비 없음). "AAPL 10년치 CSV 저장", "TSLA 5년 일봉 엑셀", "S&P 장기 데이터 파일로" 같은 질문에 사용합니다.

get_us_chart는 기본 500행 상한이라 10년치 장기 데이터 조회 시 잘립니다. 백테스트·CSV 분석·다른 AI 업로드용이면 이 도구로 파일에 저장하세요. 행 수 무제한.

저장 위치: ~/Downloads/kstock/ (Windows: %USERPROFILE%\Downloads\kstock\)

Args: ticker: US 티커 (예: "AAPL", "SPY", "BRK.B") period: "1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max" (기본 10y) interval: "1d","1wk","1mo" (기본 1d). 분봉은 기간 짧아서 파일 저장 의미 약함 filename: 파일명 (비우면 자동)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes
periodNo10y
intervalNo1d
filenameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses storage location, no row limit, and default parameters. However, it does not mention overwrite behavior, directory creation, or error handling.

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?

Description is efficient with examples and argument list, but includes some extraneous Korean phrases and emojis. Structure is clear enough but could be more streamlined.

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?

Given output schema exists, description covers purpose, usage, and parameters well. Lacks details on output format or error cases, but overall adequate for a file export tool.

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

Parameters5/5

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

Schema coverage is 0%, so description compensates fully. It lists all 4 arguments with examples, valid values for period and interval, and explains filename auto-generation. This adds essential meaning beyond the schema.

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?

The description clearly states the tool exports US stock data to Excel, using specific verb 'export' and resource 'US stock long-term data'. It distinguishes from sibling get_us_chart by mentioning row limit, and provides example queries.

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 explicitly recommends using this tool for backtesting, CSV analysis, or uploading to other AI due to no row limit, contrasting with get_us_chart's 500-row cap. This provides clear when-to-use guidance.

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/Johnhyeon/stocklens-mcp'

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