Skip to main content
Glama

Render Destinations

render_destinations
Read-only

Render one final Flaut.Travel destination widget after all discover_destinations calls are complete. Call this tool exactly once and pass the complete structuredContent results unchanged, in the order they should be combined. Results must use the same locale; filters, pages, and limits may differ. The tool preserves first-seen search order, deduplicates cities, limits the final presentation to 20 destinations, and renders a clear empty state when every result is empty. The attached Flaut.Travel component is the complete authoritative presentation; do not recreate it as a separate carousel, card grid, list, or table.

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": {
      "results": "<results>"
    },
    "name": "render_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
resultsYesComplete structuredContent results returned by discover_destinations. Pass them unchanged, in search order, after all relevant searches are complete.

Output Schema

NameRequiredDescriptionDefault
localeYes
paginationYes
destinationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / results / items / additionalProperties
      Removed value: -false
    • removedInput schema / properties / results / items / properties / destinations / items / additionalProperties
      Removed value: -false
    • changedInput schema / properties / results / items / properties / destinations / items / properties / coordinates / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "lat": {
      -        "type": "number"
      -      },
      -      "lon": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "lat",
      -      "lon"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "lat": {
      +        "type": "number"
      +      },
      +      "lon": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "lat",
      +      "lon"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / results / items / properties / destinations / items / properties / ratings / additionalProperties
      Removed value: -false
    • removedInput schema / properties / results / items / properties / pagination / additionalProperties
      Removed value: -false
    • addedInput schema / properties / results / items / properties / pagination / properties / page / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / results / items / properties / pagination / properties / total / maximum
      Added value: +9007199254740991
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / pagination / properties / page / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / pagination / properties / total / maximum
      Added value: +9007199254740991
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already mark this read-only, non-destructive, and closed-world, and the description goes well beyond them by disclosing first-seen ordering preservation, city deduplication, a 20-destination cap, and empty-state rendering. It stops short of describing any failure modes or what happens when the 12-item results array conflicts with the stated 20-destination cap, which keeps it from a 5.

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?

Four sentences, each carrying distinct information: timing, cardinality, input invariants, and rendering behavior. The ordering constraint and the do-not-recreate warning are both front-loaded or clearly placed.

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?

An output schema exists, so return values need no explanation, and the description covers invocation timing, input fidelity, and dedup/limit behavior. The one gap is that the '20 destinations' presentation limit versus the schema's 12-item results cap and per-item 20-page limit is not reconciled.

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 100%, so the baseline is 3, but the description adds real meaning: pass results unchanged, order matters, and per-result locale must be consistent while pagination parameters may vary across entries. It does not address the schema's maxItems of 12 for the results array.

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 opens with a specific verb and resource ('Render one final Flaut.Travel destination widget') and explicitly scopes it to after 'all discover_destinations calls are complete', which cleanly separates it from the discover/search siblings in the catalog.

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 exactly when to call ('after all discover_destinations calls are complete'), how many times ('exactly once'), and how to pass input ('unchanged, in the order they should be combined'), plus the constraint that results must share a locale while filters/pages/limits may differ.

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