Skip to main content
Glama

Fair Value Calculator

Market and sector valuation

get_market_valuation
Read-onlyIdempotent

Valuation of the stock market as a whole and of its sectors, from Fair Value Calculator data: how far the market trades above or below the aggregate fair value of its stocks. Without input it returns the world: the gap of the market to fair value with a verdict in words, the size classes (large, mid and small caps), the sectors ordered from the most expensive to the cheapest, and the continents, each with its gap in percent and the number of stocks behind it. region narrows the answer to a continent or a country; sector returns one sector with the industries inside it. The figures are the ones the market valuation page of fairvalue-calculator.com shows (deep_link), updated daily; as_of is their date. Every account gets the world, the continents, the size classes and the sectors. Single countries and the industries within a sector are part of Pro, as on the website: for other accounts the response shows the continent or the sector instead and says so in limit_note. Use it for questions like "how overvalued is the stock market right now", "which sectors are the most expensive" or "is Europe cheaper than North America". Fields: gap_to_fair_value_pct (plus = trades above fair value, minus = below), verdict (only for the world: overvalued, fairly_valued or undervalued, the word the page shows for the market as a whole), tone (expensive, near_fair_value or cheap: the colour code of the page), stocks (number of valued stocks behind the figure), summary (the figure as one sentence), method (how the figure is built), deep_link (the market valuation page with the world map). The values are calculated by Fair Value Calculator from its own fair values. This is a valuation of the market, not financial advice.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_market_valuation"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoOptional: "world" (default), a continent, e.g. "Europe", "North America", "Asia", or a country by its English name, e.g. "Germany", "USA", "Japan".
sectorNoOptional: one sector, e.g. "Information Technology", "Health Care", "Financials", "Energy", "Utilities". Sectors are worldwide figures, so sector is given without region.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the read-only/idempotent annotations it discloses data provenance (Fair Value Calculator fair values), daily refresh and as_of dating, and the important behavioral quirk that Pro-gated requests silently degrade to continent/sector with an explanation in limit_note. It does not describe pagination, response size, or latency, which keeps it from a 5.

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?

Purpose and default behavior are front-loaded, then parameters, then tier rules, then a field glossary — a sensible order. It runs long with some low-value tail material ("calculated from its own fair values", the not-financial-advice disclaimer), but almost every sentence carries operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by documenting each returned field (gap_to_fair_value_pct, verdict, tone, stocks, summary, method, deep_link) plus the limit_note fallback. Nothing needed to interpret or safely call this zero-required-parameter read tool is missing.

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 already 100%, yet the description still adds real meaning: region accepts a continent or country with a Pro restriction, sector is a worldwide figure that should not be combined with region, and each field's sign convention (plus = above fair value) is spelled out.

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?

States a specific verb and resource: valuation of the market as a whole and of its sectors, from Fair Value Calculator data, and contrasts implicitly with the stock-level siblings (get_stock_verdict, get_stock_preview) by saying it covers the market and sectors rather than one stock.

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 concrete example questions that map to this tool ("how overvalued is the stock market right now", "which sectors are the most expensive", "is Europe cheaper than North America") plus the free-vs-Pro rule that decides whether the call returns a country or falls back to a continent. It never states a when-not or names an alternative tool explicitly, so it falls short of a 5.

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.