Skip to main content
Glama

Get the next thing to check

get_next_action
Read-only

Returns the single next thing to fix, verify, decide or fill in on the current version. Runs the checks first if they have not run.

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": {
      "trip_id": "<trip_id>"
    },
    "name": "get_next_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
trip_idYes

Output Schema

NameRequiredDescriptionDefault
tripNo
acceptedNo
next_actionNo
preferencesNo
couldnt_checkNo
provenance_rulesNoFacts are sourced, unverified, stale or not_checked. Prices are live, estimate or none; hotel and flight prices are never estimated.
couldnt_check_moreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, non-destructive, closed-world), and the description adds a real, non-obvious behavioral trait: it may kick off checks as a side effect if they have not run. It still leaves unclear what is returned when nothing remains to be fixed.

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?

Two short, front-loaded sentences with no filler. The behavioral caveat about running checks is placed second, after the core purpose is established.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The presence of an output schema relieves it of explaining return values, and it covers the side-effect behavior well. However, for a 1-required-parameter tool with no schema documentation, the description should say what trip_id represents and what the terminal/empty case means.

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

Parameters2/5

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

Schema description coverage is 0% and the description never mentions the one required parameter, trip_id, nor explains how it relates to 'the current version.' Some meaning is inferable from the name, but the description does not compensate for the uncovered schema.

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?

States a specific verb (returns) and a specific resource (the single next action item: fix, verify, decide, or fill in) scoped to 'the current version.' An agent can tell this is a workflow-driver tool rather than a listing tool like show_findings, though no sibling is named.

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: the phrasing 'the single next thing' suggests an iterative loop for working through open issues, but there is no explicit when-to-use, no when-not-to-use, and no named alternative (e.g., show_findings vs. this tool).

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