Skip to main content
Glama

Check availability

check_availability
Read-only

Check whether a vehicle type can be rented for a pickup→return window. Returns a coarse level only: 'available', 'limited' (book soon), or 'unavailable'. It does NOT return how many vehicles are free — that is confidential. ALWAYS call this before telling a visitor a vehicle is or isn't available on specific dates; never guess. A generic vehicle_type that fits several types (car, scooter, moped, 125cc, kia, cfmoto) checks every one of them: available = at least one is, and matched_types / available_types say which. A vehicle_type it does not recognise is an ERROR listing the accepted values — it never means 'unavailable'. The Jeep Wrangler Rubicon 4xe (jeep, wrangler) is request only, with no online availability: the tool says so.

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": {
      "vehicle_type": "<vehicle_type>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesYYYY-MM-DD return date.
start_dateYesYYYY-MM-DD pickup date.
vehicle_typeYesA slug from list_vehicle_types (any case: Quad, Buggy, FIAT PANDA, Auto-Car, Jeep-SUV, Scooter50, Scooter125, PREMIUM 125CC, Jeep-Wrangler), its label, or a common English or Greek word: atv / quad / quad bike / γουρούνα / τετράτροχο → Quad; buggy → Buggy; panda → FIAT PANDA; picanto → Auto-Car (KIA PICANTO); sportage → Jeep-SUV (KIA SPORTAGE TURBO); 50cc → Scooter50; jet14 → PREMIUM 125CC (SYM Jet14 125); piaggio / fiddle / symphony sr 125 → Scooter125. Generic words (car, scooter, moped, 125cc, kia, cfmoto) cover every matching type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnly and openWorld; the description goes well beyond that by disclosing the confidentiality limit on counts, the three-valued result scale, how generic types are aggregated (available = at least one, with matched_types / available_types), the error semantics for unknown types, and the request-only exception for the Jeep Wrangler Rubicon 4xe.

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 purpose and return contract, then rules in descending order of importance; each sentence carries a distinct operational fact. It is dense and slightly long, but no sentence is filler.

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?

With no output schema, the description supplies the return vocabulary and names the matched_types / available_types fields, plus the failure mode and the one special-case vehicle. That is everything an agent needs to call it and interpret the result correctly.

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; the description earns extra by explaining that a generic vehicle_type fans out across all matching types and that the response fields matched_types / available_types report which matched. It also clarifies that any-case input and the request-only jeep alias are accepted, adding meaning beyond the per-parameter descriptions.

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?

States a specific verb and resource ('Check whether a vehicle type can be rented for a pickup→return window') and immediately bounds the answer to a coarse level. It distinguishes itself from the sibling set by making clear it answers availability, not pricing or catalog lookup, and even declares what it does not return.

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 an explicit mandatory trigger ('ALWAYS call this before telling a visitor a vehicle is or isn't available... never guess') plus a negative rule that an unrecognised type is an ERROR, not 'unavailable'. It stops short of naming which sibling to use for the adjacent steps (list_vehicle_types for slugs, quote_price for pricing), so alternatives are only implied.

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