Skip to main content
Glama

Quote a BinaSmart ride

quote_ride
Read-only

Fixed upfront price for a ride inside Addis Ababa, Ethiopia — no surge, cash or telebirr/Chapa. Returns distance, ETA and the fare for every vehicle tier (moto, bajaj, economy, comfort, XL). request_ride books at the fare this returns. Also returns book_url: a one-tap bina.et link with this route and fare for the user to confirm.

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": {
      "pickup": "<pickup>",
      "dropoff": "<dropoff>"
    },
    "name": "quote_ride"
  }
}

Input Schema

NameRequiredDescriptionDefault
pickupYesPickup: a place name in Addis Ababa (e.g. "Edna Mall", "Bole Airport", "Piassa") or "lat,lng" like "9.0108,38.7578".
dropoffYesDrop-off: a place name in Addis Ababa (e.g. "Edna Mall", "Bole Airport", "Piassa") or "lat,lng" like "9.0108,38.7578".

Output Schema

NameRequiredDescriptionDefault
noteNoHow to use or present this result
pickupNoResolved pickup place
quotesNoFixed fare for each vehicle tier
dropoffNoResolved drop-off place
eta_minNoTrip time in minutes
book_urlNobina.et/ride link with this route for the user to confirm
estimateNotrue when the route time is an estimate
source_urlNobina.et page this result comes from; cite it
distance_kmNoRoute distance in km
pickup_coordsNoPickup "lat,lng"
dropoff_coordsNoDrop-off "lat,lng"
drivers_availableNofalse when no driver is free near the pickup right now: say so before booking

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / drivers_available
      Added value: +{
      +  "description": "false when no driver is free near the pickup right now: say so before booking",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / quotes / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "book_url": {
      -          "description": "bina.et/ride link for this tier",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "eta_min": {
      -          "description": "Driver arrival estimate in minutes",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "fare_etb": {
      -          "description": "Fixed fare in birr",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "label": {
      -          "description": "Tier name",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "label_am": {
      -          "description": "Tier name in Amharic",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "seats": {
      -          "description": "Seats",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "tier": {
      -          "description": "Tier id to pass to request_ride",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "book_url": {
      +          "description": "bina.et/ride link for this tier",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "drivers_near": {
      +          "description": "Drivers who could come to this pickup now; 0 means request_ride will be refused",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "eta_min": {
      +          "description": "Driver arrival estimate in minutes",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "fare_etb": {
      +          "description": "Fixed fare in birr",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "label": {
      +          "description": "Tier name",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "label_am": {
      +          "description": "Tier name in Amharic",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "seats": {
      +          "description": "Seats",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "tier": {
      +          "description": "Tier id to pass to request_ride",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "book_url": {
      +      "description": "bina.et/ride link with this route for the user to confirm",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "distance_km": {
      +      "description": "Route distance in km",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "dropoff": {
      +      "description": "Resolved drop-off place",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "dropoff_coords": {
      +      "description": "Drop-off \"lat,lng\"",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "estimate": {
      +      "description": "true when the route time is an estimate",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "eta_min": {
      +      "description": "Trip time in minutes",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "description": "How to use or present this result",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "pickup": {
      +      "description": "Resolved pickup place",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "pickup_coords": {
      +      "description": "Pickup \"lat,lng\"",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "quotes": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "book_url": {
      +                "description": "bina.et/ride link for this tier",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "eta_min": {
      +                "description": "Driver arrival estimate in minutes",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "fare_etb": {
      +                "description": "Fixed fare in birr",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "label": {
      +                "description": "Tier name",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "label_am": {
      +                "description": "Tier name in Amharic",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "seats": {
      +                "description": "Seats",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "tier": {
      +                "description": "Tier id to pass to request_ride",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Fixed fare for each vehicle tier"
      +    },
      +    "source_url": {
      +      "description": "bina.et page this result comes from; cite it",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only say readOnlyHint=true and openWorldHint=false; the description adds genuinely new behavior: no surge pricing, payment via cash or telebirr/Chapa, and a book_url one-tap confirm link returned alongside the fare. It does not cover failure behavior (e.g., what happens for an unresolvable place name) or whether quotes expire, which keeps it from a 5.

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?

Pricing model and coverage are front-loaded in the first clause, and the tier list is compact. The final sentence about book_url is slightly redundant with the output schema, though it earns its place by explaining the user-confirmation flow.

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

Completeness5/5

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

For a two-parameter read-only tool with a full output schema, the definition supplies everything an agent needs: what is priced, where it is valid, the payment options, what is returned, and how it chains into request_ride. Return-value detail is correctly left to the output schema rather than duplicated.

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%, with pickup and dropoff already documenting place-name or 'lat,lng' formats and Addis Ababa examples, so the baseline is 3. The description reinforces the Addis-only scope and calls it 'this route' but adds no format or validation detail beyond the schema.

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 names a specific resource (a fixed upfront ride price inside Addis Ababa) and enumerates exactly what comes back: distance, ETA, and fare per vehicle tier (moto, bajaj, economy, comfort, XL). It also positions itself against the sibling by stating 'request_ride books at the fare this returns,' so an agent can distinguish quote from booking without opening either schema.

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?

The relationship 'request_ride books at the fare this returns' plus the presence of book_url establishes a clear quote-then-book flow, and the geographic constraint 'inside Addis Ababa' tells the agent when this tool does not apply. It stops short of an explicit 'call this first / do not call for intercity trips' instruction, so it is strong context rather than a full when/when-not rule set.

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