Skip to main content
Glama

brs_decision_context

Read-onlyIdempotent

Directional market context with evidence and caveats (Pro tier).

Returns the current posture (bullish / bearish / WAIT) with the regime and zone it was read in, the reason, confidence, btc_price and timestamp. WAIT is the most common answer and means no edge is visible — it is context, not an instruction. Confidence is normalised against how much evidence was reachable: sent signals typically land 0.30–0.50, so compare against that distribution, not 1.0. Suppressed reads are shown (suppressed=true), never hidden.

Payment (BRS-017): this is the metered Pro posture and is payable per-call via x402. Call it with no tx_signature first — if the result is status='error' with error.code='PAYMENT_REQUIRED', inspect error.payment: that carries the exact amount, currency, asset, networks, recipient, expiry and request_digest needed to build the settlement. Pay on an advertised rail, then re-call with the tx_signature (and matching chain/ref) to get the metered result. Retries are idempotent — the same tx_signature is never charged twice. A Pro key (BRS_API_KEY or a per-client key) skips payment entirely. Spend caps: max 3 re-calls per request; enforce your own max-per-call/max-per-day policy against error.payment before paying.

Args: tx_signature: The signed x402 settlement tx from a prior payment. Empty on first call (you will receive the challenge instead). chain: Rail you paid on — "solana" or "base". Default "solana". ref: Optional attribution tag carried through to the payment ledger.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo
chainNosolana
tx_signatureNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
tierNofree
as_ofYes
errorNo
statusYes
qualityNo
evidenceNo
disclaimerNoMarket-structure context; not an execution instruction.
request_idYes
schema_versionNo1.0
freshness_secondsNo
valid_for_secondsNo
methodology_versionNo2026.09

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description adds substantial behavioral context: WAIT is common and is context rather than instruction, confidence is normalized against reachable evidence, suppressed reads are explicitly shown rather than hidden, and payment retries are idempotent so the same tx_signature is never charged twice. These are meaningful operational traits not visible in annotations.

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 long, but the length is justified by the x402 payment protocol and the tool's nuanced outputs. It is front-loaded with the core result before explaining payment, and the Args section is cleanly separated. Minor redundancy with the idempotence hint exists, but the extra explanation is useful rather than wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the return payload, the meaning of WAIT, confidence calibration, suppressed-read policy, the full payment flow, auth bypass with a Pro key, and spend caps. Given the tool's complexity and the presence of an output schema, an agent has enough information to call and interpret the tool correctly.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining all three parameters: tx_signature is a signed x402 settlement tx and should be empty on first call, chain specifies the payment rail with allowed values and default, and ref is an optional attribution tag. This adds real semantics beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it returns the current directional posture (bullish / bearish / WAIT) along with regime, zone, reason, confidence, btc_price and timestamp. It clearly signals the decision-context purpose and differentiates it from a raw data dump, though it does not explicitly distinguish itself from sibling brs_market_state.

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 a precise call workflow: call without tx_signature, handle the PAYMENT_REQUIRED response by reading error.payment, pay on an advertised rail, then re-call with tx_signature and matching chain/ref. It also states when a Pro key bypasses payment and imposes spend-cap guidance, but it does not contrast this tool with its siblings.

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