Skip to main content
Glama

Läs terrängsektion

get_site_terrain_section
Read-onlyIdempotent

Read one grid sectionId or an overlapping bbox {min:[x,y],max:[x,y]} in metres. Exactly one selector is required. Bbox aligns outward to existing covering grid cells and returns the actual sample window; no heights are inferred or resampled. Grid z is x-first row-major in the saved height reference. Mesh sectionIds mesh-vertices-N or mesh-triangles-N return original global zero-based indices, start/count and nextSectionId; count optionally reduces the block (vertices <=256, triangles <=512). Mesh bbox/editing is unsupported. Complete response cap 64 KiB, including escaped text, structured content and request id; oversized reads return a smallerRequest suggestion without truncation.

Input Schema

NameRequiredDescriptionDefault
bboxNo
countNo
designIdYesdesignId from list_designs.
sectionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the readOnly/idempotent annotations: it discloses bbox outward alignment to covering cells, that no heights are inferred or resampled, the 64 KiB complete-response cap including escaped text and request id, and the smallerRequest fallback instead of truncation. These are exactly the behaviors an agent cannot learn from structured fields.

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?

Front-loaded with the selector rule, then behavior, then limits — a sensible order. The single dense block is efficient, though clauses like the enumeration of escaped text/structured content/request id could be tightened.

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?

No output schema exists, and the description covers return semantics for mesh reads (global zero-based indices, start/count, nextSectionId) and the sample window for bbox reads. The shape of a plain grid read response beyond z layout is only implied, a minor remaining gap.

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 only 25%, and the description compensates by explaining bbox units and alignment, sectionId mesh formats (mesh-vertices-N / mesh-triangles-N), and that count reduces the returned block with per-type limits. designId and the format of non-mesh grid sectionIds are left to the schema and inference.

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 (read) and resource (one terrain grid section), plus the two selector forms. The word 'one' plus the explicit selector rules make it distinguishable from the plural sibling get_site_terrain_sections without opening any schema.

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?

Gives a hard usage rule ('Exactly one selector is required') and an explicit exclusion ('Mesh bbox/editing is unsupported'). It stops short of naming the plural sibling as the alternative for multi-section reads, so routing between the two is left to inference.

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