Skip to main content
Glama

Portfolio impact of a position

assess_fit
Read-onlyIdempotent

Factual impact of adding a position to the signed-in user's portfolio: before/after concentration (HHI), Δ beta / Δ vol / Δ 1-month VaR, the candidate's correlation to your top holdings, and whether it trips your exclusion screen or max position size. Impacts and observations only — never a recommendation. Requires the user to be connected.

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": {
      "ticker": "<ticker>"
    },
    "name": "assess_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYes
portfolioNoPortfolio name, or 'all'; defaults to the primary
hypothetical_weight_pctNoTarget weight of the new position in the resulting book (default 5)

Output Schema

NameRequiredDescriptionDefault
okYesfalse on an error; then `error` says what happened and what to do.
cardNoThe in-chat InvestIQ card, in English and French.
dataNoThe tool's own result fields.
toolYes
as_ofYesISO time the data was computed (a stored analysis: when it was computed).
errorNo
linksNoInvestIQ pages for this result.
degradedNotrue when part of the data was missing.
viz_specNoThe recommended chart's series (data only).
disclaimerYes
data_qualityNoWhat was requested, what was used, and why anything was left out.

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 cover read-only, idempotent and non-destructive semantics, so the description's added value is the auth/connection requirement and the explicit advisory boundary ('never a recommendation'). That is meaningful behavioral context beyond the structured fields, though it says nothing about latency, data freshness, or how missing holdings are handled.

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?

A single front-loaded sentence states the purpose and enumerates the metrics, followed by two short clauses on the advisory boundary and the auth requirement. There is no filler, and the output enumeration is dense but each item conveys a distinct capability.

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 an output schema present, the description needn't explain return values, and it covers the two things an agent most needs: the connection prerequisite and the non-advisory nature of the result. Only the absence of routing guidance against sibling risk tools keeps it from a 5.

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 coverage is 67% and two of three parameters already carry descriptions, including the 'all' option and the default weight, so the baseline is 3. The description adds the conceptual frame ('adding a position', 'resulting book') but no extra syntax or constraint detail for ticker, portfolio, or hypothetical_weight_pct.

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 opens with a specific verb-plus-resource ('Factual impact of adding a position to the signed-in user's portfolio') and then enumerates the exact analytics produced (HHI before/after, Δ beta/vol/VaR, correlation to top holdings, exclusion-screen and max-size checks). The 'before/after' and 'adding a position' framing clearly separates it from a current-state risk report sibling.

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?

It states one hard precondition ('Requires the user to be connected') and one scope constraint ('Impacts and observations only — never a recommendation'), which help an agent decide if it can call it. However, it never says when to prefer this over portfolio_risk or other risk tools, nor does it describe a when-not condition.

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