Skip to main content
Glama

Screen stocks

screen_stocks
Read-onlyIdempotent

Screen InvestIQ's nightly-scored universe (S&P 500, Nasdaq 100, CAC 40, plus the members of InvestIQ's themes — list_themes). Rank by preset (conviction, or the valuation / quality / momentum cluster score), optional sector filter and an option to keep only the highest conviction bands. For a signed-in user, the sectors and industries they avoid (investor profile) are left out and counted. Paged with cursor. Free. Example: "top quality stocks in Healthcare" → preset quality, sector Healthcare.

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

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page (default 10).
cursorNonext_cursor from the previous page.
presetNoWhat to rank by (default conviction).
sectorNoExact sector name, e.g. Technology, Healthcare, Energy.
top_bands_onlyNoOnly the highest conviction bands.
include_excludedNoAlso show what the user's exclusion screen hides.

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 establish read-only, idempotent, non-destructive, closed-world behavior, so the description is not carrying the safety burden. It adds real context beyond them: signed-in users have their avoided sectors/industries silently excluded and counted, results are cursor-paged, and calls are free. It does not describe ranking direction or ordering details, which keeps this from a 5.

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 scope and ranking purpose, then personalization, then pagination/cost, then the example — a sensible order. Sentences are dense but each carries information; the heavy em-dash and parenthetical usage makes it slightly harder to scan than it needs to be.

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 six-parameter read tool with a full output schema and complete annotation coverage, the description supplies everything an agent needs before calling: what universe is screened, how results are ranked, how personalization silently filters rows, how paging works, and that there is no cost. Return-shape details are correctly left 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%, so the baseline is 3, but the description adds meaning beyond the schema: 'preset' is explained as conviction vs. valuation/quality/momentum cluster scores, 'top_bands_only' is framed as keeping only the highest conviction bands, and 'include_excluded' gains context from the explanation of the personal exclusion screen. The sector parameter's exactness is only conveyed by the schema example.

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 ('Screen') against a precisely bounded resource ('InvestIQ's nightly-scored universe — S&P 500, Nasdaq 100, CAC 40, plus the members of InvestIQ's themes'), and names list_themes as the way to resolve theme membership. An agent can distinguish this filtered-ranking tool from siblings like compare_stocks or screen_by_theme without opening a schema.

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 worked example ('top quality stocks in Healthcare' → preset quality, sector Healthcare) makes the intended invocation pattern concrete, and the description signals the tool is free and cursor-paged. It stops short of explicitly saying when to prefer screen_by_theme or compare_stocks over this tool, so the alternative-selection guidance is implied rather than complete.

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