Skip to main content
Glama

Embodier Rails — Direct Booking for AI Agents

Get a direct quote

get_quote
Read-only

Cheapest direct quote for one property stay, taxes included, with the rail fee disclosed inside the 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": {
      "property_id": "<property_id>",
      "check_in": "<check_in>",
      "check_out": "<check_out>"
    },
    "name": "get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
guestsNo
check_inYes
check_outYes
property_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered structurally. The description adds genuinely new behavioral context: the returned price is the cheapest available, it is tax-inclusive, and the rail fee is itemized inside the quote rather than hidden — these are pricing-composition facts an agent could not derive from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence with no filler, and the most decision-relevant qualifiers (cheapest, direct, one property, taxes included) are front-loaded.

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?

The description covers what the returned quote contains but leaves the nested guests parameter, currency, and behavior for unavailable or unbookable properties unexplained, and there is no output schema to fall back on. For a four-parameter tool with zero schema coverage, this is only minimally sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the tool has four parameters, including a nested guests object with adults and children, none of which the description explains. It says nothing about whether guests affects pricing, what currency the quote is in, or how dates are interpreted, so it fails to compensate for the schema gap.

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 names a specific resource (a stay quote) and constrains it precisely: cheapest, direct, one property, taxes included. 'One property stay' implicitly separates it from get_quote_multi, but the sibling is never named, so the differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no routing to alternatives such as search_properties or get_quote_multi. The only usage signal is the implicit single-property scope embedded in 'one property stay'.

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