Skip to main content
Glama

Último precio

precio_ultimo
Read-onlyIdempotent

Latest published price of a series (by its identifier) or of the products matching a text: price, date and week, the previous figure, whether it went up («sube»), down («baja») or stayed the same («repite»), source, licence and a link to its page with chart and history. — Último precio de una serie o de un producto, con su fuente y su fecha.

Input Schema

NameRequiredDescriptionDefault
serieNoExact identifier (e.g. gva-clementinas-clemenules, mapa-trigo-blando, gasoleo-b-espana).
ambitoNoOptional, with producto: «España», «Comunitat Valenciana», «Lonja de Salamanca» or a province.
limiteNoOptional, with producto: how many matching series to return (5 by default, at most 20).
productoNoText to search for if you do not know the identifier, in English, Spanish or Valencian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / limite / description
      Added value: +"Optional, with producto: how many matching series to return (5 by default, at most 20)."
  2. Changed3 schema fields changed
    • changedInput schema / properties / ambito / description
      Previous value: -"Opcional, con producto: «España», «Comunitat Valenciana», «Lonja de Salamanca» o una provincia."New value: +"Optional, with producto: «España», «Comunitat Valenciana», «Lonja de Salamanca» or a province."
    • changedInput schema / properties / producto / description
      Previous value: -"Texto a buscar si no sabes el identificador."New value: +"Text to search for if you do not know the identifier, in English, Spanish or Valencian."
    • changedInput schema / properties / serie / description
      Previous value: -"Identificador exacto (p. ej. gva-clementinas-clemenules, mapa-trigo-blando, gasoleo-b-espana)."New value: +"Exact identifier (e.g. gva-clementinas-clemenules, mapa-trigo-blando, gasoleo-b-espana)."
  3. Changed1 schema field changed
    • changedInput schema / properties / ambito / description
      Previous value: -"Opcional, con producto: «España», «Comunitat Valenciana» o una provincia."New value: +"Opcional, con producto: «España», «Comunitat Valenciana», «Lonja de Salamanca» o una provincia."
  4. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive, and closed-world, so the safety profile is done. The description adds useful behavioral detail beyond that: it discloses the returned payload (price, date, week, previous figure, trend as sube/baja/repite, source, licence, and a link with chart and history).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is dense, front-loaded, and information-rich, but the trailing Spanish sentence mostly restates it ('Último precio de una serie o de un producto, con su fuente y su fecha'), adding only the words 'source' and 'date', which were already present. Bilingual duplication costs space without adding agent-relevant meaning.

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 read-only lookup tool with zero required parameters and no output schema, the description covers both input modes and enumerates the return payload, which is what an agent needs before calling it. Only the routing against sibling tools is missing.

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 the baseline is 3. The description reinforces the serie-versus-producto semantics ('by its identifier' versus 'products matching a text') but adds nothing about ambito, limite, or whether serie and producto are mutually exclusive.

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 specific resource and verb: 'Latest published price' of a series or of products matching a text. It clearly distinguishes the two lookup modes (exact identifier versus text search). It does not differentiate itself from siblings such as buscar_producto or historico, which likely overlap with the text-search path.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The two modes (identifier versus text) imply when to use the tool, and the schema notes that 'producto' is for when the identifier is unknown. However, the description never names alternatives like historico (for history) or buscar_producto (for discovery), nor states any exclusions.

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