Skip to main content
Glama
mcp-yahoo-stock

mcp-yahoo-stock

by lagrot

yahoo_finance_lookup_and_analyze

Resolve company names to matching Yahoo Finance ticker symbols when the ticker is unknown, then run deep stock analysis with historical prices and financial data.

Instructions

[PRIMARY SOURCE] SMART Lookup and deep-dive analysis.

Use this if you know the company name but are unsure of the ticker symbol.
It automatically finds the best matching symbol and performs a deep analysis.

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": {
      "query": "<query>"
    },
    "name": "yahoo_finance_lookup_and_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
periodNo3mo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the entire behavioral burden. It does disclose real behavior — an automatic best-match resolution followed by analysis — which is valuable and non-obvious. However, it says nothing about ambiguous matches, failures, data freshness, or rate limits, and '[PRIMARY SOURCE]' is unmotivated jargon.

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?

Short and front-loaded: the action comes first, then the usage condition, then the mechanism. The bracketed '[PRIMARY SOURCE]' tag adds no actionable information, but the rest of the text is tight with no filler sentences.

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?

An output schema exists, so return values need not be described. Still, for a two-parameter tool with zero schema documentation, leaving 'period' wholly undefined and 'deep analysis' unspecified means an agent cannot fully predict what it will get back for a given call.

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

Parameters2/5

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

Schema coverage is 0%, so the description must define both parameters itself. It implies 'query' means a company name, but never says so explicitly, and the 'period' parameter (default 3mo) is completely unmentioned — no allowed values, no format, no effect on the analysis depth.

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?

States a specific compound action (symbol lookup + deep analysis) on a company resource, which separates it from a pure analyze or pure search tool. 'SMART Lookup' and 'deep-dive analysis' are marketing-flavored phrases that leave the actual output vague, but the second sentence makes the two-step behavior concrete.

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

Usage Guidelines4/5

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

Gives an explicit selection condition: use it when you know the company name but not the ticker. The complementary case (you already have a ticker, so use the analyze tool) is left implicit rather than named, so it falls short of full when/when-not routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.