Skip to main content
Glama

brazil-macro-ai

compare_brazil_market_vs_focus

Compares the market-implied Copom path (DI1-derived) against the BCB Focus survey median, meeting-by-meeting (not just year-end), returning the gap in basis points per meeting and an overall dovish/hawkish classification (method_id market_vs_focus_meetings_v1).

Use when: assessing whether Brazilian rates markets are pricing more or
less monetary policy action than professional economists' consensus —
useful for research agents, news agents, or risk agents monitoring
Brazil-specific policy surprises.
Do not use when: you only need one side of the comparison (use
get_brazil_copom_path for market pricing alone, or Focus data directly
for consensus alone).

Args:
    as_of: optional YYYY-MM-DD date. Defaults to today.
    horizon: number of upcoming Copom meetings to compare (1-8, default 4).
    payment_token: required in staging ($0.15/call per pricing.yaml).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofNo
horizonNo
agent_idNo
session_idNo
payment_tokenNo
discovery_sourceNo
synthetic_identityNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are present, so the description carries the full behavioral burden. It discloses the comparison logic, output granularity, classification label, method_id, and per-call pricing context. It does not discuss failure modes or data caveats, but the read-only comparative nature is clear and adequately transparent.

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 tightly written and front-loaded: the core comparison is in the first sentence, usage guidance follows immediately, and the Args list is compact. Every sentence adds information rather than padding.

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 already covers the essentials: what is compared, when to use it, when not to, and the key parameters. The main completeness gap is the undocumented metadata parameters and the slight payment_token/schema mismatch, but these are minor given the strong overall context.

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?

Even though schema description coverage is 0%, the Args block adds real meaning for as_of (format and default), horizon (range 1-8 and default 4), and payment_token (staging requirement and pricing). However, four schema parameters—agent_id, session_id, discovery_source, and synthetic_identity—are not explained, and the conditional 'required in staging' wording could be ambiguous against a schema that marks payment_token optional.

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 names the exact comparison ('market-implied Copom path (DI1-derived)' vs 'BCB Focus survey median'), the meeting-by-meeting granularity, and the return shape (basis-point gaps plus dovish/hawkish classification). It also names a sibling tool, get_brazil_copom_path, which helps distinguish it from adjacent tools.

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

Usage Guidelines5/5

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

Provides an explicit 'Use when' section that frames the decision context for research/news/risk agents, and an explicit 'Do not use when' section that routes to the correct alternative for single-sided needs. This is exactly the kind of decision guidance an agent needs.

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