Skip to main content
Glama

Föreslå terrängfönster

edit_site_terrain_section
Destructive

Propose replacing grid heights in one sample window using the exact baseRevision and opaque surfaceId returned by a section read. z is metre heights in the same saved reference, x first then y; send exactly nx*ny values. Unchanged canonical fractions inside and outside the window remain exact; layout, datum, source, contours and spot heights stay unchanged. A changed serpentine-v2 reference materializes an owned compact grid, leaving the immutable asset and other designs intact; a missing legacy source is normalized to its existing measured default. Meshes/serpentine-v1 remain read-only and require an explicit whole-surface replacement. Stale reads are rejected, nothing applies until the user approves, and approval still fences the complete design revision.

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": {
      "designId": "<designId>",
      "baseRevision": "<baseRevision>",
      "surfaceId": "<surfaceId>",
      "window": "<window>",
      "z": "<z>"
    },
    "name": "edit_site_terrain_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
zYes
windowYesZero-based sample column/row and sample counts, not cell counts. Heights are x first within each row.
summaryNo
designIdYesdesignId from list_designs.
surfaceIdYes
baseRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (which only flag destructive and non-idempotent), it discloses that stale reads are rejected, that nothing applies until user approval, and that approval fences the complete design revision. It also explains the asymmetric outcomes: exact canonical fractions preserved, unchanged layout/datum/source/contours, a changed serpentine-v2 reference materializing an owned compact grid while leaving the immutable asset intact, and missing legacy sources normalizing to a measured default.

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 core action and the ordering/value-count constraint in the first two sentences. The remainder is dense but each clause carries distinct behavioral information; the single long final sentence could be broken up for scanability.

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 destructive six-parameter mutation with no output schema and nested window object, the description covers preconditions, failure modes, immutability guarantees, and the approval gate. It does not say what the call returns (presumably a proposal identifier for use with proposal-status tooling), which is the 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 33%, but the description compensates substantially: z is metre heights in the same saved reference, ordered x first then y, with exactly nx*ny values, and baseRevision/surfaceId must come from a prior section read. It adds no meaning for summary or designId beyond the schema, leaving a small gap.

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: proposing replacement of grid heights within one sample window, as opposed to the whole surface. It implicitly distinguishes itself from the section read tool ('returned by a section read') and from whole-surface replacement, but never names those siblings directly, so differentiation relies on inference.

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?

It states a hard prerequisite (use the exact baseRevision and opaque surfaceId from a section read) and a clear exclusion: meshes and serpentine-v1 are read-only and require an explicit whole-surface replacement instead. That is real when-to-use and when-not guidance, though it does not name the sibling tools to route to.

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