Skip to main content
Glama

Estimate a group trip fare

estimate_group_trip_fare
Read-onlyIdempotent

Indicative, dated fare ranges for hiring a vehicle with driver for a group trip in India between two places, for the vehicles that fit the group, with cost per person. Figures come from Yippigo's published fare method; verified operators quote the exact price.

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": {
      "from": "<from>",
      "to": "<to>",
      "group_size": "<group_size>"
    },
    "name": "estimate_group_trip_fare"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination, by name or slug (e.g. Statue of Unity)
daysNoTrip length in days, 1–15. Default: the usual length for the trip, as the route page shows it
fromYesPickup city or town, by name or slug (e.g. Ahmedabad)
vehicleNoOptional. A vehicle class code (sedan, suv, tt12, tt17, tt26, urbania, minibus32, coach45, coach55) or a kind (car, tempo_traveller, minibus, coach, bus).
group_sizeYesNumber of travellers, 1–200

Output Schema

NameRequiredDescriptionDefault
kmYes
toYes
daysYes
fromYes
rowsYes
as_ofYes
methodYes
km_labelYes
route_urlYes
group_sizeYes
estimate_urlYes
post_trip_urlYes
km_is_estimateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful context beyond that: results are dated ranges derived from a published fare method rather than authoritative prices, and exact pricing requires a verified operator. It does not describe result shape or how vehicle classes are resolved, but with an output schema present that gap is minor.

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?

Everything is packed into one sentence with no filler, and the key qualifier ('Indicative') is front-loaded. The sentence is long and clause-heavy, which slightly hurts scannability, but no phrase is redundant.

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 estimation tool with a fully documented five-parameter schema and an output schema, the description covers the essentials: what is returned, its reliability, and that group size filters the vehicle set. The remaining gap is routing guidance relative to sibling tools, which is a usage concern rather than a completeness one.

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% and the vehicle enum-like codes and day range are fully documented there, so the baseline is 3. The description adds only marginal meaning, notably that results are limited to vehicles that fit the group size, which hints at how group_size constrains output. It says nothing further about defaults or how days affects the estimate.

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 states a specific verb-and-resource pair: indicative fare ranges for hiring a vehicle with driver on a group trip between two places in India, with per-person cost. That is far more precise than the title, and it clearly implies a distinct role from suggest_vehicle_for_group or get_route_info. It stops short of naming a sibling, so an agent must infer the boundary itself.

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 only usage shading is implicit: 'Indicative' plus 'verified operators quote the exact price' signals this is for budgeting, not booking. There is no explicit when-to-use statement, no mention of prerequisites, and no pointer to the sibling an agent should call instead when it wants a vehicle recommendation or an exact quote.

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