Skip to main content
Glama

Red-Flag Screens

get_anomaly_flags
Read-only

Run 15 red-flag screens on a ticker (short interest >12%, Altman Z distress, net leverage >4x, negative FCF, P/E >50, dividend yield >6%, insider net selling, revenue decline, payout >90%, goodwill >50% of assets, SBC >10% of revenue, declining ROIC and others). Returns {ticker, available, flags, count}; each flag is {severity, label, detail, scrollTo}: SEVERITY IS ONLY 'red' OR 'amber', red first. A flag is a question to investigate, NOT a sell signal. available: false (+ reason, no flags) = not checked. Empty flags is no all-clear either: a screen missing its input is skipped. Pair with get_fundamentals and ol_intrinsic_value. Source: vendor quote/fundamentals snapshot plus computed heuristics. Needs a free Oxford Ledge API key that the client's operator configures.

Input Schema

NameRequiredDescriptionDefault
tickerYesStock ticker symbol (e.g. AAPL)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses the return shape, the exact enum-like severity values ('red' or 'amber', red first), the available:false semantics, the skipped-screen caveat for empty flags, the data source, and the API-key/operator-config requirement. This is a rich behavioral disclosure that annotations alone would not provide.

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-loads the action and the return contract, and the parenthetical screen list is dense but informative rather than filler. The long enumeration with 'and others' is slightly unwieldy, but every sentence carries usable information.

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?

With no output schema, the description fully specifies the return object ({ticker, available, flags, count} and the flag fields), the severity domain, and the failure mode. It also covers the auth prerequisite, leaving nothing an agent needs in order to call and interpret the tool correctly.

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?

The single parameter (ticker) is fully documented in the schema at 100% coverage, so the schema does the heavy lifting. The description adds no format or constraint detail beyond what the schema already states, giving the expected baseline of 3.

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 ('Run 15 red-flag screens on a ticker') and enumerates the actual screens with their thresholds, so an agent knows exactly what is computed. The enumerated content (short interest, Altman Z, net leverage, etc.) cleanly separates it from generic sibling tools like get_fundamentals or ol_fundamentals_screen.

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?

Tells the agent how to interpret results ('a flag is a question to investigate, NOT a sell signal') and names complementary tools ('Pair with get_fundamentals and ol_intrinsic_value'). It lacks explicit when-not-to-use guidance or a stated alternative for pure screening, so it stops short of a 5.

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.