Skip to main content
Glama

Stocklake — AI Stock Intelligence

Get Sector Intelligence

get_sector_intelligence
Read-onlyIdempotent

AI-assessed sector intelligence: signal, cycle stage, rotation signal, drivers, alerts, and computed statistics per sector (RSI distribution, breadth, performance 1W/1M, top/bottom movers, historical percentiles). Pass a sector name for a single sector, or omit the parameter (or pass None) to get the latest assessment for all 11 sectors — the all-sectors call doubles as the rotation view: use sort_by_strength to rank LEADING-first for finding leading vs lagging sectors, and history_count for prior signal states per sector.

  • sort_by_strength: sort all-sectors output LEADING→LAGGING instead of alphabetical (all-sectors call only; ignored when a single sector is requested)

  • history_count: include last N prior signal states per sector, 0-3 (default 0; all-sectors call only)

Refreshed every ~4 hours by the market intelligence pipeline. Available to pro tier only (AI pipeline costs). For informational purposes only. Not financial advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sectorNoPass a sector name for a single sector's assessment, or omit (None) to get the latest assessment for all 11 sectors at once — the all-sectors call doubles as the rotation view.
history_countNoInclude the last N prior signal states per sector, 0-3 (default 0). Only applies to the all-sectors call.
sort_by_strengthNoSort all-sectors output LEADING→LAGGING instead of alphabetical, for finding leading vs lagging sectors. Only applies to the all-sectors call; ignored when a single sector is requested.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the description's safety burden is low. It adds non-obvious context: refresh cadence (~4 hours), pro-tier availability, and the fact that the all-sectors call serves as the rotation view. No contradiction with annotations.

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?

The description is well-structured with a concise summary followed by parameter bullets and context bullets. It is longer than minimal, but each sentence adds useful information such as refresh cadence, access tier, and parameter constraints. The 'not financial advice' disclaimer is boilerplate but not distracting.

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?

Given the output schema exists, annotations cover safety, and the description explains both call modes plus parameter restrictions, the tool is sufficiently complete for an agent to select and invoke it correctly. A minor gap is the lack of explicit guidance for when to choose this tool over related siblings like get_market_assessment or get_signals.

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 100%, so the schema already documents all three parameters and their defaults. The description's bullets recap this information (history_count 0-3, default 0; sort_by_strength ignored for single sector) without substantially extending schema semantics, so baseline 3 is appropriate.

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 and resource ('Get Sector Intelligence') and enumerates the concrete outputs: signal, cycle stage, rotation signal, drivers, alerts, and computed statistics. It also explains the dual all-sectors/rotation view, which distinguishes it from the sibling market and earnings tools.

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 description clearly states when to pass a sector name versus when to omit it, and explains that the all-sectors call doubles as the rotation view. It provides usage guidance for sort_by_strength and history_count, though it does not explicitly contrast this tool with named siblings.

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.

TDQS

A4.3/5.0
Disambiguation4/5

Most tools carve out clearly distinct jobs: per-stock quotes, batch quotes, earnings calendars, market pulse, news, signals, screener, watchlist. A few pairs—notably get_stock vs get_stocks and get_market_assessment vs get_market_pulse—are close enough that an agent would need to read descriptions carefully to pick the right one.

Naming Consistency5/5

All tool names follow a uniform get_<snake_case_noun> pattern with no mixed conventions. The singular/plural pair get_stock and get_stocks is a deliberate batch-version distinction rather than an inconsistency, and compounds like earnings_intelligence vs market_assessment remain predictable.

Tool Count4/5

With 17 tools, the server is slightly over the ideal 3-15 range, but the count is well-justified by the breadth of the stock-intelligence domain: per-stock, batch, historical, market-level, earnings, insider, news, signals, screeners, and watchlists all have a dedicated entry point. It is a larger surface area than ideal, but none of the tools feel redundant or purely decorative.

Completeness4/5

The tool surface gives agents full read-oriented workflows: single-stock data, batch lookups, historical prices, indicator history, news, research bundles, insider activity, market health, earnings, signals, movers, sector intelligence, and screening all exist. The main gap is discovery—there is no symbol/name search tool beyond the screener category filters, and historical earnings-surprise data is absent—but agents can work around both via existing tools.

Resources