Skip to main content
Glama

Read an intent

brij_get_intent
Read-onlyIdempotent

Free over MCP (the x402 price quoted below applies to the HTTP API only; MCP calls are rate-limited instead). Works for flight, hotel and shopping intents.

Fetch a booking intent by id.

Free. Poll it after /air/book: status moves to booked once the escrow is captured, and booking_reference carries the airline PNR as soon as the ticket is issued. A booking is finished for the traveller when booking_reference is present: relay it to them.

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": {
      "intent_id": "<intent_id>"
    },
    "name": "brij_get_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
intent_idYesThe intent id returned when the intent was created.

Output Schema

NameRequiredDescriptionDefault
intentNoRead-only projection of a booking intent. Omits customer_support_code, promo_code and passenger PII; those fields are returned once at intent-creation and /book time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / intent / description
      Previous value: -"Read-only projection of a booking intent. Omits customer_support_code and passenger PII; those fields are returned once at intent-creation and /book time."New value: +"Read-only projection of a booking intent. Omits customer_support_code, promo_code and passenger PII; those fields are returned once at intent-creation and /book time."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With readOnlyHint/idempotentHint already declared, the description still adds real value: MCP calls are rate-limited rather than billed, and status only moves to "booked" after escrow capture. However, it leaves the full status vocabulary undefined (only "booked" is named) and never says what happens when the intent id is unknown or the poll is too early — notable gaps for a polling tool.

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

Conciseness3/5

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

The core instruction is front-loaded, but "Free over MCP (...)" and the standalone "Free." later are redundant, and the x402 pricing note references a "price quoted below" that does not exist in this text. The multi-paragraph layout mixes pricing policy, state-machine behavior, and agent instructions without a clear ordering.

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?

An output schema exists, so return values need not be enumerated, yet the description still highlights the two fields that matter operationally (status, booking_reference). For a single-parameter read tool that is close to complete; only the broader status enumeration is left unstated.

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 coverage is 100% and the single intent_id parameter is already documented as "the intent id returned when the intent was created." The description adds no syntax, format, or sourcing detail beyond the schema, so the baseline of 3 applies.

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?

"Fetch a booking intent by id" states a specific verb (fetch) and resource (booking intent), and "Works for flight, hotel and shopping intents" clarifies that one tool covers all three intent domains rather than being domain-specific like the create_flight/hotel/shop_intent siblings. It stops short of naming any sibling tool, so the differentiation is implicit rather than explicit.

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?

"Poll it after /air/book" gives concrete when-to-use guidance tied to a workflow step, and "A booking is finished for the traveller when booking_reference is present: relay it to them" tells the agent what to do with the result. Missing are exclusions — e.g. whether to use get_flight_order vs this tool once booking is complete.

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