Skip to main content
Glama

Portfolio behaviour check

guidance_check
Read-onlyIdempotent

Behavioural and profile observations on the signed-in user's portfolio (and an optional focus ticker): position size vs their stated max, holdings with a conviction below 40 (the lowest band, as the app colours it) trading below the user's average cost, exclusion-screen matches, and questions — one per observation, plus the profile questions still unanswered (horizon, risk tolerance, max position size). Observations and questions only — never directive. Requires the user to be connected.

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

Input Schema

NameRequiredDescriptionDefault
tickerNoOptional focus ticker
portfolioNo

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

B3.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world safety. The description adds meaningful context beyond that: the 'observations and questions only — never directive' framing, the authentication requirement ('requires the user to be connected'), and the detection logic (conviction below 40, the lowest band as the app colours it, exclusion-screen matches). This is strong behavioral disclosure for a read tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the whole definition is one sentence, but it is dense with nested parentheticals ('the lowest band, as the app colours it') and a long colon list. It is efficient but somewhat overloaded, and the parenthetical asides reduce scannability.

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 annotations cover the safety profile. The description covers purpose, the non-directive framing, and the connection requirement. The main gap is the undocumented 'portfolio' parameter, which keeps it from being fully complete.

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?

Schema coverage is only 50%: the ticker parameter is already described in the schema as 'Optional focus ticker', and the description merely echoes that. The 'portfolio' parameter is undocumented in both schema and description, and it's unclear whether it takes an ID or name or defaults to the signed-in user's portfolio. The description does not compensate for the coverage gap.

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 the resource (the signed-in user's portfolio) and enumerates what it produces: position size vs stated max, low-conviction holdings below average cost, exclusion-screen matches, and follow-up questions. It is clear what the tool does, though it doesn't explicitly contrast itself with nearby siblings like audit_portfolio or assess_fit.

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?

Usage is implied by the framing ('behavioural and profile observations' plus 'requires the user to be connected'), but there is no explicit when-to-use vs when-not-to-use guidance and no alternative named. The connection prerequisite is a useful contextual cue, but routing between this and sibling audit tools is left to inference.

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