Skip to main content
Glama

Crear alerta de precio

crear_alerta_precio

Crea una alerta: cuando el precio de una categoría cruza el umbral, avisa POR EMAIL al productor (o a un webhook https, para integraciones). Única tool de escritura (el resto lee). GRATIS sin API key (hasta 3 alertas activas por origen); con key Enterprise (Bearer cnsg_live_… o param api_key) sin límite. Params: categoria (inmag=índice diario; resto semanal), umbral ARS/kg vivo, direccion above|below (def above), y email O webhook_url (al menos uno; para una persona usá email). Devuelve id y precio.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoEmail al que avisar cuando cruce el umbral. Es la opción para una persona: pedíselo al usuario. Alternativa a webhook_url.
umbralYesUmbral en ARS/kg vivo (ej. 5000)
api_keyNoAPI key del plan (cnsg_live_...). Opcional si ya la pasás por el header Authorization: Bearer.
categoriaYes
direccionNoCruzar hacia arriba o abajo (default above)
webhook_urlNoURL https pública que recibe el POST cuando cruza. Para integraciones; para una persona usá email.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare basic traits (not read-only, open-world, not idempotent, not destructive). The description adds substantial behavioral context beyond that: the free-tier cap of 3 active alerts per origin, the two auth modes (Bearer key or api_key param), per-category check frequency (inmag=daily, rest weekly), threshold units (ARS/kg live), and the return value. No contradiction with annotations; readOnlyHint=false aligns with 'Crea'.

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?

Three dense sentences with zero waste: core function front-loaded, then the write-vs-read positioning, then pricing/auth, then a compact param summary, then return value. Despite covering 6 params, auth, rate limits, and delivery modes, every clause earns its place.

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 write tool with 6 params, dual delivery channels, tiered auth, and no output schema, the description is remarkably complete: it covers purpose, trigger behavior, limits, auth, param semantics, and the return value (id, precio), compensating for the missing output schema. Only minor gaps remain — the webhook POST payload shape and alert lifecycle management are not described.

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?

Schema coverage is high (83%), so the description doesn't need to re-document parameters, but it adds real value beyond the schema: the ARS/kg vivo unit for umbral, the frequency semantics per categoria, the above|below default, and the 'at least one of email/webhook_url' constraint that the schema does not encode in its required list.

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 opens with a specific verb and resource ('Crea una alerta'), defines the trigger condition (price crossing a threshold), and names the delivery channel (email/webhook). It also explicitly differentiates from siblings with 'Única tool de escritura (el resto lee)', making it unmistakable among 22 read-only 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?

The description explicitly positions the tool against alternatives: it is the only write tool while all others read, so the agent knows when to pick it. It also gives concrete routing guidance within the tool — email for a person, webhook for integrations — and states the free-tier versus Enterprise-key conditions for invoking it. No inference is required.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a specific, well-defined aspect of the cattle market domain. Overlaps are minimal and clearly disambiguated in descriptions (e.g., get_precios_hacienda vs. get_precios_detallados vs. get_indice_novillo). Even similar-sounding tools like calcular_arrendamiento and valuar_arrendamiento_campo have distinct purposes (simple calculation vs. valuation with currency options).

Naming Consistency3/5

Tool names mix Spanish and English verb patterns (e.g., 'get_indice_novillo' vs. 'buscar_consignataria', 'contratar_pro_consignataria' vs. 'list_remates'). While each subgroup (sanidad_*, get_*) maintains internal consistency, the overall naming is not unified. However, names are still descriptive and readable.

Tool Count5/5

With 22 tools, the server covers a broad domain (prices, health, directories, valuations, alerts) without feeling bloated. Each tool earns its place, providing meaningful functionality. The count is well-scoped for the Argentine cattle market context.

Completeness5/5

The tool surface covers the full lifecycle: market data (prices, indices, historical), consignment and slaughterhouse directories, health regulations and movement requirements, valuation tools, alerts, and even a buyer matching service. There are no obvious gaps for the stated purpose of a cattle market MCP server.

Resources