Skip to main content
Glama

PatternsWizard pattern and indicator statistics

Search patterns

search_patterns
Read-only

List tested patterns with their headline result on one market and timeframe. Filter by name, family, direction or verdict, for example: which chart patterns beat chance on forex 4h. Patterns recorded on both breakout sides have no all row and are not listed: read them with get_pattern_stats.

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

Input Schema

NameRequiredDescriptionDefault
sortNooccurrences (default), excess (excess return, best first), trade (expectancy minus its random baseline, best first) or name.
limitNoMaximum number of patterns returned. Default: 50.
queryNoWords of the pattern name, e.g. "engulfing", "head and shoulders".
familyNoPattern family (harmonic patterns are in chart).
marketNoMarket. all pools the markets that have this timeframe. Default: all.
measureNomove: excess 10-bar return over the rest of the market (verdict). trade: 2:1 trade versus the same trade on random dates (verdictTrade). Default: move.
verdictNoKeep only this verdict (on the measure chosen with measure).
directionNoExpected direction.
timeframeNoBar timeframe. Default: 1d. Stocks, ETFs, indices and commodities have 1d and 1w only.
min_occurrencesNoKeep only results with at least this many occurrences.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / verdict / enum
      Previous value: -[
      -  "edge_confirmed",
      -  "edge_negative",
      -  "weak_evidence",
      -  "no_edge",
      -  "insufficient_data",
      -  "no_test"
      -]New value: +[
      +  "edge_confirmed",
      +  "edge_negative",
      +  "weak_evidence",
      +  "no_edge",
      +  "insufficient_data",
      +  "no_test",
      +  "not_compared"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results are scoped to a single market and timeframe, and a whole class of patterns (both breakout sides) is silently absent, which prevents an agent from misreading a complete-looking list.

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?

Two sentences, both earning their place: the first defines the output shape and scope, the second defines filtering and the important exclusion. Front-loaded with no filler.

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?

With 10 optional parameters and no output schema, the description covers the essentials: what a row represents, which filters exist, and the data-coverage caveat. It could go slightly further on what exactly a 'headline result' contains, but the omission is minor rather than harmful.

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% and every enum is documented in the schema, so the baseline is 3. The description loosely signals which filters exist ('name, family, direction or verdict') and that market/timeframe pin a row, but adds no syntax, default, or selection meaning beyond the schema.

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 ('List tested patterns') plus the scope of each row ('headline result on one market and timeframe'), and explicitly names the case this tool will not return, pointing to get_pattern_stats. An agent can distinguish it from get_pattern_stats and compare_patterns without opening any 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?

Gives a concrete usage scenario ('which chart patterns beat chance on forex 4h') and an explicit when-not rule: patterns recorded on both breakout sides must be read with get_pattern_stats. It does not state when compare_patterns or get_methodology would be preferred, so it stops short of full alternative coverage.

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