Skip to main content
Glama

Get Bid Status

get_bid_status
Read-onlyIdempotent

Check any bids already on a booking (submitted / accepted / declined), the bid-eligible cabins with their ranges, and the current cart. Pass the sessionId from start_eligibility_check. In hosts that render app widgets it shows a manage screen inline. Use modify_bid / cancel_bid to change or withdraw a bid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdNoThe sessionId from start_eligibility_check. Optional if conversationId is passed.
conversationIdNoStable conversation id (reuses the last checked booking).
presentationReportNoREPORT WHAT YOU SHOWED: if you filtered, hid, or deprioritized ANY offer from the eligibility result before presenting to the traveler, report every offer here with shown + reason. Contains no traveler data; powers partner analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "carrierAccent": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "carrierLogo": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "carrierName": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "cart": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": false,
      -          "properties": {
      -            "items": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "amount": {
      -                    "anyOf": [
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "currency": {
      -                            "type": "string"
      -                          },
      -                          "value": {
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "value",
      -                          "currency"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      {
      -                        "type": "null"
      -                      }
      -                    ]
      -                  },
      -                  "productName": {
      -                    "type": "string"
      -                  },
      -                  "purchaseType": {
      -                    "type": "string"
      -                  },
      -                  "segment": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "productName",
      -                  "purchaseType"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "total": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "currency": {
      -                      "type": "string"
      -                    },
      -                    "value": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "required": [
      -                    "value",
      -                    "currency"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "items"
      -          ],
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "placedBids": {
      -      "description": "Placed bids (order changes) with live status, when the Open API is in play.",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "amount": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "currency": {
      -                    "type": "string"
      -                  },
      -                  "value": {
      -                    "type": "number"
      -                  }
      -                },
      -                "required": [
      -                  "value",
      -                  "currency"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "mutable": {
      -            "type": "boolean"
      -          },
      -          "orderChangeId": {
      -            "type": "string"
      -          },
      -          "productName": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "segment": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "status": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "orderChangeId",
      -          "status"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "carrierAccent": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "carrierLogo": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "carrierName": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "cart": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "items": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "amount": {
      +                    "anyOf": [
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "currency": {
      +                            "type": "string"
      +                          },
      +                          "value": {
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "value",
      +                          "currency"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      {
      +                        "type": "null"
      +                      }
      +                    ]
      +                  },
      +                  "productName": {
      +                    "type": "string"
      +                  },
      +                  "purchaseType": {
      +                    "type": "string"
      +                  },
      +                  "segment": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "productName",
      +                  "purchaseType"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "total": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "currency": {
      +                      "type": "string"
      +                    },
      +                    "value": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "value",
      +                    "currency"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "items"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "placedBids": {
      +      "description": "Placed bids (order changes) with live status, when the Open API is in play.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "amount": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "currency": {
      +                    "type": "string"
      +                  },
      +                  "value": {
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "value",
      +                  "currency"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "mutable": {
      +            "type": "boolean"
      +          },
      +          "orderChangeId": {
      +            "type": "string"
      +          },
      +          "productName": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "segment": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "orderChangeId",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / presentationReport
      Added value: +{
      +  "description": "REPORT WHAT YOU SHOWED: if you filtered, hid, or deprioritized ANY offer from the eligibility result before presenting to the traveler, report every offer here with shown + reason. Contains no traveler data; powers partner analytics.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "offerId": {
      +        "description": "The offer id from the eligibility result's 'Offer ids for presentation reporting' line.",
      +        "type": "string"
      +      },
      +      "reason": {
      +        "description": "Why it was filtered or deprioritized — supply when shown=false (over budget → REASON_PRICE_CEILING; low acceptance odds → REASON_LOW_PROBABILITY; conflicts with stated preferences → REASON_PREFERENCE_CLASH).",
      +        "enum": [
      +          "REASON_PRICE_CEILING",
      +          "REASON_LOW_PROBABILITY",
      +          "REASON_PREFERENCE_CLASH"
      +        ],
      +        "type": "string"
      +      },
      +      "shown": {
      +        "description": "Whether you actually presented this offer to the traveler.",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "offerId",
      +      "shown"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. 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 and idempotentHint, so the description correctly aligns with a read-only operation. The extra note about showing a manage screen inline in certain hosts adds behavioral context beyond the annotations, and the requirement to pass sessionId is a clear usage prerequisite. No contradictions found.

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?

Three concise sentences with no filler. The primary purpose is front-loaded, followed by a key parameter instruction and then a pointer to alternatives. Every sentence contributes useful information, making it easy to scan and parse.

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?

The description provides enough context for an agent to invoke the tool correctly: what it returns (bids, cabins, cart), how to obtain the required sessionId, and what to do for modifications. It does not specify the output format or error handling, but the lack of an output schema and the simplicity of the read-only operation make this acceptable. Minor gaps like handling missing sessionId are not critical.

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?

The description explicitly tells the agent that sessionId comes from start_eligibility_check, which is crucial for proper invocation and goes beyond the schema's generic description. It does not elaborate on presentationReport or conversationId, but the schema descriptions for these are detailed and cover 100% of parameters, so the description adds modest value without redundancy.

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 states exactly what the tool does: checks bids on a booking (with statuses), eligible cabins and ranges, and the current cart. It also names sibling tools (modify_bid, cancel_bid) to distinguish its role as a read-only check. The verb 'check' and resource 'bids' are specific and unambiguous, setting it apart from related tools.

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?

The description gives clear guidance: pass the sessionId from start_eligibility_check, and explicitly points to modify_bid / cancel_bid for changing or withdrawing a bid, which establishes a when-to-use vs when-not-to-use boundary. It does not mention other alternatives like get_eligibility_result, but for its primary purpose it is adequately scoped.

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