Skip to main content
Glama

Got a Plan Trip Planner

Show an answer in the planner

show_answer
Idempotent

Shows Claude's answer inside the Got a Plan planner, next to the question the traveller asked there. A message sent from the planner names the key to use in its closing note, [Got a Plan planner · answer key "K"]: pass K exactly as written inside the quotes, not when the note has no key; do not open another planner, and say one short line in the chat. The answer is plain text: a blank line starts a paragraph, a line starting with "- " is a list item, bold works. Links go in links. A newer answer under the same key replaces the older one.

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": {
      "key": "<key>",
      "answer": "<answer>"
    },
    "name": "show_answer"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe key in quotes in the planner's closing note, exactly as written
linksNoBooking pages, timetables or sources the answer mentions
answerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=false and idempotentHint=true, and the description reinforces this with the concrete overwrite rule: 'A newer answer under the same key replaces the older one.' It also discloses a side effect the annotations do not capture — writing 'one short line in the chat' — and describes the accepted text markup, which matters when composing content that will be rendered.

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?

Purpose and key-extraction rule are front-loaded, and the trailing sentences on formatting and replacement each carry distinct information. The clause 'pass K exactly as written inside the quotes, not when the note has no key' is compressed to the point of being hard to parse, which costs a point.

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?

For a 3-parameter mutation with no output schema, the description covers trigger, key extraction, text formatting, link placement, chat side effect, and overwrite semantics. It does not say what happens if the key does not match an existing question in the planner, which is the main remaining behavioral unknown.

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?

Schema coverage is 67% and the description closes much of the gap by defining the accepted answer formatting (blank line for paragraph, '- ' for list items, **bold**) and by telling the agent to put URLs in the 'links' parameter rather than inline. The key parameter is already fully documented in the schema, so the added value is concentrated on 'answer' and 'links', which is appropriate.

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 names a specific verb and resource ('Shows Claude's answer inside the Got a Plan planner, next to the question the traveller asked there'), making the write target and placement unambiguous. It is clearly distinguishable from read-oriented siblings such as planner_answers and from open_planner, which it explicitly tells the agent not to call instead.

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?

It states the trigger condition precisely ('A message sent from the planner names the key to use in its closing note'), the negative case ('not when the note has no key'), and an explicit exclusion ('do not open another planner'). The only residual gap is that it does not name which sibling to use for the no-key case, but the exclusions are strong enough for correct routing.

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.