Skip to main content
Glama

Stock Analysis by ValuEdge

Get stock fundamentals

get_stock_fundamentals
Read-onlyIdempotent

Use this when the user asks for a stock's ValuEdge financial history, profitability, growth, balance-sheet evidence, business quality, or data coverage. An optional history_limit requests up to 30 periods of selected metrics, current EPS consensus for at most three future fiscal years where present, quarterly P/E samples from existing monthly observations, and bounded source-native annual income, balance-sheet, and cash-flow statement rows where the existing snapshot contains them. EPS is not normalized and past estimate revisions are unavailable. Selected metric trends remain distinct from the full annual statement JSON. Signed-in accounts can opt in to analyst_ratings, forward_consensus, or quality. Targets are provider estimates. Do not infer a trade instruction.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_stock_fundamentals"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYes
includeNo
history_limitNoOptional maximum number of recent annual/quarterly selected-metric rows and annual statement rows (1–30). Omit to preserve the existing compact response. Full annual statement rows retain source fields and currencies; missing source rows/provenance are reported, never filled. Current EPS consensus is capped separately at three future fiscal years; it is not normalized and past revisions are unavailable.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond readOnly/idempotent/openWorld annotations, it discloses account-gated behavior ("Signed-in accounts can opt in to analyst_ratings..."), data-quality limits (EPS not normalized, past revisions unavailable, targets are provider estimates), and a missing-data policy (missing rows/provenance "reported, never filled"). Those are exactly the traits an agent cannot recover from the annotations.

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

Conciseness3/5

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

The trigger condition is correctly front-loaded, but the body is a single dense paragraph mixing payload description, caveats, and auth gating, and the EPS-not-normalized caveat is restated in both the description and the schema. Information is valuable but not structured for scanning.

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 three-parameter read tool with an output schema, it covers triggers, gating, data-fidelity caveats, and the selected-metric-vs-full-statement distinction. The only real gap is that the three include enum values are never individually explained, forcing the agent to guess what analyst_ratings vs quality returns.

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?

With schema coverage at 33%, the description compensates well: it explains what history_limit yields (up to 30 periods, consensus capped at three future fiscal years, quarterly P/E derived from existing monthly observations) and that the include options are opt-in gated features. It does not define analyst_ratings, forward_consensus, or quality individually, and ticker semantics are unstated.

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 enumerates the specific resource facets it covers (ValuEdge financial history, profitability, growth, balance-sheet evidence, business quality, data coverage) and the payload contents (selected-metric history, EPS consensus, quarterly P/E samples, bounded statement rows). That makes the resource distinct from siblings like get_stock_valuation and get_stock_technicals, though it never names those siblings explicitly.

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?

It opens with an explicit trigger condition ("Use this when the user asks for a stock's ... financial history ...") and adds a clear negative guidance line ("Do not infer a trade instruction"). It stops short of naming an alternative tool for the valuation/technical cases, so routing away from siblings is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources