Skip to main content
Glama

get_investment_performance

Read-only

Retrieve structured investment performance data for specific securities from cached financial records, enabling analysis of returns by ticker symbol or security ID.

Instructions

Get per-security investment performance data. Returns structured performance records from the local LevelDB cache, enriched with ticker symbol and name from the securities collection. Filter by ticker symbol or security ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ticker_symbolNoFilter by ticker symbol (e.g., "AAPL", "VTSAX")
security_idNoFilter by security ID (SHA256 hash)
limitNoMaximum number of results (default: 100, max: 10000)
offsetNoNumber of results to skip for pagination (default: 0)
Behavior3/5

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

The annotations already declare readOnlyHint=true, so the agent knows this is a safe read operation. The description adds valuable context about the data source ('local LevelDB cache') and data enrichment ('enriched with ticker symbol and name from the securities collection'), which goes beyond the annotations. However, it doesn't describe behavioral aspects like response format, error conditions, or cache freshness.

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 efficiently structured in two sentences: the first states the core purpose and data characteristics, the second provides filtering guidance. Every word serves a purpose with no redundancy or unnecessary elaboration, making it easy to parse quickly.

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?

For a read-only tool with good annotations and full parameter documentation, the description provides adequate context about what data is returned and how it's sourced. However, without an output schema, the description doesn't explain the structure of the returned performance records, which would be valuable for an agent to understand what to expect from this 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?

With 100% schema description coverage, the input schema fully documents all 4 parameters. The description mentions filtering by ticker symbol or security ID, which aligns with the schema but doesn't add significant semantic value beyond what's already in the parameter descriptions. The baseline score of 3 is appropriate when the schema does the heavy lifting.

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 clearly states the specific action ('Get per-security investment performance data'), the resource ('structured performance records'), and the data source ('local LevelDB cache'). It distinguishes this tool from siblings like get_investment_prices or get_holdings by focusing on performance data rather than prices, holdings, or other investment-related information.

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?

The description provides clear context for when to use this tool ('Filter by ticker symbol or security ID'), but it doesn't explicitly state when not to use it or name specific alternatives among the sibling tools. The filtering guidance is helpful but lacks explicit exclusion criteria or comparison to similar tools like get_twr_returns.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ignaciohermosillacornejo/copilot-money-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server