Skip to main content
Glama

aiStock

Una acción en aiStock

valor
Read-onlyIdempotent

Para una acción de EE. UU. (ticker, p. ej. AMD): si lleva hoy el sello «En tendencia» de aiStock y si está entre las 20 primeras del ranking. Úsala cuando pregunten por una empresa concreta. Incluye un enlace a su ficha con el análisis completo.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticker": "<ticker>"
    },
    "name": "valor"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoIdioma de la respuesta: «es» (castellano) o «en» (inglés). Usa el idioma en que escribe el usuario.
tickerYesTicker de la acción, p. ej. AMD o NVDA.

Output Schema

NameRequiredDescriptionDefault
urlNoAnalysis link
langNoAnswer language
nameNoCompany name
rankNoPlace, only within the top 10
as_ofNoData date
knownNoFollowed by aiStock
top20NoIn the ranking's top 20
tickerNoTicker
in_trendNoCarries the In trend badge
disclaimerNoNot a recommendation notice

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds real context beyond them: scope is limited to US stocks, the badge/ranking status is as of 'hoy', and the full analysis is deliberately behind a link rather than returned inline. It does not address behavior when the ticker is unknown or non-US, which keeps it at 3.

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?

Three short sentences, front-loaded with the resource and scope, then the use condition, then the link. No filler; only mild redundancy between the ticker example and the '(ticker, p. ej. AMD)' parenthetical.

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 two-parameter, read-only lookup with a full output schema and rich annotations, the description covers scope, trigger condition and what the answer consists of. The remaining gap is edge-case behavior for unknown or non-US tickers, which is minor given the output schema exists.

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%, so ticker and the es/en lang enum are already documented, and the description's only added signal is the concrete AMD example and the US-only constraint on ticker. Baseline 3 is appropriate since the schema does the heavy lifting for both parameters.

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 names a concrete verb+resource: for a US stock ticker it reports whether the stock carries aiStock's «En tendencia» badge today and whether it sits in the top 20 of the ranking, plus a link to the full analysis. That is specific and outcome-oriented, and the 'empresa concreta' framing separates it from aggregate siblings like estado_mercado or resultados_semana, though it never names an alternative explicitly.

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?

'Úsala cuando pregunten por una empresa concreta' gives a clear use condition, and the opening '(ticker, p. ej. AMD)' signals the required input. There is no when-not guidance or named alternative for market-wide or portfolio questions, so it stops short of a 5.

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