Skip to main content
Glama

Latest close

last_price
Read-onlyIdempotent

The latest daily close for each ticker, in its own currency and in the base currency, with the date. Typical questions: 'What's the last price of VWCE?'; 'Turn 120 shares of VTI into dollars.'; 'Latest close for these tickers.'. Instead: for history and figures of one asset, asset_info. One price per ticker, no history. It does not recommend, predict or calculate tax.

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": {
      "tickers": "<tickers>"
    },
    "name": "last_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoCurrency code every figure is expressed in: USD, EUR, GBP, CAD… Default USD.
tickersYesTickers, up to 50.

Output Schema

NameRequiredDescriptionDefault
baseNoBase currency.
dataNoWhere the prices came from and what was missing or repaired.
as_ofNoDate of the close.
pricesYesPer ticker: latest close in the base currency.
currenciesNoPer ticker: its trading currency.
native_pricesNoPer ticker: latest close in its own currency.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / base / description
      Previous value: -"Currency every figure is expressed in (USD, EUR, GBP, CAD…). Default USD."New value: +"Currency code every figure is expressed in: USD, EUR, GBP, CAD… Default USD."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint and openWorldHint, so the safety profile is covered. The description adds scope traits beyond that: one price per ticker, no history, and explicit non-goals ('does not recommend, predict or calculate tax'). It does not discuss rate limits, symbol validity handling, or what happens with unknown tickers, which keeps it below 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?

The core statement is front-loaded and the follow-on sentences each carry distinct information: examples, the sibling alternative, the one-price-no-history constraint, and the non-goals. There is minor formatting noise from an embedded line break in the text, but no redundant sentences.

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?

An output schema exists, so return values needn't be explained, and the description covers purpose, exclusions, and non-goals for a simple two-parameter tool. A minor gap is that it doesn't hint at behavior for invalid or unknown tickers, despite a validate_symbols sibling in the family.

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%, so both the 'tickers' (up to 50) and 'base' (default USD) parameters are already documented. The description reinforces the dual-currency output and shows tickers in use (VWCE, VTI), but adds no syntax, formatting, or edge-case detail beyond the schema, so the baseline 3 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 names a specific verb and resource: the latest daily close per ticker, expressed in both the ticker's own currency and the base currency, plus the date. It explicitly carves out the boundary against asset_info ('for history and figures of one asset'), so an agent can distinguish it from siblings without opening either schema.

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

Usage Guidelines5/5

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

It supplies concrete example questions ('What's the last price of VWCE?'; 'Turn 120 shares of VTI into dollars.'; 'Latest close for these tickers.') that map real intents to this tool. It also names the alternative and the condition that selects it: 'Instead: for history and figures of one asset, asset_info. One price per ticker, no history.'

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