Skip to main content
Glama

Intermarket compass

get_intermarket
Read-onlyIdempotent

Intermarket compass — a first-pass read of the market environment through price-ratio lenses: asset-class rotation (bonds vs stocks, commodities), risk appetite (high-yield vs investment-grade credit, small vs large caps, cyclicals vs defensives), defensive flows (gold, utilities, yield-curve proxy) and the dollar. Each lens reports rising/falling vs its 50-day average plus the 20-day change; overall posture is risk_on, risk_off or mixed. Optional focus= ('gold'|'bonds'|'tech'|'commodities'|'equity'|'crypto') adds lenses specific to that asset class.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
focusNoAsset class being analysed — adds its specific lenses

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
focusNo
votesNo
overallNo
questionsNo

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds behavioral context not covered by annotations: each lens reports 'rising/falling vs its 50-day average plus the 20-day change' and the overall posture is 'risk_on, risk_off or mixed'. This enriches the agent's understanding of output semantics.

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 dense but well-structured, using em-dashes to separate the core purpose from specific lens categories and output details. It front-loads the primary purpose and every sentence carries meaningful information without 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?

With an output schema present, the description does not need to explain return format. It thoroughly covers what the tool reads, how each lens reports, the overall posture, and the optional focus parameter. The only completeness issue is the enum mismatch that could cause a failed invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides 100% coverage for the single parameter 'focus' with an enum and description. The description adds the list of allowed values, but it includes 'crypto' which is NOT in the schema enum ('gold', 'bonds', 'tech', 'commodities', 'equity'). This contradiction could mislead an agent into sending an invalid value, reducing trust in the description's parameter guidance.

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 clearly states it is an 'Intermarket compass — a first-pass read of the market environment through price-ratio lenses' and enumerates specific ratio categories (asset-class rotation, risk appetite, defensive flows, dollar). This distinguishes it from sibling tools like get_macro_context and get_market_breadth by focusing on cross-asset price relationships.

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 phrase 'first-pass read' provides clear context for when to use it—as an initial market environment scan. It doesn't explicitly name alternative tools or state when not to use it, but the usage context is unambiguous and sufficient for an agent to decide.

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.2/5.0
Disambiguation5/5

Each tool maps to a distinct data category or function (prices, indicators, levels, sentiment, macro, crypto, intermarket, breadth, news, etc.). The few related tools are clearly separated by current vs. historical data, specific ratios vs. multi-lens overviews, or news lookup vs. news search.

Naming Consistency4/5

The majority of tools follow a consistent get_<noun> pattern with snake_case (e.g., get_price_history, get_technical_indicators). Two news tools use a public_ prefix instead, creating a minor but visible inconsistency.

Tool Count5/5

15 tools is within the ideal range for a market-data server and each tool covers a meaningful slice of the domain without redundancy. The count feels well-scoped for the server's purpose.

Completeness4/5

The tool surface is impressively broad, covering prices, indicators, sentiment, macro, crypto, intermarket analysis, news, and methodology. However, common data types like fundamentals (P/E, balance sheets) and options chains are absent, leaving a few potential user questions unanswered.

Resources