Skip to main content
Glama
gtorreal
by gtorreal

get_market_sentiment

Analyze market sentiment for Buda.com trading pairs by calculating a composite score from price changes, volume trends, and bid/ask spreads to determine bullish or bearish conditions.

Instructions

Computes a composite sentiment score (−100 to +100) for a Buda.com market based on 24h price variation (40%), volume vs 7-day average (35%), and bid/ask spread vs baseline (25%). Returns a score, a label (bearish/neutral/bullish), and a full component breakdown. Example: 'Is the BTC-CLP market currently bullish or bearish?'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYesMarket ID (e.g. 'BTC-CLP', 'ETH-BTC', 'BTC-USDT').
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: the scoring range (-100 to +100), the three calculation components with exact weights, the return format (score, label, component breakdown), and that it's based on 24-hour data. It doesn't mention rate limits, authentication needs, or data freshness, but provides substantial operational context.

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 efficiently structured in two sentences: the first explains the computation methodology and return values, the second provides a concrete usage example. Every element serves a purpose with no wasted words, making it easy to parse and understand quickly.

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 single-parameter tool with no output schema, the description provides excellent context about what the tool does, how it works, and what it returns. The only gap is the lack of explicit output structure details (though the return components are mentioned), but given the tool's relative simplicity and the rich behavioral disclosure, this is largely complete.

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% for the single parameter (market_id), so the schema already documents it adequately. The description doesn't add any additional parameter semantics beyond what's in the schema, maintaining the baseline score of 3 for high schema coverage situations.

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 computes a composite sentiment score for a Buda.com market, specifying the exact components (price variation, volume, bid/ask spread) and their weights. It distinguishes from siblings like get_market_summary or get_technical_indicators by focusing specifically on sentiment analysis rather than general market data or technical indicators.

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 provides clear context for when to use this tool through the example question 'Is the BTC-CLP market currently bullish or bearish?' This implies it's for assessing market sentiment rather than raw data retrieval. However, it doesn't explicitly state when not to use it or mention specific alternatives among the sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gtorreal/buda-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server