Skip to main content
Glama

Macro context

get_macro_context
Read-onlyIdempotent

Get macro market context: sector P/E ratios, sector performance, US Treasury rates (2Y/10Y/30Y), CPI inflation data. Also provides key inter-market ratios (HYG/LQD, TLT/SPY) from our price data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
inter_market_ratiosNo

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare the tool as read-only, idempotent, and non-destructive, so the description's job is lighter. It adds useful context about the specific data included (e.g., 2Y/10Y/30Y Treasury rates, HYG/LQD, TLT/SPY) and mentions the data source ('our price data'). However, it does not disclose behavioral traits such as data freshness, update frequency, or any limitations, which would have increased transparency.

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 remarkably concise, consisting of two sentences. It front-loads the key purpose ('Get macro market context') and then efficiently lists the specific data categories. Every word adds value, with no fluff or repetition of schema information.

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 a zero-parameter tool with an existing output schema, the description is sufficiently complete. It enumerates all major data categories and even includes the inter-market ratios, which adds depth. It does not need to explain return values because an output schema exists. The only minor gap is lack of mention about time periods or data granularity, but this is not critical for a read-only macro context tool.

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

Parameters4/5

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

The tool has no parameters, so there are no parameter semantics to explain. The baseline for zero parameters is 4, and the description does not need to compensate for any schema gaps. It adequately summarizes the data content, which is sufficient.

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 the tool's purpose with a specific verb ('Get') and a well-defined resource ('macro market context'). It enumerates concrete data types (sector P/E ratios, sector performance, US Treasury rates, CPI inflation, inter-market ratios), which distinguishes it from siblings like get_crypto_context or get_intermarket by its focus on macro indicators.

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?

The description implies usage for macro context needs, but it does not explicitly state when to use this tool versus alternatives. The mention of inter-market ratios could create ambiguity with the sibling tool get_intermarket, yet no comparisons or exclusion criteria are provided. The guidelines are implied rather than explicit.

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