Skip to main content
Glama
sverze

Stock Market MCP Server

by sverze

get_basic_financials

Retrieve key financial metrics for any stock symbol, including P/E ratio, market cap, and more, to evaluate company fundamentals quickly.

Instructions

Get basic financial information for a company.

Args:
    symbol: The stock symbol to look up (e.g., AAPL for Apple Inc.)

Returns:
    str: Basic financial metrics in JSON format including P/E ratio, market cap, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses the return format ('str: Basic financial metrics in JSON format') and provides example metrics, which is useful. However, it doesn't mention error behavior, symbol validity requirements, or any other side effects beyond the read-only nature implied by 'get'.

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

Conciseness5/5

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

The description is concise and well-structured, with a one-sentence purpose, an Args section, and a Returns section. Every sentence adds information and nothing is redundant.

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?

For a simple one-parameter tool with no output schema, the description adequately explains the purpose, parameter, and return format. It lists example metrics (P/E, market cap) but could mention edge cases or limitations. Overall, it's complete for the tool's complexity.

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?

The schema provides no description for the symbol parameter, but the description fully compensates with a clear explanation: 'The stock symbol to look up (e.g., AAPL for Apple Inc.)'. This adds meaning and a concrete example, making the parameter's purpose unmistakable.

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 'Get basic financial information for a company' with a specific verb and resource. It distinguishes from siblings by mentioning metrics like P/E ratio and market cap, but it doesn't fully articulate the boundary relative to get_stock_price or get_stock_candles.

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 implies usage when basic financial metrics are needed, but it doesn't explicitly state when to prefer this over sibling tools or provide exclusions. The example symbol (AAPL) gives a concrete use case, but no alternative guidance is offered.

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/sverze/stock-market-mcp-server'

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