Skip to main content
Glama

Explain a conviction score

explain_score
Read-onlyIdempotent

Why a stock's InvestIQ conviction is what it is, in points: each of the 5 clusters' score × its engine weight (its contribution to the raw score), the quality multiplier, and inside each cluster the factors with their sub-score, weight, direction (helping / hurting) and data source. Read from the latest stored analysis — free, nothing recomputed (analyze_stock first if there is none). Example: "why is NVDA's conviction 72?".

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

Input Schema

NameRequiredDescriptionDefault
tickerYesSymbol, e.g. NVDA, MC.PA

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.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, but the description adds genuinely useful behavior: no recomputation, no cost, sourced from the latest stored analysis, and a failure mode (no stored analysis) with the remedy. It stops short of noting staleness semantics or how fresh the stored analysis might be.

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?

Front-loaded with the tool's purpose, then the returned components, then the read-source constraint, then an example question. It is a dense single sentence plus a clause, but each piece carries information; the example could arguably be trimmed.

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?

Output schema exists, so return values need not be spelled out, yet the description still conveys what the breakdown contains. Prerequisite and cost behavior are covered; only staleness of the stored analysis is left unaddressed, which is minor for a read-only explainer.

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?

Single parameter with 100% schema description coverage ('Symbol, e.g. NVDA, MC.PA'), so the schema carries the semantics. The description's NVDA example reinforces usage but adds no new meaning about the ticker argument or accepted exchange suffixes.

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?

States a specific verb and resource — returns the point-by-point breakdown of why a stock's InvestIQ conviction score is what it is — and enumerates the components (5 clusters' score × engine weight, quality multiplier, per-cluster factors with sub-score, weight, direction, data source). This is clearly distinguishable from siblings like get_score_history or analyze_stock.

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?

Explicitly says it reads from the latest stored analysis, that it is free and recomputes nothing, and gives the prerequisite route: 'analyze_stock first if there is none.' That is clear when-to-use and when-not context, though it does not contrast with get_score_history for users wanting history rather than an explanation.

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