Skip to main content
Glama

sample_points

Read-only

[Site data] Values of one dataset at up to 200 points: the value of the tile cell under each point, in the order sent, null where the dataset has none. Send lats and lons as two lists of the same length. Latitudes are planetocentric on every body but Earth, where they are geodetic (WGS84); longitudes are degrees east, -360 to 360 accepted, answered from -180 to 180. Values are in the dataset unit each answer names (meters above the height reference for a height dataset). A class layer's value is a class index; its names are in the answer's dataset.classes. One call reads at most 24 tiles, so a wide request is read at a coarser level and the answer says which level and cell size it used. The largest answer is about 4,000 characters, under the 30,000 characters a connector result is cut at. Each answer carries the source, license and citation: repeat them with any value you use.

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": {
      "dataset": "<dataset>",
      "lats": "<lats>",
      "lons": "<lons>"
    },
    "name": "sample_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
latsYesLatitudes in degrees, north positive, planetocentric (geodetic on Earth).
lonsYesEast longitudes in degrees, one per latitude.
levelNoThe tile level to read at exactly; the call is refused when that needs more tiles than one call reads. Omit it for the finest level that fits.
datasetYesA dataset id as data_catalog lists it, for example mars.height.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, yet the description discloses behavior that matters to an agent: planetocentric latitudes on all bodies except Earth (geodetic WGS84), longitudes accepted from -360 to 360 but answered -180 to 180, order-preserving output with nulls, class layers returning indices resolved through dataset.classes, and a 24-tile read cap that silently coarsens the level and reports the level and cell size used. It even bounds answer size (~4,000 characters, safely under the 30,000-character connector cut) and states the source, license and citation carry-through obligation.

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?

The description is a single front-loaded paragraph in which the core behavior (value per point, order preserved, nulls) comes first and constraints follow. It is dense but nearly every sentence carries operational information; the aside about the 30,000-character connector truncation limit is the one detail that could be trimmed without loss.

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

Completeness5/5

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

There is no output schema, so the description carries the full burden of describing return values, and it does: per-point values in dataset units, class indices with names in dataset.classes, the level and cell size actually used, and the accompanying source/license/citation. Combined with 100% schema coverage and a readOnly annotation, nothing an agent needs in order to call this tool correctly is missing.

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; the description exceeds it by adding meaning the schema lacks, notably that lats and lons must be the same length and pairing is by position, that missing data yields null, and that out-of-range east longitudes are normalized rather than rejected. It also clarifies the relationship between omitting level (finest level that fits, with coarser fallback) and passing it exactly, which the schema states only as a refusal condition.

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?

The description names a specific verb and resource: it returns the value of one dataset's tile cell under each of up to 200 points, in the order sent, with null where the dataset has no data. That is far more precise than a restated name. It never names a sibling (sample_grid, sample_profile, region_stats) or states how it differs from point-grid or profile sampling, so an agent must infer the boundary.

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: it points at data_catalog for dataset ids and explains what happens when a request spans too many tiles, which tells an agent the tool is for scattered point reads. There is no explicit when-to-use or when-not-to-use guidance and no routing to alternatives such as sample_grid for regular grids or sample_profile for along-track data.

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