Skip to main content
Glama

Trek layer WMTS tile URLs

nasa_trek_tile_url
Read-onlyIdempotent

Resolve a NASA Solar System Treks layer to its WMTS endpoint, capabilities URL, tile URL template, and sample tile for loading in Leaflet, OpenLayers, QGIS, or other web maps.

Instructions

Resolve one Solar System Treks layer to its WMTS endpoint, capabilities URL, tile URL template, tile matrix set and a level-0 sample tile, ready for a web map (Leaflet, OpenLayers, QGIS). Level 0 is 2 columns by 1 row. Next: open sample_tile_url or load capabilities_url in a GIS.

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": {
      "body": "<body>",
      "uuid": "<uuid>"
    },
    "name": "nasa_trek_tile_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesmoon, mars or vesta.
uuidYesLayer uuid from nasa_trek_list_layers.

Output Schema

NameRequiredDescriptionDefault
bodyYes
uuidYes
notesNo
sourceNo
formatsNo
layerIdNo
endpointYes
resolvedNo
nextStepsNo
tileTemplateNo
sampleTileUrlNo
tileMatrixSetNo
capabilitiesUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world behavior, so the description's job is lighter. It still adds real detail beyond them: the sample tile is a concrete level-0 artifact with a 2-column by 1-row grid, and the URLs are external WMTS endpoints intended for third-party map clients.

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 sentences, front-loaded with the core action and outputs, followed by the one non-obvious constraint and the next step. Nothing is padded or restated.

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 an output schema present, the return-value enumeration is partly redundant, and the description doesn't explain how to get the required uuid beyond the schema note. For a two-parameter read tool with rich annotations, however, an agent has everything needed to call it correctly.

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 coverage is 100% and the schema already documents both parameters, including the moon/mars/vesta enum and the uuid pattern with its source tool. The description adds no meaning beyond that, so the baseline 3 applies.

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?

Specific verb 'Resolve' plus a precise resource ('one Solar System Treks layer') and an enumeration of exactly what comes back: WMTS endpoint, capabilities URL, tile URL template, tile matrix set, level-0 sample tile. An agent can immediately tell this is a URL-resolution tool rather than a layer listing or image search.

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

Usage Guidelines4/5

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

States the intended consumers (Leaflet, OpenLayers, QGIS) and an explicit next action: 'open sample_tile_url or load capabilities_url in a GIS.' The implicit dependency on nasa_trek_list_layers for the uuid lives only in the schema, and there are no when-not conditions, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.