Skip to main content
Glama

Portfolio value

get_simulation_nav
Read-only

Get the paper portfolio's daily value (NAV), market-cap-weighted vs SPY ("cap", the default) or equal-weighted vs RSP ("equal"), with both benchmarks on every row. There is one row per resolved trading day. The series stops at the newest date by which every book is revealed, because a later value holds positions from books still sealed. Use this for portfolio value over time, and get_simulation_trades for the trades behind it.

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_simulation_nav"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_dateNoLatest date to include, as YYYY-MM-DD. Omit for no upper bound.
from_dateNoEarliest date to include, as YYYY-MM-DD. Omit for no lower bound.
weightingNo"cap" for market-cap weights against SPY (the default), or "equal" for equal weights against RSP.cap

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / from_date / description
      Added value: +"Earliest date to include, as YYYY-MM-DD. Omit for no lower bound."
    • addedInput schema / properties / to_date / description
      Added value: +"Latest date to include, as YYYY-MM-DD. Omit for no upper bound."
    • addedInput schema / properties / weighting / description
      Added value: +"\"cap\" for market-cap weights against SPY (the default), or \"equal\" for equal weights against RSP."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish that this is a read-only, non-destructive, closed-world operation. The description adds meaningful behavioral context beyond that: one row per resolved trading day, both benchmarks on every row, and the non-obvious truncation caused by sealed books.

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 front-loaded with the core purpose and is dense with useful detail without filler. Every sentence contributes either scope, row semantics, truncation behavior, or an alternative tool reference.

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?

An output schema exists, so the description need not explain return values. It covers the purpose, weighting options, date-series semantics, truncation behavior, and the trades alternative, leaving no material gap for an agent calling this read-only NAV tool.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents from_date, to_date, and weighting, including the cap/default and equal/RSP mapping. The description reinforces the weighting choices but adds no syntax or semantics beyond what the schema provides, so the baseline score applies.

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 gives a specific verb and resource: retrieving the paper portfolio's daily NAV. It distinguishes the two weighting modes and explicitly contrasts this tool with get_simulation_trades, so an agent can identify its role among siblings.

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 states a clear use case, "portfolio value over time," and names get_simulation_trades as the alternative for the trades behind it. However, it does not mention get_book_portfolio or explain when to use the aggregate NAV series versus per-book portfolio data.

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.