Skip to main content
Glama

ValuEdge MCP — Stock Valuation, Screener & Portfolio Research

Analyze my portfolio

analyze_my_portfolio
Read-onlyIdempotent

Use this when the authenticated user asks for their own portfolio concentration, sector or currency allocation, fair-value coverage, or risk context. Explain evidence and limitations without giving buy, sell, or hold instructions.

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

Input Schema

NameRequiredDescriptionDefault
portfolio_nameNo

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / error / properties / retry_after_ms
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine behavioral direction beyond them: the response must surface evidence and limitations and must avoid advisory recommendations, which shapes how the output is framed.

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?

Two sentences, zero redundancy, with the invocation trigger front-loaded and the response constraint second. Nothing could be removed without losing an instruction.

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?

With a rich annotation set and an output schema, the description does not need to explain return shapes, and it adequately covers invocation context and response constraints. The single remaining hole is the semantics of portfolio_name, which is left entirely to inference.

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

Parameters2/5

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

The only parameter, portfolio_name, is optional and nullable with 0% schema description coverage, and the description never mentions it. An agent cannot tell from the definition whether omitting it aggregates all portfolios or falls back to a single default, which is a meaningful ambiguity given the tool's analytical scope.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (the authenticated user's own portfolio) and enumerates the analyses performed: concentration, sector and currency allocation, fair-value coverage, and risk context. That separates it from the raw-retrieval sibling get_my_portfolio without naming it, though the distinction rests on the verb 'analyze' rather than an explicit contrast.

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 opening clause gives a clear trigger condition: the authenticated user asking about their own portfolio allocation or risk. It also sets a hard output constraint (explain evidence and limitations, never issue buy/sell/hold advice). It stops short of saying when to prefer a sibling like get_my_portfolio or what to do for another user's portfolio.

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.