Skip to main content
Glama

Trip status

trip_status
Read-onlyIdempotent

How a trip build is going, by its build id: while it builds, what it is working on; when it is ready, the total price in Indian rupees, nights, hotel (with its star rating and guest score out of 10) and number of activities per city, the order of the cities and why when AlgoTrips changed it, a day-by-day outline with the flights, and the link to open and book it on AlgoTrips. Needs the person to be signed in.

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": {
      "buildId": "<buildId>"
    },
    "name": "trip_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
buildIdYesThe build id returned when the trip build started.

Output Schema

NameRequiredDescriptionDefault
daysNo
linkNo
orderNoThe order the cities are visited in and why, only when AlgoTrips changed the order the person gave.
stepsNo
titleNo
totalNo
citiesNo
statusYes
flightsNo
messageYes
policyLinkNo
flightsWithoutFareNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: an authentication prerequisite ("Needs the person to be signed in") and a two-phase response model (in-progress work vs. a ready, priced, bookable trip).

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 purpose is front-loaded in the first clause, which is good, but the whole thing is one long run-on sentence with a dense embedded enumeration of return fields that extends well past what the agent needs to select and call the tool.

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?

With one required parameter and a full output schema, the description needs to cover purpose, auth, and state transitions, and it does all three. The only shortfall is that the return-value enumeration duplicates the output schema rather than spending words on polling semantics.

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?

The single buildId parameter is fully documented in the schema at 100% coverage, including its UUID pattern and provenance. The description only restates that the lookup is by build id, adding no format or sourcing detail beyond the schema, so baseline 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?

The description states a specific resource and retrieval key: how a trip build is going, looked up by build id. That is clearly distinct from siblings like plan_trip (which starts a build) and my_trips (which lists them), though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the poll-after-start tool for a build id, but there is no explicit when-to-use, when-not-to-use, or guidance on repeated polling (interval, terminal states beyond ready).

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