Skip to main content
Glama

OptimistFi

get_market_setups

Read-only

The whole market RANKED by what each company's currently-visible set of conditions has historically been followed by. direction='up' surfaces the setups whose combination has the best historical forward return; 'down' surfaces the worst. Use when the user asks: what looks good right now, what setups are strongest/weakest today, screen the market, find high-probability situations. A record of what followed similar situations — never a recommendation. Precomputed from the backtest; no model call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
directionNoup

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true. The description adds meaningful behavioral context beyond that: it is precomputed from a backtest, involves no model call, and is explicitly 'never a recommendation' but a historical record. This helps set correct expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded: it leads with the core ranking concept, then direction semantics, then usage triggers, then a caveat. Every sentence earns its place with no redundancy.

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?

The description covers purpose, direction semantics, use cases, and important behavioral caveats, and an output schema exists. The only notable gap is the unexplained limit parameter, which prevents a perfect score.

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 description fully explains the direction parameter ('up' surfaces best historical forward returns, 'down' surfaces worst). However, the limit parameter is not mentioned at all, and schema description coverage is 0%, so the agent must guess what limit controls.

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 states a specific action: ranking the whole market by historical forward returns of each company's current condition set. It explicitly defines the up/down direction semantics, which clearly differentiates it from sibling tools like get_market or 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?

The description gives explicit user-query triggers: 'what looks good right now', 'what setups are strongest/weakest today', 'screen the market', and 'find high-probability situations'. However, it does not name alternative tools or state when not to use it, so it stops short of full comparative guidance.

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