Skip to main content
Glama

Fair Value Calculator

Check my portfolio

check_portfolio
Read-onlyIdempotent

Check a whole portfolio in one call with Fair Value Calculator values. Takes the holdings (ISIN, symbol, ticker or company name, optionally the weight, market value or number of shares of each) and returns every holding with its valuation status, upside band, quality score and buy rules, plus a summary of the portfolio: the share of the portfolio trading below, near or above fair value (weighted by size when weight_pct, value or shares are given for all holdings, otherwise each holding counts the same), the median upside band, the average quality score, the largest positions and sectors, and which holdings are overvalued or have a quality score below 50 (the minimum of the buy rule). Free accounts check up to 10 different holdings a day as snapshots without the fair value (the largest first when sizes are given; holdings already checked today stay free; the others are listed in not_checked); Pro accounts check up to 50 holdings per call, each with its fair value. Funds and ETFs are listed but not valued as single stocks. Use it for questions like "check my portfolio" or "how is my portfolio valued", also with the holdings a broker connection returns. The watchlist is not changed; add_to_watchlist keeps stocks on it when the user asks. Field holdings_summary.portfolio_link opens the watchlist of the website, where the holdings can be entered to follow them. Fields: valuation_status (undervalued = price at least 10% below fair value, overvalued = price at least 10% above fair value, else near_fair_value; no_valuation = covered, but no fair value is shown right now, note says why), upside_band (distance from price to fair value in 10-point bands, e.g. "10_to_20", "above_30", "below_-30"), quality_score (0-100 business quality), evidence_level (how much audited data backs the value), price_as_of (date of the share price the valuation status refers to), calculated_at (date the valuation models last ran for this stock), requested_symbol with listing = other_listing_same_company (present when the answer is about another listing of the same company than the symbol asked for, the listing the website shows for it, e.g. 939.HK answered with the Shanghai listing 601939.SHG; fair value and currency refer to the listing in symbol), deep_link (full analysis page on fairvalue-calculator.com with the fair value history chart and the result of each valuation model with its bear, base and bull case), trend12 (uptrend: true when the price one month ago was higher than twelve months ago, false when not, null when not known), trend12_pct (that change in percent), trend_arrow (arrow on the site: up = rising, sideways = sideways down to -10 percent, down = falling), buy_rules (the three buy rules of the Fair Value Calculator strategy, each true, false or null: fair_value = fair value upside of at least fair_value_min_pct percent, quality = quality score of at least quality_min, measured as in the backtest without the AI Quality points, trend = uptrend, all = all three met; quality_rule = the quality score the rule decided on, present only when it decides differently from quality_score; upside_rule = the fair value upside in percent the rule decided on (fair value before the cycle and dilution adjustment), present only when it decides differently from the shown upside; the strategy only buys stocks with all three), fair_value_adjustment (present together with upside_rule: the shown fair value was adjusted after the model blend, the buy rule decides on the value before; reason = cyclical_peak_year (a record profit year of a cyclical business is not carried forward in full), cyclical_trough_year (a weak year of a cyclical business is not carried forward in full), dilution_new_shares (new shares lower the value per share) or adjusted; before and now = the fair value before the adjustment and the shown fair value, only where the fair value itself is shown), fair_value_last_change (only in the verdict, present when the shown fair value changed by 15 percent or more within the last 30 days: date, before and after (the shown fair value before and right after that change; the current value is fair_value) and reason = new_fiscal_year_figures (the figures of fiscal_year arrived and the value was recalculated from them), cyclical_peak_year, cyclical_trough_year or dilution_new_shares (that adjustment started to apply on this date), calculation_update (an updated calculation went live for all stocks on this date, nothing happened at the company itself), adjustment_no_longer_applies (an adjustment on top of the model blend no longer applies to this stock: it had lifted the fair value when before is higher than after, lowered it when lower; the valuation models calculate as before), quality_growth_uplift_ended (the uplift for quality growth no longer applies because the company no longer meets its conditions, the fair value is the value of the models alone), quality_growth_uplift_started (the uplift for quality growth now applies because the company meets its conditions, the fair value is above the value of the models alone), quality_growth_uplift_capped_at_price (the uplift for quality growth now applies at the current price: the fair value is at most 10 percent above that price) or not_recorded (no cause is on record)), fair_value_basis (present with the value estimate when none of the valuation models carries for the company, usually because of losses or heavy investment: the fair value is then an estimate drawn from revenue and assets compared with similar companies, less precise than a model-based fair value; valuation_status is then near_fair_value or overvalued, and fair_value_last_change is not given), fair_value_caution (present when the website shows the fair value with a caution badge: capped = the valuation models arrive at a very high value, the fair value shown is deliberately capped lower; extreme_value = the fair value sits far below the price, outside the range where the models are reliable, usually because the price expects much more than profits and cash flow show today or the latest figures are unusually weak), depositary_receipt (present when the listing is a US depositary receipt (ADR): its price and fair value are per receipt, not per original share, so the price can differ from the share price at the home exchange; original_shares_per_unit = how many original shares one receipt represents, present only where a source documents it; note = the sentence the website shows for it). The values are calculated by Fair Value Calculator from its own models and cannot be derived from the other fields; deep_link opens the full analysis page with the fair value history chart and every valuation model. This is a valuation, not financial advice.

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": {
      "holdings": "<holdings>"
    },
    "name": "check_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
holdingsYesThe holdings, up to 50. If sizes are known, give the same kind for all holdings: weight_pct, or value (all in one currency), or shares.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds substantial behavioral context: free-account daily limits, Pro-account per-call limits, snapshot behavior, not_checked handling, and that funds/ETFs are listed but not valued. It also explains many output-field edge cases without contradicting 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 purpose and summary are front-loaded, but the description is an extremely long, dense paragraph that is hard to scan. It also repeats the deep_link explanation, and many edge-case field definitions could be structured more efficiently.

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?

There is no output schema, so the description carries the full burden of explaining return fields, valuation statuses, buy rules, adjustment reasons, and account limits. It does so thoroughly, including edge cases such as depositary receipts and fair-value cautions.

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?

Schema coverage is 100%, so the schema already documents the holdings array and its fields. The description adds meaningful semantics beyond the schema, especially how weight_pct, value, or shares affect portfolio weighting and how free accounts prioritize the largest holdings when sizes are given.

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?

The description opens with a specific verb and resource: "Check a whole portfolio in one call with Fair Value Calculator values." It clearly distinguishes this from single-stock siblings by emphasizing whole-portfolio scope and one-call behavior.

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 gives concrete usage examples ("check my portfolio", "how is my portfolio valued") and mentions broker-connection holdings. It also clarifies that the watchlist is not changed and points to add_to_watchlist when the user wants to keep stocks, though it does not explicitly contrast with get_stock_verdict or compare_stocks.

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.