Skip to main content
Glama

Glossary

explain_term
Read-onlyIdempotent

A short definition of a term InvestIQ shows (conviction score, Piotroski, Altman Z, DCF, WACC, P/E, PEG, EV/EBITDA, FCF yield, ROIC, earnings surprise, momentum, RSI, golden cross, insider trades, smart money, beta, volatility, VaR, max drawdown, correlation, risk contribution, HHI, time-weighted return, Sharpe, dividend yield, PEA vs CTO), in English or French, with a link to the longer article when there is one. Free. Without a term, lists them. Example: "what is the Piotroski score?" → term piotroski, lang en.

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

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the definition (default en).
termNoThe term, e.g. piotroski, VaR, PER.

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

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered; the description adds the non-obvious facts that the call is free, that no term returns the full list, and that results may include a link to a longer article.

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?

One long but well-ordered sentence plus an example: purpose first, then scope list, then language, then the no-term behavior, then the mapping example. The long parenthetical term list is dense but earns its place by defining scope; nothing else is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-optional-parameter read-only lookup with a full output schema and complete annotation coverage, the description supplies everything needed to call it correctly; return-value details are legitimately delegated to the output schema.

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

Parameters4/5

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

Schema coverage is 100% and both parameters are already documented, so the baseline would be 3; the description goes beyond it by spelling out the default language, the accepted language pair, and a concrete normalization example mapping user phrasing to the 'piotroski' term key.

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 concrete verb and resource ('a short definition of a term InvestIQ shows'), enumerates the covered vocabulary so an agent can tell whether its query is in scope, and distinguishes itself from the scoring/analysis siblings by being a pure glossary lookup rather than a computation over a 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?

Gives an explicit usage rule for both branches: supply 'term' for a definition, omit it to list everything available. The worked example ('what is the Piotroski score?' → term piotroski, lang en) shows how to translate a natural-language question into arguments. It does not explicitly say when to prefer explain_score over this tool, which keeps it at 4.

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