Skip to main content
Glama

aiStock

Estado del mercado (aiStock)

estado_mercado
Read-onlyIdempotent

Estado de la bolsa de EE. UU. hoy según aiStockSelection: el velocímetro de mercado (0-100 y su zona), la tendencia del NASDAQ y del S&P 500 (método de O'Neil) con sus días de distribución, el índice Fear & Greed de CNN y cuántos valores llevan hoy el sello «En tendencia». Úsala cuando pregunten cómo está el mercado o la bolsa hoy, por los distribution days, el follow-through day o el miedo y la codicia. Incluye enlaces a las páginas con el detalle. Información general, no consejo.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "estado_mercado"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoIdioma de la respuesta: «es» (castellano) o «en» (inglés). Usa el idioma en que escribe el usuario.

Output Schema

NameRequiredDescriptionDefault
urlNoPage link
langNoAnswer language
zoneNoGauge zone key
as_ofNoData date
linksNoLinks to distribution days, follow-through day probability and Fear & Greed
scoreNoMarket gauge 0-100
sp500NoS&P 500 trend
nasdaqNoNASDAQ trend
statusNoMarket trend
fg_labelNoFear & Greed zone
fg_scoreNoCNN Fear & Greed 0-100
sp500_ddNoS&P 500 distribution days (only in an uptrend)
nasdaq_ddNoNASDAQ distribution days (only in an uptrend)
disclaimerNoNot a recommendation notice
zone_labelNoGauge zone
trend_countNoStocks with the In trend badge today

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the data inventory and the fact that it includes links to detail pages, plus the 'información general, no consejo' disclaimer. It does not discuss freshness/caching or rate limits, but nothing contradicts the 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?

Front-loads what the tool returns, then the when-to-use triggers, then the disclaimer and links note. The content list is dense but each item is a distinct data point an agent could match on; no filler sentences.

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, return values needn't be explained, and annotations cover safety; the description nevertheless tells the agent what the payload contains and when to call it. Only minor gaps (no mention that results are a snapshot of today, no explicit exclusions) keep it at 4.

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?

There is a single optional parameter 'lang' with 100% schema description coverage including its enum and usage rule ('usa el idioma en que escribe el usuario'). The description itself adds nothing about language, so the schema does all the work — baseline 3.

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?

Names a specific resource and scope: the state of the US stock market today per aiStockSelection, enumerating the concrete data returned (market speedometer 0-100 with zone, NASDAQ/S&P 500 O'Neil trend with distribution days, CNN Fear & Greed, count of stocks 'En tendencia'). That clearly distinguishes it from siblings like 'valor' (single stock), 'cartera_inversor' (portfolio) or 'resultados_semana' (weekly results).

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?

Gives explicit trigger questions: 'cómo está el mercado o la bolsa hoy', distribution days, follow-through day, miedo y codicia. It does not name an alternative tool or state when NOT to use it, so it stops short of a 5, but the usage context is unambiguous.

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