Skip to main content
Glama

Madar Transport

Which vehicle fits this group

recommend_vehicle
Read-onlyIdempotent

Recommends the vehicle size (and how many) for a group from the headcount (every child counts as a seat) and the luggage, using Madar's own rule: HiAce up to 13, Coaster 14–21, midibus 22–33, coach 34–50, more vehicles above that; suitcases that must be locked away start at the midibus; foreign tourist groups ride licensed tourist vehicles. Madar confirms the final size in its quote.

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": {
      "people": "<people>"
    },
    "name": "recommend_vehicle"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the answer: 'ar' (Egyptian Arabic) or 'en'. Default 'en'.
peopleYesEveryone travelling, children included
hand_bagsNoSmall bags and carry-ons
suitcasesNoFull-size suitcases
bags_locked_awayNoTrue if the bags must ride in a closed hold, not on a roof rack or inside
foreign_touristsNoTrue for a group of foreign tourists

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so safety is covered. Beyond that, the description adds genuinely useful context: the recommendation is deterministic per Madar's published thresholds and is explicitly non-binding ('Madar confirms the final size in its quote'), which tells the agent not to treat the output as a confirmed booking.

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 the action and the primary inputs, then the threshold rules, then the caveat about the quote confirming the result. It is a single dense sentence packing a lot of rule detail; the clause chain reads slightly run-on, but nearly every clause carries decision-relevant information.

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?

With 6 parameters, no output schema, and no nested objects, the definition covers what the tool returns at a high level (size plus count) and how the inputs combine into the rule. The lang parameter is left to the schema, which is acceptable given full schema coverage, but the absence of any note on the response shape or edge-case behavior keeps it short of 5.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes further and explains the operational consequence of the non-obvious flags: children occupy seats ('every child counts as a seat'), locked-away luggage forces at least a midibus, and foreign tourist groups require licensed tourist vehicles. That adds real meaning beyond the schema's terse field descriptions for bags_locked_away and foreign_tourists.

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?

Opens with a specific verb and resource: 'Recommends the vehicle size (and how many) for a group'. It also states the inputs that drive the recommendation (headcount, luggage) and the authority behind it (Madar's own rule), so an agent can tell this apart from list_fleet (enumerating vehicles) or request_quote (booking).

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 usage context is clear: call this when you have a group's headcount and luggage and need a vehicle recommendation. The closing sentence 'Madar confirms the final size in its quote' implicitly signals this is an advisory pre-step before quoting, but it never explicitly names a sibling tool to use instead for booking, so 4 rather than 5.

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