Skip to main content
Glama

Chart values

chart_values
Read-onlyIdempotent

The Portfolio value chart's lines on up to 6 dates, from the series the chart draws: value, valueDate, change and returnPct since the chart start (from), ranking, highestBenchmark. date: YYYY-MM-DD or "today" (one or a list; omitted = today). lines: "Portfolio Total", an account, type:/sector:/category:, or "inflation" (the inflation hurdle; adds real returns). from: YYYY-MM-DD, or "" for the first transaction. benchmarks: keys or custom benchmark names. In the in-app chat lines, benchmarks and from default to the chart on screen. A benchmark line is the same money flows invested in that benchmark instead: every day the portfolio bought or sold securities, the same amount buys or sells the benchmark at that day's price, and a later chart start opens it with the whole portfolio value bought on that day.

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": "chart_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
fromNo
linesNo
benchmarksNo
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuine behavior beyond them: the 6-date cap, the exact series returned, that "inflation" adds real returns, that on-screen chart state supplies defaults, and a detailed account of how a benchmark line is simulated from the portfolio's own cash flows and a later start date. It omits any note on cost/latency and on the dashboard-control/approval requirement that the schema hints at.

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?

Front-loaded with the purpose, then structured as labeled parameter notes (date:, lines:, from:, benchmarks:), so an agent can scan it. It is dense and the final benchmark-simulation sentence is long and parenthetical-heavy, but the detail is load-bearing for interpreting benchmark lines rather than filler.

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?

With no output schema, the description correctly enumerates the returned series, which is the essential return-value information. But a 7-parameter tool with dashboard targeting and revision/idempotency keys should also say whether reading requires an approved live tab, how ambiguous dashboards are handled, and what idempotencyKey/expectedRevision do here — none of which is covered.

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 only 14% (only dashboardId documented), so the description carries most of the burden and does it well: date formats and single-vs-list plus the omitted=today default, the full set of accepted lines values, from formats including "" for first transaction, and benchmark keys vs custom names. It leaves idempotencyKey and expectedRevision — the two concurrency parameters — entirely unexplained, which for a read-only tool is a notable gap.

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?

Names the specific resource (the Portfolio value chart's lines) and enumerates exactly what each line carries: value, valueDate, change, returnPct since the chart start, ranking, highestBenchmark. The read-oriented framing (returns the series the chart draws) is clearly distinguishable from set_chart-style configuration siblings without opening a schema.

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

Usage Guidelines3/5

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

Explains defaults well in context (lines/benchmarks/from fall back to the chart on screen in the in-app chat) and defines the special 'inflation' line and the "" from-value. However, it gives no explicit when-to-use/when-not guidance and never routes the agent to an alternative (e.g. set_chart, get_dashboard_state) or states prerequisites such as needing an approved live dashboard tab.

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.