Skip to main content
Glama

Get Yahoo Finance custom screen

yahoo_finance_screener_search
Read-onlyIdempotent

Search Yahoo Finance with a custom screener query. Optional inputs: instrumentType, filters, query, sort, order and 3 more. Returns a list (use cursor when paginated). Costs credits; see meta.creditsCharged.

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": {
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "yahoo_finance_screener_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort field from the screener field catalogue. Default: `intradaymarketcap` for equity and crypto, `ticker` for other types. An unknown field is refused for equity and ETF screens; other types are sent as given.
limitNoPage size as an integer from 1 to 250. Default: 50.
orderNoSort direction. Default: `desc`, except `asc` (A to Z) when no `sort` is given and the type sorts by `ticker` (ETF, mutual fund, index, future, currency and option).
queryNoRaw screener query as a JSON string, for filters the structured form cannot express. Read-only.
cursorNoPass `page.nextCursor` from the previous response to get the next page.
offsetNoZero-based position to begin the list at. Default: 0; maximum: 1,000,000. Only the first 10,000 rows are available; past that the page is empty.
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
filtersNoFilters combined with AND, as a JSON string: an array of {"field", "operator", "value" or "values"} objects. The operator defaults to EQ.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
instrumentTypeNoInstrument type to screen. Default: `equity`. Crypto and currency screens are not limited to US instruments.
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), and the description adds genuinely new behavior: it returns a list, pagination uses the cursor, and the call consumes credits reported in `meta.creditsCharged`. It does not mention the 10,000-row ceiling or the failure mode for unknown sort fields, though those live in the schema.

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?

Three short sentences with the core action front-loaded and no filler prose. The middle sentence enumerating parameter names is low-value padding against a fully documented schema, slightly diluting an otherwise tight definition.

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?

For an 11-parameter read tool with a fully documented schema and no output schema, the description covers the essentials: what it does, that it returns a list, that pagination is cursor-based, and that it costs credits. It stops short of advising on query/filter composition or fallback to the fields catalogue.

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 description coverage is 100%, so the schema already carries field meanings, defaults, and enum semantics. The description only enumerates parameter names ('instrumentType, filters, query, sort, order and 3 more'), which adds no meaning beyond the schema and is even vague about which parameters are omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Search Yahoo Finance with a custom screener query'), which is clearer than the title alone. It implies a distinction from the predefined-screen sibling yahoo_finance_screener_get via the word 'custom', but never states that contrast explicitly, so an agent must infer it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied — the agent can infer this is for ad-hoc screening, and the credit-cost note gives useful pre-call context. However, there is no guidance on when to prefer this over yahoo_finance_screener_get or when to consult yahoo_finance_screener_fields_list first to build a valid field name.

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.