Skip to main content
Glama

Empty Leg Index

Submit an enquiry

submit_enquiry

Store an enquiry about one published leg and return a reference. The result includes the sentence "No booking or payment made; the operator will contact you / enquire via their link" and the operator or broker's own booking URL. It does not reserve a seat, charge a card, or confirm the flight still exists. Call it only after the person has asked to enquire and has given their name, email, passenger count, and agreement to be contacted. consent must be the boolean true.

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": {
      "leg_id": "<leg_id>",
      "name": "<name>",
      "email": "<email>",
      "passengers": "<passengers>",
      "consent": "<consent>"
    },
    "name": "submit_enquiry"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the person who wants to be contacted. 1 to 200 characters.
emailYesEmail address of that person. The operator or broker is who follows up.
notesNoOptional note, at most 2000 characters. Omit it when there is nothing to add.
leg_idYesId of a published leg, as returned by search_empty_legs. Example: leg-ltn-nce.
consentYesMust be the boolean true. That means the person agreed to be contacted about this leg. Any other value is rejected, and the enquiry is not stored.
passengersYesHow many people would fly. A whole number from 1 to 19. This does not reserve seats.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the mutation profile is known. The description adds real value beyond that by disclosing what gets returned (a reference, a fixed disclaimer sentence, and the operator's own booking URL) and by stating nothing is charged or reserved. It does not mention whether repeated submissions create duplicate enquiries, which matters given idempotentHint=false.

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?

The definition is front-loaded with the action and its result, then follows with scope exclusions and preconditions, with no filler sentences. The only weakness is mild redundancy: consent is covered once in the precondition list and again in the closing 'consent must be the boolean true' sentence.

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?

There is no output schema, and the description compensates by describing the return payload, including the disclaimer sentence and the operator booking URL. For a five-required-parameter mutation tool with full annotation coverage, nothing an agent needs to call it safely is missing beyond duplicate-submission behavior.

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%, so every parameter, including the const-true consent field and the 1-19 passenger bound, is already documented in the schema. The description adds meaning only at the margins, such as tying leg_id to a 'published leg' sourced elsewhere and reiterating the consent semantics; the baseline 3 is appropriate when the schema carries the burden.

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 uses a specific verb and resource ('Store an enquiry about one published leg and return a reference') and immediately scopes what it is not ('does not reserve a seat, charge a card, or confirm the flight still exists'). An agent can distinguish this from a booking tool or from a read-only leg lookup without opening the schema.

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

Usage Guidelines5/5

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

It states an explicit precondition: 'Call it only after the person has asked to enquire and has given their name, email, passenger count, and agreement to be contacted.' Combined with the negative scope statements, the agent knows both when to invoke it and what it must never be used to imply.

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