Skip to main content
Glama

HubVibe: Pay-per-Call Agent Tools: Web Search, Email Verify, KYC Screening, Stocks, Crypto, News

Traffic-aware travel time and distance between two places

hubvibe_traffic_route
Read-onlyIdempotent

Travel time with live traffic between two places, from the Google Routes API at call time: duration with traffic, duration without, the delay, distance, route description, warnings and advisories. Places as addresses, names or 'lat,lng'. Use it for ETAs, delivery windows and trip planning. Input: origin, destination; optional travel_mode, departure_time, traffic. $0.10 per call.

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": {
      "origin": "<origin>",
      "destination": "<destination>"
    },
    "name": "hubvibe_traffic_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
originYes
trafficNo
languageNo
destinationYes
travel_modeNo
departure_timeNo

Output Schema

NameRequiredDescriptionDefault
resultYes
statusYes
workerYes
price_usdYes
receipt_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • removedInput schema / properties / departure_time / description
      Removed value: -"RFC 3339 departure time in the future (2026-09-27T16:30:00Z); omit to leave now."
    • removedInput schema / properties / destination / description
      Removed value: -"Where the trip ends: an address, a place name, or \"lat,lng\"."
    • removedInput schema / properties / language / description
      Removed value: -"Optional BCP-47 language tag (en, ja, ko, pt-BR): the human-readable strings of the result (notes, details, reasons) are translated into this language; data, codes, numbers and URLs are untouched. Default: as produced."
    • removedInput schema / properties / origin / description
      Removed value: -"Where the trip starts: an address, a place name, or \"lat,lng\"."
    • removedInput schema / properties / traffic / description
      Removed value: -"aware (default): live traffic; optimal: live traffic with the best route quality, slower; none: no traffic."
    • removedInput schema / properties / travel_mode / description
      Removed value: -"Default DRIVE. Traffic applies to DRIVE and TWO_WHEELER only."
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / properties / attribution
      Removed value: -{
      -  "items": {},
      -  "type": "array"
      -}
    • removedOutput schema / properties / billing_warning
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / provenance
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / receipt_id
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / status / type
      Removed value: -"string"
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "worker",
      -  "price_usd",
      -  "result",
      -  "provenance",
      -  "receipt_id",
      -  "receipt_url"
      -]New value: +[
      +  "status",
      +  "worker",
      +  "price_usd",
      +  "result",
      +  "receipt_url"
      +]
  2. Changed23 schema fields changed
    • removedOutput schema / description
      Removed value: -"The 200 body of every paid /work call. `result` is the worker's own output (its schema is per route); everything else is the same on every /work route. A receipt for the job is at `receipt_url`."
    • removedOutput schema / properties / attribution / description
      Removed value: -"Present only when the result's text was machine-translated: the credit to show with it."
    • removedOutput schema / properties / attribution / items / description
      Removed value: -"A credit."
    • removedOutput schema / properties / attribution / items / properties
      Removed value: -{
      -  "text": {
      -    "description": "Credit.",
      -    "examples": [
      -      "Translated by Google"
      -    ],
      -    "type": "string"
      -  },
      -  "url": {
      -    "description": "Link.",
      -    "examples": [
      -      "https://translate.google.com"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / attribution / items / required
      Removed value: -[
      -  "text",
      -  "url"
      -]
    • removedOutput schema / properties / attribution / items / type
      Removed value: -"object"
    • removedOutput schema / properties / billing_warning / description
      Removed value: -"Present only when the charge was recorded with a caveat."
    • removedOutput schema / properties / billing_warning / examples
      Removed value: -[
      -  "settlement pending"
      -]
    • removedOutput schema / properties / price_usd / description
      Removed value: -"What this call cost, in USD."
    • removedOutput schema / properties / price_usd / examples
      Removed value: -[
      -  0.02
      -]
    • removedOutput schema / properties / provenance / description
      Removed value: -"How the result was produced: which providers ran and how long each took."
    • removedOutput schema / properties / provenance / properties
      Removed value: -{
      -  "attempts": {
      -    "description": "Provider attempts made, including retries and failovers.",
      -    "examples": [
      -      1
      -    ],
      -    "type": "integer"
      -  },
      -  "elapsed_ms": {
      -    "description": "Wall-clock milliseconds for the whole job.",
      -    "examples": [
      -      340
      -    ],
      -    "type": "integer"
      -  },
      -  "providers_used": {
      -    "description": "Providers that served the job.",
      -    "examples": [
      -      [
      -        "coinbase-advanced-trade-public"
      -      ]
      -    ],
      -    "items": {
      -      "description": "Provider name.",
      -      "examples": [
      -        "coinbase-advanced-trade-public"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "steps": {
      -    "description": "Every step the job ran, in order.",
      -    "items": {
      -      "description": "One step of the job.",
      -      "properties": {
      -        "ms": {
      -          "description": "Milliseconds the step took.",
      -          "examples": [
      -            312
      -          ],
      -          "type": "integer"
      -        },
      -        "ok": {
      -          "description": "Whether the step succeeded.",
      -          "examples": [
      -            true
      -          ],
      -          "type": "boolean"
      -        },
      -        "provider": {
      -          "description": "Provider that served the step.",
      -          "examples": [
      -            "coinbase-advanced-trade-public"
      -          ],
      -          "type": "string"
      -        },
      -        "reason": {
      -          "description": "Failure reason, on a failed step.",
      -          "examples": [
      -            "provider_timeout"
      -          ],
      -          "type": "string"
      -        },
      -        "step": {
      -          "description": "Step name inside the worker.",
      -          "examples": [
      -            "quote"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "step",
      -        "ok",
      -        "ms"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / properties / provenance / required
      Removed value: -[
      -  "steps",
      -  "providers_used",
      -  "attempts",
      -  "elapsed_ms"
      -]
    • removedOutput schema / properties / receipt_id / description
      Removed value: -"Receipt id for this job."
    • removedOutput schema / properties / receipt_id / examples
      Removed value: -[
      -  "rcpt_9f1c2b3a4d5e6f70"
      -]
    • removedOutput schema / properties / receipt_url / description
      Removed value: -"Where to fetch the machine-readable receipt (free, no payment)."
    • removedOutput schema / properties / receipt_url / examples
      Removed value: -[
      -  "/work/receipts/rcpt_9f1c2b3a4d5e6f70"
      -]
    • removedOutput schema / properties / result / properties
      Removed value: -{
      -  "advisory": {
      -    "description": "Google's travelAdvisory object for the route (tolls, speed reading intervals, fuel) exactly as returned, {} when it has nothing to say; null when absent.",
      -    "properties": {},
      -    "required": [],
      -    "type": [
      -      "object",
      -      "null"
      -    ]
      -  },
      -  "as_of": {
      -    "description": "The departure time the answer was computed for: `departure_time`, else `checked_at`.",
      -    "examples": [
      -      "2026-09-27T16:30:00Z"
      -    ],
      -    "type": "string"
      -  },
      -  "checked_at": {
      -    "description": "When this node read the source (UTC). Nothing here is cached.",
      -    "examples": [
      -      "2026-09-26T18:00:00Z"
      -    ],
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "delay_seconds": {
      -    "description": "duration_seconds minus static_duration_seconds (negative when traffic is lighter than typical); null when either is unknown.",
      -    "examples": [
      -      -129
      -    ],
      -    "type": [
      -      "integer",
      -      "null"
      -    ]
      -  },
      -  "departure_time": {
      -    "description": "Departure time sent to Google (RFC 3339, UTC); null when the trip starts now.",
      -    "examples": [
      -      "2026-09-27T16:30:00Z"
      -    ],
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "description": {
      -    "description": "Route description as Google names it (main roads); null when not given.",
      -    "examples": [
      -      "I-80 E and I-580 E"
      -    ],
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "destination": {
      -    "description": "Destination as given.",
      -    "examples": [
      -      "Oakland City Hall, Oakland, CA"
      -    ],
      -    "type": "string"
      -  },
      -  "distance_meters": {
      -    "description": "Route length in metres.",
      -    "examples": [
      -      17011
      -    ],
      -    "type": "integer"
      -  },
      -  "distance_text": {
      -    "description": "Google's localized distance (metric).",
      -    "examples": [
      -      "17.0 km"
      -    ],
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "duration_seconds": {
      -    "description": "Travel time in seconds, with traffic when `traffic` is aware or optimal.",
      -    "examples": [
      -      1152
      -    ],
      -    "type": "integer"
      -  },
      -  "duration_text": {
      -    "description": "Google's localized travel time.",
      -    "examples": [
      -      "19 mins"
      -    ],
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "origin": {
      -    "description": "Origin as given.",
      -    "examples": [
      -      "Ferry Building, San Francisco, CA"
      -    ],
      -    "type": "string"
      -  },
      -  "source": {
      -    "const": "google-routes",
      -    "description": "Data source: Google Routes API computeRoutes.",
      -    "type": "string"
      -  },
      -  "static_duration_seconds": {
      -    "description": "Travel time in seconds without traffic; null when Google does not state it.",
      -    "examples": [
      -      1281
      -    ],
      -    "type": [
      -      "integer",
      -      "null"
      -    ]
      -  },
      -  "static_duration_text": {
      -    "description": "Google's localized travel time without traffic.",
      -    "examples": [
      -      "21 mins"
      -    ],
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "traffic": {
      -    "description": "Traffic handling used: aware (live traffic), optimal (live traffic, best route quality), none (no traffic; always none for WALK, BICYCLE and TRANSIT).",
      -    "enum": [
      -      "aware",
      -      "optimal",
      -      "none"
      -    ],
      -    "examples": [
      -      "aware"
      -    ],
      -    "type": "string"
      -  },
      -  "travel_mode": {
      -    "description": "Travel mode used.",
      -    "enum": [
      -      "DRIVE",
      -      "TWO_WHEELER",
      -      "WALK",
      -      "BICYCLE",
      -      "TRANSIT"
      -    ],
      -    "examples": [
      -      "DRIVE"
      -    ],
      -    "type": "string"
      -  },
      -  "warnings": {
      -    "description": "Google's warnings for the route, in the order given; empty when none.",
      -    "examples": [
      -      []
      -    ],
      -    "items": {
      -      "description": "A warning Google attaches to the route.",
      -      "examples": [
      -        "This route has tolls."
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / properties / result / required
      Removed value: -[
      -  "origin",
      -  "destination",
      -  "travel_mode",
      -  "traffic",
      -  "departure_time",
      -  "distance_meters",
      -  "duration_seconds",
      -  "static_duration_seconds",
      -  "delay_seconds",
      -  "duration_text",
      -  "static_duration_text",
      -  "distance_text",
      -  "description",
      -  "warnings",
      -  "advisory",
      -  "source",
      -  "as_of",
      -  "checked_at"
      -]
    • removedOutput schema / properties / status / description
      Removed value: -"Present only on a delivered result."
    • removedOutput schema / properties / worker / description
      Removed value: -"Catalog name of the worker that ran."
    • removedOutput schema / properties / worker / examples
      Removed value: -[
      -  "market.quote"
      -]
    • removedOutput schema / title
      Removed value: -"traffic.route response"
  3. Changed1 schema field changed
    • addedOutput schema / properties / attribution
      Added value: +{
      +  "description": "Present only when the result's text was machine-translated: the credit to show with it.",
      +  "items": {
      +    "description": "A credit.",
      +    "properties": {
      +      "text": {
      +        "description": "Credit.",
      +        "examples": [
      +          "Translated by Google"
      +        ],
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Link.",
      +        "examples": [
      +          "https://translate.google.com"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Optional BCP-47 language tag (en, ja, ko, pt-BR): the human-readable strings of the result (notes, details, reasons) are translated into this language; data, codes, numbers and URLs are untouched. Default: as produced.",
      +  "maxLength": 35,
      +  "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
      +  "type": "string"
      +}
  5. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the safety profile is covered. The description adds information those annotations cannot: traffic is live at call time, the response includes warnings and advisories, and each call costs $0.10 — cost and freshness are exactly the kind of context an agent needs.

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-loaded with purpose, then behavior, then usage, then inputs, then price — a sensible ordering with no filler prose. The 'Input: origin, destination…' sentence partly restates the schema, which is the only mildly redundant part.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Good coverage of cost, freshness and returned fields for a 6-parameter tool, and the output schema removes the need to describe the return body. However, with 0% schema description coverage the definition should have explained the mode/traffic enums and the undocumented language parameter, which it does not.

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 0%, so the description must compensate; it names origin, destination, travel_mode, departure_time and traffic, and usefully specifies that places may be addresses, names or 'lat,lng'. But it omits the sixth parameter (language) and does not explain the enum values for travel_mode or traffic, leaving the agent to read the schema for the choices that matter most.

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?

Opens with a specific verb+resource+qualifier: 'Travel time with live traffic between two places', and names the upstream source (Google Routes API) and data freshness ('at call time'). It does not, however, distinguish itself from the sibling hubvibe_maps_route, which an agent could plausibly confuse it with.

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 concrete use cases (ETAs, delivery windows, trip planning) that tell the agent when this tool is the right pick. It stops short of exclusions or naming alternatives such as hubvibe_maps_route, so the agent must infer when not to use it.

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.