Skip to main content
Glama
Johnhyeon

StockLens

by Johnhyeon

get_sector_stocks

Retrieves stock list for a given sector name with partial match support. Specify sector and optional limit.

Instructions

업종종목 — 특정 업종에 속한 종목 리스트를 가져옵니다. "통신장비 업종 종목", "반도체 업종", "제약 섹터 종목" 같은 질문에 사용합니다. 업종명 부분 매칭을 지원합니다.

Args: sector_name: 업종명 (예: "통신장비", "반도체", "제약") count: 반환할 최대 종목 수 (기본 30)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sector_nameYes
countNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The tool is a simple read operation, and the description implies no side effects. However, with no annotations provided, the description could more explicitly state that it is read-only and disclose any limits on count or behavior for unknown sectors.

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?

The description is concise and front-loaded with the purpose. It includes both a summary and parameter documentation. The bilingual nature slightly reduces conciseness but is still clear.

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 that an output schema exists, the description adequately covers the input parameters and basic behavior. It could mention the output format or error handling, but for a simple list retrieval tool, this is sufficient.

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

Parameters4/5

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

The Args section adds meaningful descriptions for both parameters: sector_name is explained with examples, and count has a default value and purpose. This compensates for the 0% schema description coverage.

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 clearly states the function: fetching a list of stocks for a specific sector. It provides example queries and mentions partial matching, distinguishing it from sibling tools like list_sectors or get_theme_stocks.

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?

The description gives examples of when to use the tool (sector-related questions) and mentions partial matching support. However, it does not explicitly contrast with similar tools like get_theme_stocks or provide guidance on when not to use it.

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