Skip to main content
Glama

Individual Journey – Reise-DNA

Nächste Frage

ij_next_question
Read-only

Returns the next unanswered question of the Individual Journey travel DNA. Pass all answers so far. To go back (AK-03), remove the last answer and call again: the question comes back with her previous answer marked. When all 8 are answered it says so; then call ij_profile.

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": {
      "lang": "<lang>",
      "answers": "<answers>"
    },
    "name": "ij_next_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
backNotrue if she said 'back': returns the last answered question with her answer, so she can change it
langYesLanguage of the traveller: 'de' if she writes German, 'en' if English. Follow her if she switches (AK-28).
answersYesAll answers given so far: question id → chosen option ids. Question 'unterkunft' allows several ids, all others exactly one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, but the description adds the state model that annotations cannot convey: the tool is driven entirely by the answers passed in, has a fixed length of 8 questions, and reports its own completion. What is missing is any statement about malformed or partial answer maps (e.g. an unknown question id or an option id that does not exist).

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?

Short and front-loaded: the verb-and-resource statement comes first, followed by the call protocol, the back path, and the exit. Some phrasing is awkward ('the question comes back with her previous answer marked'), and the back procedure takes space that partly duplicates and partly conflicts with the `back` parameter.

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?

There is no output schema, yet the description discloses the two outcomes that matter (a next question, or a completion signal telling you to call ij_profile). For a three-parameter conversational state-machine tool that is nearly everything an agent needs; only the treatment of invalid answer payloads 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 description coverage is 100%, including a description for the `back` boolean and the multi-select exception for 'unterkunft', so the baseline is 3. The description adds the answer-accumulation model, but it also gives back-navigation instructions ('remove the last answer and call again') that diverge from the schema's dedicated `back` flag without ever mentioning that flag, which leaves ambiguity rather than resolving it.

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?

States a specific verb and resource: 'Returns the next unanswered question of the Individual Journey travel DNA.' It also names the sibling it hands off to (ij_profile) and the terminal condition, so an agent can distinguish it from ij_start and ij_profile without opening a schema.

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?

Explicit call protocol ('Pass all answers so far'), an explicit back-navigation procedure keyed to an AK reference, and an explicit exit condition ('When all 8 are answered it says so; then call ij_profile'). It covers when to use it, how to loop it, and what to do when it is exhausted.

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