Skip to main content
Glama

Submit an ENQUIRY to FlightDelayHQ (two steps; not a purchase)

submit_enquiry

Submits an enquiry to FlightDelayHQ: NOT a purchase, NOT a guaranteed quote. Step 1: call with the answers (keyed by field key from enquiry_fields) and consent=true; it validates and returns a summary, the consent line and a confirmation token; show the person the summary and the consent line. Step 2: only if the person agrees, call again with the same answers, consent=true and the confirmation token; the enquiry is then submitted, and the person receives an email with a link they must click before the FlightDelayHQ team sees it. Consent means the person has read and agreed to: "By submitting you agree FlightDelayHQ may reply to your question by email. We do not sell your details to anyone."

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

Input Schema

NameRequiredDescriptionDefault
answersYesthe person's answers, keyed by field key
consentYestrue only when the person has agreed to: By submitting you agree FlightDelayHQ may reply to your question by email. We do not sell your details to anyone.
confirmationNothe confirmation token from step 1, after the person has approved the summary

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does most of it well: it discloses the two-phase validate-then-submit pattern, that step 1 is side-effect-free, that step 2 triggers an email requiring a click before the FlightDelayHQ team sees the enquiry, and that no purchase or guaranteed quote occurs. It does not say how validation failures are reported or whether repeating step 2 re-sends the email, which leaves a real gap for a mutation tool with zero annotation coverage.

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 two-step structure with explicit "Step 1:" / "Step 2:" labels is well front-loaded and easy to follow. The verbatim consent sentence appears both here and in the schema, and the trailing sentence is long, but the duplication is defensible because the agent must display the exact wording to the person.

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?

For a nested-object, no-output-schema, multi-step mutation, the description covers the step 1 return payload (summary, consent line, confirmation token) that the agent needs to proceed, plus the downstream email verification. It is slightly thin on the terminal response shape after step 2 and on error/failure behavior.

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

Parameters5/5

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

Although schema coverage is 100%, the description adds meaning the schema cannot: answers must be keyed by the field keys obtained from enquiry_fields, consent=true is only legitimate after the person has seen the exact consent line, and confirmation must be the token returned by step 1 after summary approval. These are genuine procedural semantics, not restatements of 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 gives a specific verb+resource ("Submits an enquiry to FlightDelayHQ") and immediately bounds it with "NOT a purchase, NOT a guaranteed quote," which prevents the most likely misread. It is clearly distinct from the sibling field-discovery tools (enquiry_fields, enquiry_describe) that the same agent will call first.

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 lays out an explicit call sequence: step 1 with answers + consent=true to validate, step 2 only "if the person agrees" with the added confirmation token. The gating condition (human approval of the summary) is stated, not implied, and the description points at enquiry_fields as the source of the field keys.

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