Skip to main content
Glama
viajante

viajante

Price history

price_history
Read-onlyIdempotent

Read locally observed prices for one route/date or hotel stay in a single currency to see first/last seen, lowest/highest, and change since the previous observation; no forecasts.

Instructions

Local read of prices this machine observed (opt-in: VIAJANTE_PRICE_HISTORY=1 in the server environment). One exact query in one currency is a series: first_seen, last_seen, lowest, highest, and the change since the previous observation. One observation reports no trend. Currencies are never merged or converted, and nothing is forecast. route is ORIGIN-DEST; date matches a departure, return, check-in or check-out; location names a hotel stay. An unreadable log gives read_error and series null: unknown, not empty. May run during a search.

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": "price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
kindNo
limitNo
routeNo
currencyNo
locationNo
query_keyNo

Output Schema

NameRequiredDescriptionDefault
statusYes
empty_noteYes
error_codeYes
observed_atYes
retry_afterYes
completenessYes
empty_reasonYes
completeness_noteYes
observed_at_basisYes
retry_after_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.7
    • addedOutput schema / properties / completeness_note
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "completeness",
      -  "empty_reason",
      -  "empty_note",
      -  "error_code",
      -  "retry_after",
      -  "retry_after_seconds",
      -  "observed_at",
      -  "observed_at_basis"
      -]New value: +[
      +  "status",
      +  "completeness",
      +  "empty_reason",
      +  "empty_note",
      +  "completeness_note",
      +  "error_code",
      +  "retry_after",
      +  "retry_after_seconds",
      +  "observed_at",
      +  "observed_at_basis"
      +]
  2. Addedv1.5.2

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, and the description still adds substantial context: the opt-in gating gate, the fact that one observation yields no trend, that currencies are never merged or converted, that nothing is forecast, and the critical error contract that an unreadable log returns read_error with series null meaning unknown rather than empty. That last point alone prevents a serious misinterpretation of a null result.

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?

Purpose and scope are front-loaded, and every sentence carries information with almost no filler. The delivery is telegraphic, with clipped fragments and colon-joined clauses, which costs a little readability but never wastes a sentence.

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?

Covers what matters for a read-only history tool: what a series contains (first_seen, last_seen, lowest, highest, change since previous observation), the error path, the gating condition, and the no-conversion/no-forecast constraints. An output schema exists, so not restating return shapes is fine; only the semantics of limit and kind remain unaddressed.

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?

With 0% schema description coverage across 7 parameters, the description must carry the meaning, and it does explain route as ORIGIN-DEST, date as matching a departure, return, check-in or check-out, location as naming a hotel stay, and currency as never converted. It leaves limit, kind, and query_key undefined, which is a real but smaller gap than the rest.

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?

States a specific verb and resource: a local read of prices this machine observed, plus the notable scope limit that data comes only from a local log. It never names or distinguishes itself against a sibling such as watch_price, which arguably overlaps, so an agent must infer the boundary rather than read it.

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?

Gives a genuine precondition (opt-in via VIAJANTE_PRICE_HISTORY=1 in the server environment) and notes it may run during a search, which hints at when the tool is usable. However, it never says when to prefer this history read over watch_price, recheck_offer, or search_dates, and offers no explicit exclusions.

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